Page 1 of 1

Handling varying response times

Posted: Tue Aug 20, 2019 2:22 pm
by qa-auto
Hi,

Any tips on handling varying response times to avoid setting long Delays and WaitFors? I'm aware of the per item property timeouts and the effective timeout. Once I think I have the timing, it produces a failure.

Thanks,
Still new =)

Re: Handling varying response times

Posted: Tue Aug 20, 2019 2:32 pm
by odklizec
Hi,

In my opinion, WaitFor action is the best approach in case of variable response times. You can also extend some xpaths in repository, with @visible='true' attribute. This may help with waiting for complete appearance of certain elements.

As for Delays, these are least effective solution. You should also not manipulate repo timeouts. At least I never found a good reason to change repo search times.

Re: Handling varying response times

Posted: Tue Aug 20, 2019 2:52 pm
by qa-auto
Thanks for the tips. I'll make some adjustments.