In order to define a new Mobile Locator, follow the steps below:
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.
This will open up the New Mobile Locator tab
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
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.
...
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.