In order to define a new Mobile Locator, follow the steps below:
Click on + icon while on the Mobile Locators tab. You You can also select Folder to create a folder to organize your mobile locators by clicking on New Folder icon and entering a name for your folder.
. 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.), Type (another editable drop-down), and Alias for the locator you are defining along with only one unique identifier. This identifier can be the ID, Name, Partial Text, or XPath of the widget. If more than one of these values is specified, Subject7 will use the first one that it finds based on the order mentioned above and will ignore the rest.
Click the Save button to save your locator. Once saved, your newly defined locator will show up in the locator listing on the Mobile Locators screen.