Test recording¶
A test pack execution and JavaScript API session can be recorded by Suitest. In order to be able to make the recording, you will need to have an Android phone with Suitest Camera application installed and configured and with ideally up to 5 GB of free space.
Supported on all platforms with web UI - please note that the total time of test pack execution is prolonged by this feature (does not impact consumed testing minutes). Support for tests using Suitest JavaScript API is coming soon.
Setting up the Suitest Camera app¶
- Install the Suitest Camera app on your Android mobile
- Pair the application with your Suitest account
- Pair the application with your testing device
- Aim the camera of your Android mobile device at the screen of your testing device
- Make sure that the connection is established
Recording a test pack execution¶
In a test pack, on the Schedule tab you can find the Recording section. If you want the test pack execution to be recorded, please tick the corresponding checkbox there.
The recording will be then available inside the test results, next to the exports.
Notification about finished recording upload¶
Inside the test pack, you can also set up a notification to get an email/slack message once the upload of the recordings is finished.
Recording a JavaScript API session¶
If you are using our Suitest JavaScript API, you can record your sessions as well.
Suitest provides you with the following 2 options:
Recording the whole session¶
If you want to record the session, execute the script with launcher option --recording-option=autostart
.
When the session starts, you receive a URL to the recording in the console. Recording will become available later, after the upload has been finished.
In order to check if the recording is uploaded to Suitest server and to download it, use the Network API endpoint /recordings/{recordingId}
, where recordingId
can be taken from the URL that you receive in the console at the beginning of the session.
Recording of a part of the session¶
If you want to record only a part of the session, execute the script with launcher option --recording-option=manualstart
. During the session, you can then start the recording at any time with startRecording
JavaScript API command.
Once you want to stop the recording, you can use the stopRecording
JavaScript API command and decided if to store the video or not - with boolean parameter discard
. If stopRecording
is not used, recording is stopped automatically at the end of the session.