Mobile web testing

Test your application on mobile device emulators

Does your application support mobile devices?
Start using the Testim to make sure your (mobile web) application runs smoothly on different mobile platforms and devices.

Getting started

If you do not have a mobile web project and you need one, please contact us.

How to author a mobile web test

Authoring mobile-web tests works similarly to desktop-web tests. When you start a new test, you will get a default iPhone 6 config, which you can edit.

640640

After selecting the default configuration, you will continue to record your test as you've done with desktop web (clicking on the record button will open a Chrome in emulator mode) with the selected configuration.
Behind the scene, we change the user-agent (vs. just resizing the screen).

Run on different devices

Running on different devices will be done via the CLI. All possible configurations are already configured on the configuration page. To run the test on another device, use the --test-config parameter by setting the resolution configuration to the mobile resolution you would like to test.
Note: Running on different devices with different screen sizes may cause the tests to fail if you don't have the appropriate "scroll to element" steps. You'll need to add scrolls to your tests to support the different screen sizes. All in desktop-web, we recommend recording the smallest resolution possible, which should work on higher resolution configuration.

Known Limitations

Currently, mobile (web) tests require a separate project, so, unfortunately, the tests you already authored can not be run on your mobile browser. No "Highlight hovered element"; while choosing an element. And it selects an element only once you clicked on one.