Skip to content

This is a full running example for creating a web test automation project using WebDriver in the Python programming language

License

Notifications You must be signed in to change notification settings

itaiag/login-example

Repository files navigation

login-example

Example for using page object design pattern in the Python language

Installation

The project dependencies are specified in the requirements.txt file.

> pip install -r requirements.txt

Launching the server

Make sure you have Java JRE installed on your machine

> cd demo-server\bin
> run.bat

Running the tests

> cd LoginExample
> py.test

Generating reports

Download the latest version of the Allure-cli, and extract it.

> cd <path>/allure-cli
> bin\allure <login-example-project-path>\LoginExample\reports\allure

The HTML reports will be generated in the allure folder.

Notice: The reports can not be viewed in the Chrome browser. Try Firefox

About

This is a full running example for creating a web test automation project using WebDriver in the Python programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published