Skip to content

YonK0/auto-testing-multitask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto testing mobile apps (multitasking) Description :

this script uses multithread and multiprocess makes more easier to run auto testing for mobile apps with logging . this is the workflow of the script :

image

PS : this project can run on Windows and Linux.

Detailed installation and setting Up

You can find detailed installation of all used tools in my old repo : https://github.com/YonK0/appium-multithread

Appium

image

Appium is a mobile automation testing tool which is used to automate mobile applications on different mobile operating systems such as Android and iOS.

Emulator used : Any Android emulator can be used here

personally i tried with nox , bluestacks and genymotion (best one for me ).

Adb

image

Android Debug Bridge ( adb ) is a versatile command-line tool that lets you communicate with a device.

1.adb address and port you can find in parameters on the emulator for example :

image

2.after you got the address and port copy them to devices.txt if you want that devices included.

Running multitask script :

now have adb and appium installed and setted up , let's run our script !!!

image

as the image show , we are ready to run the script : python multitask.py

Now you can see all instances are running the auto testing at the same time , meanwhile the logging is running too (automation.log).

image

Check log while the multitasking in running : tail -f automation.log || or notepad++ in windows

PS: you can open whatever number of instances you want , just make sure you have enough resources to run it !

Also i updoaded a simple video , showing how it works with 2 bluestacks instances (windows) : https://www.youtube.com/watch?v=DzMka7yeTKo

Im willing to upload another video showing more complex steps with more instances , on a Linux machine in the future. Also im willing to improve these Readme file , so please enjoy it !

About

Auto-testing multitask for mobile apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages