A BDD-style Selenium-driven browser automation in Python
Project description
pomidor 0.0.2-Alpha
:tomato:
A BDD-style Selenium-driven browser automation on Python
(with Agile in mind :nerd_face: )
Fast and flexible approach to automating click() and send_keys() selenium actions straight from your Jira stories
Example:
Here, you can see that action is prepended with a star (*click) and page object is marked with hashtag (#contact_us).
Note: To accomodate natural language, any variations of actions are allowed, as long as the root stays unchanged: Example: *Clicked or *tyPEd
Quick Start:
Install pomidor
Create a Page Factory class with a dictionary that contains page objects. (Example shown below)
Write your first test_case.pomidor file (extension must be ".pomidor") and place it in dedicated folder (Ex.: pomidor_files):
Create a runner file, import page factory dictionary, Pomidor class and exceptions (keep in mind, your page objects package name may differ from what's shown below)
In the same runner file, specify url and page object instance, and pass them to Pomidor class instance. Then, run your first test case as shown below:
Run your first Automation test! :rocket:
Next in development:
- asserts with *displayed and *selected
PyCharm plugin developers for ".pomidor" extension needed!
Clone it, fork it, bring any new ideas.
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 pomidor-0.0.2.tar.gz.
File metadata
- Download URL: pomidor-0.0.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27c64c49dd0726bca7a079ba502e1c6a85e8e2589fa93bbd9e6e13c8af305d6b
|
|
| MD5 |
5c73f9e7e30db6374325fcf2d77144d3
|
|
| BLAKE2b-256 |
f168e4abe46c12fd7dfc666af46b0342cf95c90531103b4ec407af0e15de4551
|
File details
Details for the file pomidor-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pomidor-0.0.2-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9af6a2da0a74f4c325cfe8813cc10b62aab838ec38312cb2ea466276d0e9ffff
|
|
| MD5 |
786b4b0082a626abb0bfeb42d251ac4d
|
|
| BLAKE2b-256 |
8d59b4257ad8b379645f17599abb0efcf7ca1fc2dcaeecaf2d087820cea33b06
|