First is running but second time is not running

2 posts, 0 answers
  1. dileep
    dileep avatar
    9 posts
    Member since:
    Jun 2010

    Posted 28 Jun 2010 Link to this post

    Hello Nelson,
    iam ankamma iam using telerik with vsts .I am using record and play back the script .When iam first time running the script
    it is working properly but second time it is giving error the excetion is override the link plez tell me what the reson for this.


    Regards
    Ankamma 
  2. Missing user
    Missing user avatar

    Posted 28 Jun 2010 Link to this post

    Hi Ankamma,

    Thanks for the post and question. If you could please reply back with the exact error message you are getting when the test fails.

    Also, does the test fail every time you run it after the first test run? If the test fails every time after the first test run, please let us know along with posting the exact error.

    If the test passes and fails at times, then it might be a timing issue. Please try adding a Delay Step or increasing the step's WaitOnElementsTimeout property in the Visual Studio Properties Window.

    But from what I understand of the error you posted, it maybe that the recorded link is not the same on test playback since it maybe generated with a different query string.

    If so, please try changing the Find Param for the link to a partial find. You can do this using the 'Contains' property for the link address, remove any query string that is recorded, and use as much of the Url that will be constant for the link for all test runs. 

    Changing the Find Param explained in the 'Changing how an Element is found' topic in the Quick Start Guide.

    Regards,
    Nelson Sin
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top