Rajesh2
8 years agoContributor
How to click after finding an object
Hi All, I need to perform some action after finding an object using Find, FindAll or FindChildren methods. Can anyone please explain how to go about this? Like click on the object after ...
- 8 years ago
clkLogin=Login.FindAllChildren("WinFormsControlName","buttonOK",20)
FindAllChildren() will return an array of objects.
Click() method can be performed only on single object.
You need to use Find() or FindChild() method or select appropriate object from the returned array.