Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space SELDEV and version 2024.1

...

If your tests execute Cucumber feature files, you can click the Go to Step Definition icon to open the file containing the step definitions. 

Anchor
Manual
Manual
Manual Updates

  1. Click the View Recommended Locators link in the Selenic Recommendations view to access the recommended locators. Refer to About Locator Recommendations for information about understanding locators.
  2. Choose the locator you want to use and copy it to your clipboard. 

  3. If your test follows the page object model, you can close the overlay and click the Go to Locator icon. If your test does not follow the page object model, click the Go to Method icon to open the test method identified by the locator in the test file.
  4. When the page or test file opens, you can paste the recommended locator into the file to update it. If your test does not follow the page object model, you will need to manually locate the bad locator within the test method in order to make the update. 

Quick-fix Updates

This method is only available if your test follows the page object model. If it does not, use the Manual Updates method.

Click the the Update Locator link in the Selenic Recommendations view to access the recommended locators. You can choose the best locator for your test and click Update to instantly update the test. Refer to About Locator Recommendations for information about understanding locators. 

...