Steer platform-specific hardware buttons

With the Mobile Engine 3.0, you can steer the following platform-specific hardware buttons:

  • iOS Home button

  • Android Home button

  • App Selection button on Android

  • Back button on Android

Use the Module ME 3.0 Hardware Button Operations to steer these buttons.

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

Steer buttons

To steer platform-specific buttons, 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 ME 3.0 Hardware Button Operations Module onto your TestCase.

  4. From the drop-down list of the XTestStepValues in ModuleAttribute Button, select the button you want to steer.

  5. Set the ActionMode to Select.

In this example, you press the Back button on Android.

ME 3.0 Hardware Button Operations Module in a TestCase