How to close/open the app during a session in Real Devices on LambdaTest using the Appium & Python Language?

How to close/open the app during a session in Real Devices on LambdaTest using the Appium & Python Language?

Hi Alex,

In order to close/open the app during a session in Real Devices on LambdaTest using the Appium Mobile Testing & Python Language, you can use the below code snippet:

Run the following command in the directory where your project has been saved to execute your build.

python3 ios.py

python3 android.py

Your test results would be displayed on the test console (or command-line interface if you are using terminal/cmd) and on the LambdaTest App Automation Dashboard.

Here’s the GitHub repo for the same: GitHub - Riadayal/appium-python-openApp: A sample on Close/Open the app during a session in Real Devices on LambdaTest using the Appium Python Framework.