19 Jun 2013, 15:22
Bernardsquare_pragsmall

Bernard Farrell (13 posts)

We’re running a series of tests that appear to take a long time between steps. Is there a way to make the tests run faster? I don’t want to pepper the script with delay(0.2), etc.

Just looking for general ideas about improving the overall performance.

02 Jul 2013, 12:54
Avatar_pragsmall

Jonathan Penn (43 posts)

Are you checking for elements that are gone? If the reason for the delays is because of the normal UI Automation timeout, then you can just change the timeout to be shorter:

target.pushTimeout(0.2);
// Do a bunch of steps
target.popTimeout();

Or just leave the @popTimeout()@ call out all together. Can you give any more details or post snippets of code?

  You must be logged in to comment