Solved
Forum Discussion
TanyaYatskovska
Alumni
7 years agoHi DKumar04 ,
Using variables is the only way for this, as Robert said.
The pseudocode will look like this:
//JScript var process = Sys.Process(your tested app) var mainWindow = process.Window.Window var leftPanel = mainWindow.Object.Object.Panel var button = leftPanel.Object.Button
Could you please clarify what your use case? Perhaps, we can suggest something else.
- DKumar047 years agoContributor
expecting something like 'relative xpath' as we use in selenium automation.
- TanyaYatskovska7 years ago
Alumni
Thanks for clarifying your request, DKumar04.
In this case, the following article should help you:
- TanyaYatskovska7 years ago
Alumni
Hi DKumar04,
Do the replies you got here help you resolve your question? What solution did you decide to use?