![]() |
Webradiogroup - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Webradiogroup (/Thread-Webradiogroup--6928) |
Webradiogroup - silpavinod - 10-22-2012 I am having two radiobuttons 1. yes 2. No When i spy these two radio buttons are in a webtable and they are showing as webradiogroup By using child objects method i got the count of webradiogroup as 1 Issue is how to click on yes or no .....Based on want i need to click.. Help me ASAP RE: Webradiogroup - harishshenoy - 10-22-2012 use select statement to select the web radio button in a web radio group. like: Code: Browser().page().webradiogroup("something").select "#0" Code: Browser().page().webradiogroup("something").select "#1" Thanks, Harish RE: Webradiogroup - silpavinod - 10-23-2012 Thanks harish.. its working ![]() Hi harish, can i parameterize this 0 and 1...if yes how? I passed #0 frm datatable ... it is working fine... can i pass only 0 with out #... ? here # means? just it will take as number 0 and number 1...? RE: Webradiogroup - harishshenoy - 10-23-2012 try the below to parameterize : Code: a = 0 ' Assign your data table values here # - is needed while selecting a radio button in a radio group. Radio buttons comes in radio group because u can select only one radio button at a time. So QTP identifies it as a group. Thanks, Harish Shenoy |