Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
select radio button based on UI text
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi Ankur,
If you look at the attachment you will notice that the "ANNUITANT Driven - Affirm Standard Usage Product" is located at the 2 row in the first screen shot and at the 4 row in the second screen shot there by changing the property value.
In order to select the radio button corresponding to my UI text,my understanding is that I have to get the row and column number based on the UI text (i.e ANNUITANT Driven - Affirm Standard Usage Product) in my case and then select the radio button coresponding to that row. If this is the right way then please let me know how to write the code for this ?

Following is the line that was added to the expert view for the first screen shot:

Code:
Browser("Login").Page("Environment : BATEST_3").WebRadioGroup("WebRadioGroup").Select "ADMServerPanel1$ctl03$ctl05$ctl05$SearchResultsGrid$ctl02$RadioProdSelect"

Following is the line added to the expert view for the second screen shot and for the same object that I want to select :

Code:
Browser("Login").Page("Environment : BATEST_3").WebRadioGroup("WebRadioGroup").Select "ADMServerPanel1$ctl03$ctl05$ctl05$SearchResultsGrid$ctl04$RadioProdSelect"

Thank you,
Sri


Attached Files
.zip   producttab.zip (Size: 64.79 KB / Downloads: 152)
Reply


Messages In This Thread
select radio button based on UI text - by Sri - 01-23-2008, 04:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Radio Button vinod123 8 10,648 09-25-2014, 12:12 PM
Last Post: vinod123
  Radio Group problem vinod123 4 5,856 09-25-2014, 12:10 PM
Last Post: vinod123
  Unable to select Multiple OracleTextFields by Holding Ctrl Button Raghava M 0 1,881 07-04-2014, 01:40 PM
Last Post: Raghava M
  Read text from text file and save it into a variable in qtp arpan 3 13,059 06-19-2013, 08:34 PM
Last Post: arpan
  Need to compare two text files - ignoring some text nelly27281 2 4,621 09-09-2012, 12:09 PM
Last Post: freeboynil

Forum Jump:


Users browsing this thread: 1 Guest(s)