mfoster711
9 years agoRegular Contributor
Check PopupMenu exists
How do I check if a popup menu exists before I try to interact with it?
The following code works as long as the PopupMenu exists. If it doesn't, I get a run time error on the second line.
CurrField.Click x,y Call CurrField.PopupMenu.Click("Sort|Descending")
I tried adding a check for CurrField.PopupMenu.Exists or CurrField.PopupMenu = Null and both of these cause run time errors also.
No. You can keep your .apk file anywhere, only requirement - it should be accessible from your TC machine.