Subject: [QF-Test] Going from quick to slow computer
From: Mårten Carlzon <marten.carlzon@?.se>
Date: Tue, 1 Oct 2013 12:22:11 +0000
I have two questions I was wondering if I could get some help with.
I have done recordings on a computer and a couple of tests that runs smoothly but when I try to move my tests over to my server that is rather slow I get some errors because of holdup and the like and I was wondering
about the best practice to get past these errors?
The errors seems to surface because either the window is behind a pause screen or QFTest tried to click to quickly on a button so that it haven’t really activated yet.
I have tried with making a while loop where I try and try again until I succeeds doesn’t seem like the best option. Therefor I was wondering if there was a better method to somehow compensate for moving to a slower computer
and notice the pause glass pane and not letting QFTest run away with clicking to fast?
And this brings me to my second question. Since I do my recording on my own working computer and try to execute them on the test server, is there a way to make delays on the recording? I know I can go through every mouse
click and add a delay for a few milliseconds but was wondering if there was a way to add these delays while recording?