I have a dropdown from where I need to select all the values one by one. I dont know what values may come and I want to select them through there reference number
I tried this approach
For i=1 to CountedItems
It did not work. It shows the error message that unable to perform ClickItem Operation
Thanks in Advance
What is the object that "ClickItem" is associated with? I'm assuming that's not your entire code.
What I was expecting to see was something like
DropDownObj := Sys.Process('MyApp').DropDownBox
CountedItems = DropDownObj.Count;
For I = 1 to CountedItems
ClickItem is not a standalone method, its a method associated with the object being clicked.
Other than that, what you have looks fine. Can you provide more detail as to what sort of component it is, etc?
Automated Testing Evangelists
Definition expert - noun - Unknown drip under pressure