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

Script Failing

1 Answer 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Reddy
Top achievements
Rank 1
Reddy asked on 17 Oct 2012, 07:05 PM
I created a script that uses databinding. When i am trying to run the script, the script passes sometimes, but there are times it fails for no apparent reason. It looks as if the element was not found by the script only in a certain iteration.

For example, if i have 5 iterations for the same script, 4 of them might pass but one of them would fail. I am not able to figure out why that is happening.

1 Answer, 1 is accepted

Sort by
0
Byron
Telerik team
answered on 22 Oct 2012, 07:22 PM
Hi Nithin,

Does the step use a data driven find expression? If so, you may need to alter the find logic in your data source. If not, this issue is likely caused by timing. You may experience intermittent find element timeouts when page load times vary across test executions or iterations. Because non-coded steps incorporate a built-in wait condition for the target element, ensure your test steps use ample timeouts. Please let us know if we can assist you further.

Kind regards,
Byron
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
Tags
General Discussions
Asked by
Reddy
Top achievements
Rank 1
Answers by
Byron
Telerik team
Share this question
or