Video Recording Feature using Python Appium

Modified on Mon, 23 Sep at 6:44 PM

TABLE OF CONTENTS

1. Overview

2. Configure Application Settings File

2.1 Viewing the recorded scenario

1. Overview

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 to identify the cause of the failure.

2. Configure Application Settings File

Perform the following:

  1. Scripts generated follow an organized folder structure. Search and locate the ApplicationsSettings.XML file. Copy and paste the ApplicationsSettings.XML file to the location where POM and Report.exe files are located.
  2. In the ApplicationSettings 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 Applications.XML file available at - ScriptGeneration_202310311222 (2).zip\AlgoAFScript_202310311222\src\test\java.

  3. Enable the Video Recording option to True.
  4. Save the changes.

2.1 Viewing the recorded scenario

  1. In the algoQA report generated folder, navigate to the report generated folder.
  2. You will see the video recorded for a test scenario in the algoQA folder structure as shown. You can access this video in any compatible media player.
    A sample scenario is as shown:






 





Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article