Introduction¶
TeamCity integration documentation describes that all reports are stored in the Artifacts tab, including Results XML files, HTML Reports, and screenshots Squish took in case of FAIL or ERROR. Video recording files are also presented there. This article demonstrates how to make Squish capture a video recording of test execution and how to access the result of video-capturing.
Setup¶
Required versions for this setup to work:
Squish: 7.0 and higher
Squish TeamCity plugin: 2.8 and higher
Solution¶
- Go to Build Configuration of your project
- Edit Squish Runner build step
- In extra options put '--enable-video-capture'
- Run project build
- Go to build artifacts
Result¶
Squish Report tab is added to a Build Page
For each test case, there will be a ‘*_capture.mp4’ file with a recording of the test case execution. You can click on the file to open it in your browser.