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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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