Hi,
I am trying to get all the items in an array for a radio button object.
Consider a radion button has two items 'item1' and 'item2'
I am using the below code.
LIST OF WINDOW lBrowser = Desktop.FindAll("//BrowserApplication")
WINDOW wRadio = wBrowser1.Find("//input[@id='radiobutton1']")
LIST cItems = wRadio.RadioListItems
Print(cItems[1])
Print(cItems[2])
When I execute the code instead of the actual item it is printed as '1' and '2'. I just want to print 'item1' and 'item2'
Can anyone please clarify.
Thanks.