This is a migrated thread and some comments may be shown as answers.

UseStepWaitOnElements default setting?

2 Answers 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Briar
Top achievements
Rank 1
Briar asked on 01 Mar 2016, 03:00 PM

Is there a way to set a default value for the UserStepWaitOnElements flag?  I have looked for this but did not find a way.  

With running our tests on an execution server, I've found it necessary to have this flag checked on every step, otherwise the test executes too quickly and fails because the associated actions are not completed as quickly.  I prefer to do this, rather than using execution delays.

If no default setting is available, could this be considered as for a new feature?  

 

Thanks,

Briar

2 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 03 Mar 2016, 07:49 AM
Hi Briar,

I assume you are asking about the UseStepWaitOnElementsTimeout property of action steps, is that the correct one? If so this is about using the particular step timeout rather than the global one, which could default to some value that doesn't work for you. That actually depends on the actual type of execution for example quick execution or test list execution, however it generally defaults to 30 seconds unless you manually change it.

I believe increasing that timeout as general will do the job for you since it works as real wait rather than "sleep" (so that execution goes on as soon as the step elements are identified). Please check this documentation article regarding updating test list settings - the one you need is ElementWaitTimeout from the General settings section. We also expose this important setting on quick execution, the setting is available as Wait On Elements in the test Ribbon.

Please let us know if this helps or if you need further assistance.

Regards,
Konstantin Petkov
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Briar
Top achievements
Rank 1
answered on 03 Mar 2016, 01:39 PM
Konstantin,  your quick reply is appreciated.  I was under the misunderstanding that the ElementWaitTimeout was dependent on the UseStepWaitOnElements being enabled.  Thanks for the clarification!
Tags
General Discussions
Asked by
Briar
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Briar
Top achievements
Rank 1
Share this question
or