Script Failing

2 posts, 0 answers
  1. Reddy
    Reddy avatar
    23 posts
    Member since:
    Jul 2012

    Posted 17 Oct 2012 Link to this post

    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.
  2. Byron
    Admin
    Byron avatar
    184 posts

    Posted 22 Oct 2012 Link to this post

    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
Back to Top