Skip to content

Example of a simple implementation of UI automated tests using the Appium framework.

Notifications You must be signed in to change notification settings

GrigoriiSchrodinger/SimpleAutoTestUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APPIUM

Appium UI auto-test

An example of how you can automate mobile device testing in Python using a framework Appium. The sample app is being used as a test app todo is available on GitHub.


Launch

First, install the dependencies:

pip install -r requirements.txt

We run the make start command to create the .env file that needs to be populated and the settings.json file.

make start

Run the tests with the following command:

python3 main.py

You can also run tests with the make run command

make run

Project structure

SimpleAutoTestUI/
├── asset/
│   └── ...
├── src/
│   ├── locators/
│   │   └── ... 
│   ├── pages/
│   │   └── ...
│   ├── tests/
│   │   └── ... 
│   └── utils/
│       │── ...
│       └── ...
└── main.py

asset/

The directory where the resources (such as images) are located.

src/

The directory that contains the project's source code. It includes several subdirectories:

  1. locators/ - This directory contains files with interface element locators (for example, identifiers, names, paths).
  2. pages/ - This directory contains files that represent each screen of the application.
  3. tests/ - This directory contains tests.
  4. utils/ - This directory contains auxiliary files and modules.

main.py

main project file.

About

Example of a simple implementation of UI automated tests using the Appium framework.

Topics

Resources

Stars

Watchers

Forks