Yes. We will explain how to run and record mobile tests below.
How to record a test for mobile
Recording mobile tests is a little inconvenient as of March 1, 2020. We plan to release improvements to make recording more convenient in the first half of this year, but until then, please record in the following way:
Procedure
- Choose the window size for your PC and launch the recording window.
- Open the developer tools in Google Chrome. ・ Windows: Ctrl + Shift + I ・ Mac: ⌥ + ⌘ + I
- Click the button to switch to mobile view.
- Select your preferred device size.
- However, due to technical limitations, while recording for mobile it can't highlight the target in gray when inserting assertions. If you have trouble selecting the target elements, please contact our support.
How to execute a test for mobile
Autify can run the following two types of execution.
- Run in Device Mode from Chrome DevTools
- Execution on an actual device
Run in Device Mode from Chrome DevTools
Device Mode in Chrome DevTools is a function that simulates the screen size of various terminals and user agents. Click here for details on Device Mode.
The characteristics of this execution method are as follows:
- Since it is not a real machine, it is merely a simple confirmation, and it is not possible to perform strict tests such as the influence of mobile OS and mobile version browser
- Much faster than running on a real machine
- Available on all Autify plans
Execution on an actual device
Execution on an actual device is performed using the [external device farm].
The characteristics of this execution method are as follows:
- Since the standard browser of the device is launched and the test is executed on the actual device, you can check the effect of the OS and browser.
- Much slower than running in Device Mode
- Available on Pro plan and above