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

First is running but second time is not running

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dileep
Top achievements
Rank 1
dileep asked on 28 Jun 2010, 09:46 AM
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 

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 28 Jun 2010, 06:44 PM
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
Tags
General Discussions
Asked by
dileep
Top achievements
Rank 1
Answers by
Missing User
Share this question
or