lokithorshield
10 years agoContributor
Click not working
Hi all, Urgent help needed. I am trying to do a Click() Action on an object. While manual click does work on this button [Exports a excel to desktop of all table items - list of historical recor...
- 10 years ago
Hi,
You need to call the Click method from the Export object. Currently, you are calling it from the contentText property. Here is the modified code:
var snf= page.NativeWebObject.Find("title", "Export"); if (snf.Exists) { var s1 = snf.contentText;// [ LogMessage s1 dislpays = Export] snf.Click(); }
Does it help?
- 10 years ago
Hi, yes - sorry my mistake - I did click an object - instead text. its good now