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

WaitforExists not continue when found

1 Answer 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 22 Nov 2019, 11:09 AM

Due to having to await a 2nd URL to load, I am being forced to add a 60 second WaitforExists against an element.  The variable against the step are;

CheckInterval; 500

Exists; ticked

IsWaitOnly; ticked

Pause; None

StepTyoe; Wait

SupportsWait; ticked

Timeout; 60000

However, although there is a CheckInterval, the 'continue' for the task is not kicking in until after the full 60 seconds has elapsed.

Is there something I am missing, or should I try a different 'wait' command?

1 Answer, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 22 Nov 2019, 11:55 AM

Hi Tim,

It seems to me that the configuration you currently have should be working as expected. I recorded a sample test against https://www.bing.com and basically searched for something and used a WaitForExists step with the default (same properties as yours). Once the page was fully loaded, the test runner found the element in the DOM tree and the step passed. This leads me to believe that this behavior might be specific to the application under test and if the page is fully loaded in the Timeout time.

I would like to investigate the issue further and assist you. To do that, I need you help to gain access to the application under test. Please also share a sample Test Studio project, that simulates the issue. I will analyze it and debug it on my end.

In the meantime, you can try that step and properties against a publicly accessible application, like I did. Please let me know what is the behavior in that case.

Thank you for your cooperation in advance.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Share this question
or