My app has the ability to 'load' a deal. After it's loaded, a new frame renders with the deal's information.
I'm having trouble targeting this frame with Marathon. I am able to target other parts of the app, but if I control-click on the new frame, I get with_frame(":1")
in my scripts. When I try to replay, Marathon cannot identify the frame, and hangs.
I surmise it has something to do with a name
or id
attribute on the panel, though I don't know much about Java. Could someone point me in the right direction?
@DanielDiazCarrete was correct, I added
this.setTitle("SomeTitle");
to my frame, and Marathon was able to identify it.