It can be done wth help of index. Not sure how we can use value here.

Regards,
Uttmesh shukla
 On Aug 22, 2013 12:16 AM, "Anish Pillai" <[email protected]>
wrote:

> Rashmi,
>
> QTP doesnt consider the object as many separate radio button objects.. It
> considers the set of all the buttons as a "Radio Button Group'. This is why
> when you try to select a different radio button, it points back to the same
> one..
>
> Selecting the particular radio button from the group can be done based
> upon the index or its value...
>
>
> *
> cheers,
>  a n i s h
>
> [QTP Framework 
> Tutorials]<http://www.automationrepository.com/2012/03/qtp-framework-types-an-introduction/>|
>  [QTP
> Blogs] <http://www.automationrepository.com/qtp-blogs/>
>
> **
> [Subscribe to get new posts in your 
> Inbox]<http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds>
> *
>
>
> On Wed, Aug 21, 2013 at 11:38 AM, uma mahesh <[email protected]>wrote:
>
>> Try to use index for radiogroup like
>>
>> b(b).p(p).webradiogroup("name").set "#1"
>>
>> Regards
>> Uma Mahesh
>>
>>
>> On Tue, Aug 20, 2013 at 6:23 PM, suman ch <[email protected]> wrote:
>>
>>> 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.
>>>
>>
>>  --
>> --
>> 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.
>>
>
>
>
> --
> Regards,
> Anish Pillai
> My QTP Blog <http://automationrepository.blogspot.com>
>
> --
> --
> 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.

Reply via email to