Click on a screen position

With the Mobile Engine 3.0, you can perform a click (a tap gesture) on a certain point of the mobile device screen.

Use the Module Click On Screen to specify the location of the tap gesture.

This Module is part of the Standard subset. You can find it under Standard modules->TBox XEngines->Mobile.

Click on browser screen positions

You can also click on a screen position in Internet Explorer, Chrome, or Firefox, both desktop and mobile versions. To do so, use the ClickOnScreen Module of the XBrowser Engine 3.0 (see chapter "Click on a browser screen position").

Perform the tap gesture

To perform a tap gesture on a mobile device screen, follow the steps below:

  1. Specify the test configuration parameters to establish a connection with the device.

  2. Add either the Open Mobile App TestStep or the OpenUrl TestStep as a first TestStep in the execution.

  3. Drag and drop the Click on Screen Module onto your TestCase.

  4. Specify the XTestStepValues for ModuleAttributes X and Y.

  5. Set the ActionMode to Select.

In this example, you perform a tap gesture at 10% of the x-coordinate and at 50% of the y-coordinate from the top left corner of the screen.

Click on Screen Module in a TestCase