Skip to content

A very tiny test framework for automationpractice.com made with Python and Selenium

Notifications You must be signed in to change notification settings

DorinJ/automationpractice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# automationpractice


A very tiny test framework (made with Python and Selenium) for "automationpractice.com" as per "MY WISHLISTS" test cases.


About development environment:
* PyCharm Community 2021.2.2
* Python 3.9.2
* ChromeDriver 99.0.4844.51 (or higher)
* Windows 10 (or higher)


Make sure that you have all project's modules from import statements available in your Python environment.
(Install in your Python environment the modules listed in "requirements.txt" file.)
Set ChromeDriver path in "src/config.yaml" file.
You need to create or use an existing account for "automationpractice.com" and make sure that "credentials_user" and "credentials_password" variables from "src/tests/tests.py" file are updated accordingly.
Run "main.py" script.

To run the tests with a visible browser comment the line [self.my_chrome_options.add_argument("--headless")] from "Browser" class ("src/core/utils.py").

In case of any exception fired during the execution of the methods which belongs to Browser class, the "output/screenshots" folder will be populated with a .PNG picture taken of that moment.

The project is less than 100% done.
Some PEP8 rules were omitted.


Have fun! :)

About

A very tiny test framework for automationpractice.com made with Python and Selenium

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%