Skip to content

dbeniamin/Selenium_test_runners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Automation with Python and Parallelism Testing

This project contains the build of automated test runners with multiple tests in the same file.

Introduction:

Designed to practice the build of several tests and run them separately or all at the same time by adding to the run config the -n 4 in order to run all 4 tests at once.

Key Features:

  • Selenium Automate the tests on web pages, using https://the-internet.herokuapp.com/ to practice.
  • Python Using python language to write and automate the scripts.
  • Flexibility and Adaptability: Tailor the scripts to your specific interests and goals.

Project Structure:

Scripts with various tests designed to automate web page testing using Selenium

Requirements:

Running multiple tests at the same time setup

1 - Install the pytest-xdist package. 2 - Specify pytest as the project testing framework under the Setting menu > Tools > Python integrated tools > Testing (applies to PyCharm users). 3 - Right-click your tests > Modify run configurations. 4 - in the Additional Arguments field, add -n 4 if you need to run 4 tests in parallel.

Please make sure that the required libraries and frameworks are installed for proper project functionality.

Installation:

  1. Fork this repository:

    Click on the "Fork" button at the top-right of this page to create your own copy of these Selenium automation scripts.

  2. Clone your forked repository:

    Copy and run the desired files or project folders.

Usage:

scripts.py files

To use the specific .py files:

  1. Copy the content of the script file.
  2. Paste the content into a new Python file.
  3. Save the file, look over it or run it.

Feel free to modify and adapt the files based on your specific requirements.

You can customize the scripts as needed for your own desired usage. Add test functions based on the structure provided.

Description:

script_file.py : contain several explanations and practical examples of the Automation using Selenium on the tested page.

Change Log:

Contributing:

Contributions are welcome! Feel free to contribute to this practice project.

If you have suggestions, ideas, or improvements, please don't hesitate.

Thank you for considering contributing!

License

MIT License

About

Selenium Automation with Python and Parallelism Testing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages