• 3 replies
  • Latest Post - ‏2013-09-16T21:34:49Z by Y5QY_gerben_delange
7 Posts

Pinned topic get GUI Elements from new Window

‏2013-09-12T11:56:25Z | elements gui java new window


i don't want playback a recorded script. instead i want do it programmatically.

My test project is the ClassicCD app.

i have no issues to find the elements from the starting screen (order button, tree structure,...).

so now my problem: when i click the order button a new window is shown, how can i access that window to get all elements on it?

getRootTestObject().find(atDescendant("label", "OK"));

doesn't work, i can't access the new window with getRootTestObject.

thank you, regards, michael

Updated on 2013-09-12T12:08:22Z at 2013-09-12T12:08:22Z by michho