Take screenshots of mobile applications

With the Mobile Engine 3.0, you can take screenshots of your mobile application via the TBox Take Screenshot Module.

You can find the Module in the Standard subset under Standard modules->TBox Automation Tools->Basic Windows Operations. For detailed information on this Module, see chapter "TBox Take Screenshot".

To take a screenshot of your mobile application, 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 TBox Take Screenshot Module onto your TestCase.

  4. Specify XTestStepValues as described in chapter "TBox Take Screenshot".

  5. Set the ActionMode to Input.

In the example below, you take a screenshot of the application InsuranceCalculator and save it as SampleScreenshot in C:\Users\sampleuser\Screenshots.

TBox Take Screenshot Module in a TestCase