Wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single project
Project description
Toolium is a Python wrapper tool of Selenium, Playwright and Appium libraries to test web and mobile applications in a single project. It provides a way of choosing and configuring the driver through a configuration file, implements a Page Object pattern and includes a simple visual testing solution.
Getting Started
Run pip install toolium to install the latest version from PyPi. It’s highly recommended to use a virtualenv.
The main dependencies are:
Selenium: to test web applications in major browsers (Firefox, Chrome, Internet Explorer, Edge or Safari)
Playwright: to test web applications in major browsers (Firefox, Chrome, Edge or Safari) as an alternative to Selenium (Beta integration in toolium)
Appium-Python-Client: to test mobile applications (native, hybrid or web) in Android or iOS devices/emulators.
requests: to test APIs
You might need to adjust the Selenium and Appium-Python-Client versions in your project. In that case, follow the compatibility matrix
Using toolium-template
The easiest way to get started is to clone toolium-template project, run the example test and add your own tests and configuration.
$ git clone git@github.com:Telefonica/toolium-template.git
$ cd toolium-template
$ pip install -r requirements.txt
Now, just follow the toolium-template instructions to know how to start your testing project.
Running toolium-examples
You can also clone toolium-examples to get more examples about how to use the library to test web, Android or iOS applications, in different scenarios.
$ git clone git@github.com:Telefonica/toolium-examples.git
$ cd toolium-examples
$ pip install -r requirements.txt
Now, just follow the toolium-examples instructions to run the test examples.
Contributing
If you want to collaborate in Toolium development, feel free to fork it and create a pull request.
Then clone the repository and install the dependencies in your virtualenv:
$ git clone git@github.com:<your_github_user>/toolium.git
$ cd toolium
$ pip install -r requirements.txt
$ pip install -r requirements_dev.txt
Before submitting your changes, make sure the code follows the project’s style by running Ruff:
$ ruff check --fix . # Fix linting issues
$ ruff format . # Format code
Then run the unit tests:
$ python -m pytest
Finally, before accepting your contribution, we need you to sign our Contributor License Agreement and send it to ruben.gonzalezalonso@telefonica.com.
Main Features
Documentation
Further information about features and fixes included in each release: CHANGELOG.
Complete library reference and documentation are available at ReadTheDocs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toolium-3.8.0.dev0.tar.gz.
File metadata
- Download URL: toolium-3.8.0.dev0.tar.gz
- Upload date:
- Size: 98.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edcfc96597711fdfd706d94bb693bfee8911c79968d265b48a6df7d28f60af40
|
|
| MD5 |
4b994f9af7592351aa6db5a301e40fe8
|
|
| BLAKE2b-256 |
fa68b9aecb9911bdbf353f1ef3eee579cd76541f603b6970b8bd1707868e6872
|
File details
Details for the file toolium-3.8.0.dev0-py3-none-any.whl.
File metadata
- Download URL: toolium-3.8.0.dev0-py3-none-any.whl
- Upload date:
- Size: 120.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38c1088d2105e671e0b505ba606c7306fe6d1308b76b6bcf40a7a934015218e0
|
|
| MD5 |
e315ae6f3e42f796d4d349b4cc76ee22
|
|
| BLAKE2b-256 |
c7bc4519e31bebf08330cadc3c284ae655b6befa743142ae8e64930339bb8ff5
|