![]() |
|
Identifying radio buttons with same html ID but dynamic webelement properties - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Identifying radio buttons with same html ID but dynamic webelement properties (/Thread-Identifying-radio-buttons-with-same-html-ID-but-dynamic-webelement-properties) Pages:
1
2
|
RE: Identifying radio buttons with same html ID but dynamic webelement properties - manishac - 05-01-2012 Hi Sankalp, Can you look at my query above when you get a chance please? Regards Manisha RE: Identifying radio buttons with same html ID but dynamic webelement properties - sshukla12 - 05-02-2012 Hi Manisha, Can you post the code u might have written? Regards, Sankalp RE: Identifying radio buttons with same html ID but dynamic webelement properties - manishac - 05-03-2012 Hi Sankalp, I tried the following method to get it to work, the page has a webtable named questions and I used a checkpoint to see the position of questions and radio buttons. Code: Questionloc = browser("Welcome").Page("Welcome").WebTable("Questions").RowCountHi Sankalp, I tried the following method to get it to work, the page has a webtable named questions and I used a checkpoint to see the position of questions and radio buttons. Code: Questionloc = browser("Welcome").Page("Welcome").WebTable("Questions").RowCountIs there a way to get a count of the number of items of webradiogroup class in a cell given a webtable and then check the outertext of the label and say if it is yes then select it. My aim is to select Yes for all the webradiobuttons on the page because the questions do not matter. Can you please help out with this if you have some ideas? Thanks Manisha |