Skip to content

adele-angel/selenium-test-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

selenium-test-automation python version: 3.9.6 pip version: 21.1.3 allure version: 2.14.0

Test Automation Project for "OpenProject" Software

API Automation

Official OpenProject API documentation here: https://docs.openproject.org/api

General Guidelines for API Tests Automation

  1. Using Postman to experiment with the various API calls manually.
  2. Manually validate that expected result can be seen in the UI.
  3. Implementation of the API requests using Python and the Requests library.
  4. Creating a dedicated configuration file.

UI Automation

General Guidelines for UI Tests Automation

  1. Using Selenium WebDriver for browser automation.
  2. Automation implementation using the "Page Object Model" design pattern.
  3. Using assertions to implement validations for each expected result specified in the test cases below.

Generate Allure Reports

To view this project's allure report:

https://selenium-tests-automation-allure-report.netlify.app/

The report's static files are located under project-root/reports folder.

$ pytest --alluredir={results dir} {test dir}

Run on server
$ allure serve {results dir}

Create static files
$ allure generate {results dir}

Packages

selenium version: 3.141.0 pytest version: 6.2.4 allure-pytest version: 2.9.43 requests version: 2.25.1

$ pip install selenium pytest requests allure-pytest

Project Setup

Installation of OpenProject using Docker To install OpenProject locally on your machine, please follow the instructions here: https://docs.openproject.org/installation-and-operations/installation/docker/

About

Selenium WebDriver with Python test automation project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published