Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

XPath Creation

When creating xpath, and some other locators, you have a wide variety of possible ways to create these. Some of them are automatically created from Selenium IDE plugin, FirePath plugin and of course to do it manually. Which ever method you use does not always matter, but what you want is a result which is as specific as possible. This usually means finding something unique in the HTML code which is linked to whatever you want to do on the webpage.

Selenium IDE:

Creating an locator with the built in Selenium IDE functionality. There are two basic ways to get xpaths from Selenium IDE. The First us to start the recorder and simply click whichever object you want to record.

...