3 Answers, 1 is accepted
0
Hi Snehal,
I'd like to reproduce this issue. Please record a test against a publicly accessible URL (e.g. Google). Make sure the test exhibits this behavior. Then send me the test along along with info about the failing step.
I will try to analyze the issue
Hope to hear from you soon!
Greetings,
I'd like to reproduce this issue. Please record a test against a publicly accessible URL (e.g. Google). Make sure the test exhibits this behavior. Then send me the test along along with info about the failing step.
I will try to analyze the issue
Hope to hear from you soon!
Greetings,
Stoich
the Telerik team
0
Pravallika
Top achievements
Rank 1
answered on 04 Feb 2015, 10:36 AM
I'm also facing the same issue. Attached are the two images for the test and coded steps.
When i record and set the time more than 30 seconds and convert the test step into code, the value is set to 30000 by default.
Even if I change the time in coded step, telerik recorder doesnot seem to wait for the expected time interval during runtime..
Please suggest an alternative for explicit wait.
When i record and set the time more than 30 seconds and convert the test step into code, the value is set to 30000 by default.
Even if I change the time in coded step, telerik recorder doesnot seem to wait for the expected time interval during runtime..
Please suggest an alternative for explicit wait.
0
Hi Pravallika,
This is done by design. When using an UI step it works like expected, however when using code for example:
Pages.Bing.BingDiv.Wait.ForExists/Visible(30000);
It will not reach the WaitForExist/Visible method at all, ti will fail at the BingDiv part with element not found. Since it fails with element not found in this case the global Wait On Elements will apply not the Wait.ForExists();
Refer to the screenshot attached.
In order to achieve this you should find the element in code and wait for it.
Hope this helps.
Regards,
Boyan Boev
Telerik
This is done by design. When using an UI step it works like expected, however when using code for example:
Pages.Bing.BingDiv.Wait.ForExists/Visible(30000);
It will not reach the WaitForExist/Visible method at all, ti will fail at the BingDiv part with element not found. Since it fails with element not found in this case the global Wait On Elements will apply not the Wait.ForExists();
Refer to the screenshot attached.
In order to achieve this you should find the element in code and wait for it.
Hope this helps.
Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings