Forum Discussion
A screenshot of the object does not help in the diagnosis. Somethings needed:
1) Copy/Paste of the code that you are executing or screenshot of the Keyword test that you are attempting to execute
2) Any NameMapping configurations for indentifying the object
3) Object Browser and/or Object Spy screenshots showing how the object appears within TestComplete.
- aleksmatlashev5 years agoNew Contributor
var brokerDropDown = Sys.Process("ForexTester3").VCLObject("DataCenterFrm").VCLObject("Panel1").VCLObject("HistoryBox").VCLObject("BrokerBox"); brokerDropDown.DropDown(); brokerDropDown.ClickItem(3);
This is my code. I tried to use a lot of variants. I also attach screen of object properties
http://prntscr.com/nry8el- tristaanogre5 years agoEsteemed Contributor
OK, technically, I don't think you need to call DropDown() first. ClickItem will do the drop down call and click on the item... in your case, it will click on the 4th item down the list (index 3).
So, your code looks, generally, OK. So, when you run it, what do you get? Do you get errors? If so, what errors?- aleksmatlashev5 years agoNew Contributor
In all cases I get this error
The drop-down box cannot be opened
Related Content
- 8 months agoMehwishDaud
- 12 months agolokwk216
- 5 years agom_essaid
Recent Discussions
- 2 days agovladd1