Hi,
I'm Using WPF for QTP Automation. My query is that I have to Create a Function to Validate Radio button.
I Will pass Radio button Index and Text Properties. Based on the input Index and Text Properties My function should select the appropriate Radio button.
Please help
Ex: Funciton ValidateRadioButton(ByVal Index,ByVal Text)
{.........
...............}
Call ValidateRadioButton(1,RadioButtonBus)
Hello Thiru,
Thank you for contacting Infragistics. Are you using a specific Infragistics component for WPF; because we do not include a stand-alone Radio Button component. Please clarify whether or not you are using any components directly from our WPF toolset.
In QTP's VBscript there are two types of branching to conditionally check for Checked and Name properties.
1. If..Then Statements2. Select Case Statements
I strongly recommend reviewing the following how-to-site online for more assistance:eg. http://www.softwaretestingmaterial.com/conditional-statements-vbscript/
Let me know if you have any questions.