04-25-2009, 02:45 PM
You can try this piece of code:
I had a similar problem and these steps resolved it.
Capture the WebTable in your Object repo.Then Use child Objects method and retrieve the dynamic value of the radio button.
In the last step , i have mentioned <#0> , meaning select first radio button.You can specify as you need .
set
I had a similar problem and these steps resolved it.
Capture the WebTable in your Object repo.Then Use child Objects method and retrieve the dynamic value of the radio button.
In the last step , i have mentioned <#0> , meaning select first radio button.You can specify as you need .
set
Code:
WebRadioGroupname=Browser("Browsername").Page("Pagename").WebTable("Tablename").ChildItem(<RowCount><Column Count>,"WebRadioGroup",<Index>)
ab= WebRadioGroupname.GetRoProperty("name")
Browser("Browsername").Page("Pagename").WebRadioGroup("RadioGrpLogicalNameFromObjectRepo").SetTOProperty "name",ab
Browser("Browsername").Page("Pagename").WebRadioGroup("RadioGrpLogicalNameFromObjectRepo").Select "#0"