Make sure when you are handling Radio Buttons they are not having
their button ids for selection. If its the case then
you might need to fetch the id of the radio button 1st then (by
locating radio button on screen with the help of some label or any
corresponding identifier in same row) & then use Anish's code:
To access any other object we use
objRBtn = Browser().Page().ChildItem(row, col, micclass, index) '//
here index is for cell item index in which radio button is located //
RtbnVal = objRBtn.getroproperty("value")
Browser().Page().WebRadioButton(objRBtn).Select RbtnVal
then by fetching value you can further pass on in following way:
On May 21, 10:04 pm, Anish Pillai <
anish.pillai10...@gmail.com> wrote:
> One important point to note here is the difference between how you access a
> WebRadioButton and other objects (textbox, check box, link etc) in a
> WebTable.
>
> To access a WebRadioGroup we use *Browser().Page().WebRadioGroup()....*
> i.e. WebTable is not used here.
>
> To access any other object we use *Browser().Page().ChildItem(row, col,
> micclass, link)..... *i.e. the object is accessed as ChildItem of the
> Webtable.
>
> *
> Cheers,
> a n i s h
>
> [QTP Tutorial]<
http://www.automationrepository.com/tutorials-for-qtp-beginners/>|
> [VBScript
> Tutorial]<
http://www.automationrepository.com/category/qtp-and-vbscript-tutorials/>|
> [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...>
> *
> --
> ar