Create a Mobile Locator

In order to define a new Mobile Locator, follow the steps below:

  1. Click + 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.

     

     

  2. This will open up the New Mobile Locator tab

     

     

  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

     

     

  4. 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.

     

     

  5. 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.