Versions Compared

Key

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

...

  1. Click + Add while on Mobile Locators tab. You can select Folder to create a folder to organize your mobile locators. To create a new locator, select Locator.

    image-20240524-171027.pngImage Removedimage-20240619-161342.pngImage Added

  2. This will open up the New Mobile Locator tab

    image-20240524-171059.pngImage Removedimage-20240619-161422.pngImage Added

  3. Advanced View of New Locator will switch to editor mode where you can copy the content of the locator and then Grid View takes you back to the above view of new Locator definition

    image-20240524-171112.pngImage Removedimage-20240619-161446.pngImage Added

On the window in Step 2, specify the Page which is an editable drop-down (best practice is to use application name followed by “_” and followed by page name, for example myApp_login, myApp_search, etc.) and Alias for the locator you are defining along with only one unique identifier. This identifier can be the ID, Name or Partial Text. You can also choose XPath instead of Identifier.

...

.

...

  1. By default, Common option is enabled where the Identifier or XPath is the same across platforms, but you can switch to “Platform-specific” to enter values unique to iOS and Android.

    image-20240619-162004.pngImage Added

  2. Click the Save & Close button to save your locator. Once saved, your newly defined locator will show up in the locator listing on the Mobile Locators screen.