Forum Discussion
sanjay0288
8 years agoFrequent Contributor
Hi,
You can use object.ClickItem(<drop down item name>) to select the dropdown option.
Sample code is given below as reference
def DropDown():
objBrowser = Sys.Browser("iexplore")
objBrowser.ToUrl("http://support.smartbear.com/message/?prod=TestComplete")
page = objBrowser.Page("*https:*")
cBox = page.FindChild("Name", "Select(""lstAnswer"")", 100)
cBox.ClickItem("None of the above")
Hope this might be of help.
Regards,
Sanjay
Related Content
- 10 months agolodecesa