Element Locator

Understanding how to properly use Locators is key to building your automation scripts. After all, if you’re unable to “find” the UI element, you cannot control it (such as tapping a button).

In Mobile Automation Testing automating any scenario follows these 2 steps:

  • Find the UI element locators (uniquely): Click search button(Element Locator) on Recorder window. Select your locator strategy for element (Id, Xpath,.. ) and write your selector string, click Search button.

  • Perform an action on that element: Select the right element and could send commands to verify the action. Check if the found element is the correct element