Scraping Mobile Site ApplicationsVideo Recording Feature using Python Appium

Video Recording Feature using Python Appium

Enable video recording in the Application Settings File to capture test execution for failed scenarios and review them in any compatible media player.

Configure Application Settings File

When a test fails during Mobile App Automation using Python Appium, the video recording feature captures the test execution so you can review the events that led to the failure and identify the root cause.

Perform the following to enable video recording:

  1. Scripts generated by algoQA follow an organized folder structure. Locate the ApplicationSettings.xml file and copy it to the directory where the POM and Report.exe files are located.
  2. In the ApplicationSettings.xml file, update the To Email, From Email, and From Password parameters with the appropriate details.

These details must be added manually. You can find the ApplicationSettings.xml file at ScriptGeneration_202310311222 (2).zip/AlgoAFScript_202310311222/src/test/java.

ApplicationSettings.xml with ToEmail, FromEmail and FromPassword fields highlighted in red boxes
  1. Set the Video Recording option to True.
  2. Save the changes.

Viewing the Recorded Scenario

  1. In the algoQA report folder, navigate to the generated report.
  2. 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.
    Zip archive contents with scenario_verify_cart mp4 recording file highlighted

A sample scenario is as shown:

Mobile browser screenshot of Tricentis Demo Web Shop page with Categories menu overlay open