Video Recording Feature using Python Appium
You can record a video for a test scenario using this feature. To use this feature, you must enable the option in the Application Settings File. For example, in Mobile App Automation using Python Appium, when a test fails, the video recording feature provides a view of the test execution. This allows testers to observe the events that occurred during the test and helps identify the cause of the failure.
Configure Application Settings File
Perform the following:
- Scripts generated follow an organized folder structure. Search for and locate the ApplicationSettings.xml file. Copy and paste the file to the location where the POM and Report.exe files are located.
- In the ApplicationSettings.xml file, update the 'To Email', 'From Email', and 'From Password' parameters with the appropriate details.
Note that the preceding details must be added manually. You can find the ApplicationSettings.xml file at - ScriptGeneration_202310311222 (2).zip\AlgoAFScript_202310311222\src\test\java.

- Set the Video Recording option to True.
- Save the changes.
Viewing the recorded scenario
- In the algoQA report folder, navigate to the generated report.
- You will see the video recorded for the test scenario in the algoQA folder structure, as shown below. You can access this video in any compatible media player.

A sample scenario is as shown:

Was this page helpful?