Running mobile tests

After generating a test from a recording, you can run the test on multiple mobile devices and simulators and also initiate a test run from the test workbench.

About this task

Tests created for native or hybrid applications must be run on the same platform (Android or iOS) on which they were recorded. There is no such restriction for tests of web applications or of hybrid applications built with IBM® MobileFirst Platform Foundation, as they can be recorded and run on either platform. If you test web applications, the IBM Rational® Test Workbench Mobile Web Recorder is used to record and run your tests.

Note: When you run a test from the mobile client on mobile devices, it uses the same values that you used during recording. If you modify the test script and create a datapool or variable, or if you add a condition, a loop, custom code, references or add other statements, they are not taken into account by the mobile client at run time. To verify that the initial recorded values are substituted with variable data, you must initiate the test run from the workbench.

Feedback