Solved
Forum Discussion
5 Replies
- Marsha_R
Champion Level 3
If you record a test and click on that close button, what object name comes up for that in the test?
- krkarthik_infoFrequent Contributor
Hi,
While recording and performing click on that close button in the ContentPane, the following statement appears in the recorded script.
ContentPaneObject.Click(num, num);
where num are some random x-axis and y-axis values. This num will keep varying depends on the system screen resolution.
Thanks,
Karthik K R
- tristaanogreEsteemed Contributor
An alternative: Is there a Keystroke combination (ESC, Ctrl-X, etc) that will close the pane? Rather than trying to use the mouse for it, see if you can simulate the close using a Keys command sent to the pane. Functionally speaking, there shouldn't be any difference.