When I change a locator's XPath, subsequent test steps are using the old XPath?

If a locator's definition is changed, this change is not automatically applied to all of the steps in the open test case.

The user must reload the test in order to get the latest version of the updated locator. This is done by clicking the refresh icon next to Save.

mceclip0.png

If the test case is not saved and Refresh is clicked, the user will be prompted to confirm or unsaved changes will be lost. Here, the user can click No to save the test case, then refresh the changes made to the locator(s).

mceclip1.png

If the test case is already saved and Refresh is clicked, the user will be asked to save the test case parameters (variables, etc). If No is clicked, the parameters will be removed.

mceclip2.png

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.