Skip to main content

A BDD-style Selenium-driven browser automation with Python

Project description

pomidor

:tomato:

A BDD-style Selenium-driven browser automation with 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:

Pomidor syntax

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:

  1. Create a Page Factory class with a dictionary, like shown below:

Page factory

  1. Write your first Pomidor test case and place it in dedicated folder (Ex.: pomidor_files):

Pomidor syntax

  1. Create a runner file, import page factory dictionary and point to a test.pomidor directory as shown below:

Runner file

  1. Run your first Automation test! :rocket:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pomidor-0.0.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

pomidor-0.0.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file pomidor-0.0.1.tar.gz.

File metadata

  • Download URL: pomidor-0.0.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for pomidor-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6bf9cd4f47bc09a9427188568d0c7235b2a8a60662d53cf5173aa3092ed2b613
MD5 52bbf66039d26f96dbe1399afed8a6c6
BLAKE2b-256 cd38523d2f072a38c391aead6d11bd257f00b901324e48464c0b99c8874d5f6a

See more details on using hashes here.

File details

Details for the file pomidor-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pomidor-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 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/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for pomidor-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06d4e426ec968041d180a5801d43490b5daf59bc477b7a9b95ec520588c5bece
MD5 1f57ca07f4439031e3f97f5c36572c11
BLAKE2b-256 f6c01fb1ebb81326b7cdaa1e59694c21dd57dba0f1411e5cb8f2e9df1627c17f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page