Hi,
You can get the selected item by using GetROProperty("selected item
index"). Get all the items using GetROProperty("all items"). Then u can
select the required item by providing the Index.
Regards,
Suman Ch
On Sat, Aug 17, 2013 at 2:14 PM, udayanem <[email protected]> wrote:
> Hi Rash,
>
> For Radio buttons, generally they are grouped and given one name.
> Ex: Select Gender: o Male
> o Female
>
> Here Male and Female are grouped under Select Gender object.
>
> So the right way of using is.
>
> B().p().webradiogroup().select "Male" 'for selecting Male
> B().p().webradiogroup().select "Female" ' for selecting Female
>
> If it doesnt solve your problem, can you please post the image of the Spy
> and the code snippet you tried.
>
> Thanks,
> Uday
> QTP \ UFT Videos <http://www.youtube.com/user/AnemUday/videos>
>
>
>
> On Saturday, 17 August 2013 04:17:00 UTC+5:30, Rash wrote:
>>
>> In the application for some option there is binary answer – Yes, NO with
>> Raido buttons.
>>
>> Scenario:
>> When the user navigates to the screen, by default one of the RB will be
>> selected. UFT can identify this RB which is default-selected. But fails to
>> identify the one which is not selected. Even the SPY will not work on it.
>> If tried to click on non-selected RB, it will fetch the property of the RB
>> which is selected.
>>
>> Please let me know how to make UFT to click on the non-selected RB.
>>
>> Thanks!
>>
> --
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.