pomidor 0.0.2-Alpha
🍅
A BDD-style Selenium-driven browser automation on Python
(with Agile in mind 🤓 )
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! 🚀
Next in development:
- asserts with *displayed and *selected
PyCharm plugin developers for ".pomidor" extension needed!
Clone it, fork it, bring any new ideas.
Release files for pomidor 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pomidor-0.0.2.tar.gz | 12.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pomidor-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.7 kB
Release files / pomidor-0.0.2.tar.gz
| Download URL | pomidor-0.0.2.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27c64c49dd0726bca7a079ba502e1c6a85e8e2589fa93bbd9e6e13c8af305d6b
|
|
BLAKE2b-256 checksum How to use checksums |
f168e4abe46c12fd7dfc666af46b0342cf95c90531103b4ec407af0e15de4551
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pomidor-0.0.2-py3-none-any.whl
| Download URL | pomidor-0.0.2-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9af6a2da0a74f4c325cfe8813cc10b62aab838ec38312cb2ea466276d0e9ffff
|
|
BLAKE2b-256 checksum How to use checksums |
8d59b4257ad8b379645f17599abb0efcf7ca1fc2dcaeecaf2d087820cea33b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|