Skip to content

This project is a 3-step automated test authenticator for a login page that verifies the login credentials of a user.

Notifications You must be signed in to change notification settings

Shrajan02/Automation-with-Selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Automation

Step 1: Install requirements by using command "pip install -r requirements.txt"

Step 2: Make sure you have the following chromedrivers installed

  • Selenium Driver Error Link for Debugging: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location/#download-the-driver
  • Last checked chromedriver download link : https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/118.0.5993.70/win64/chromedriver-win64.zip

      Step 3: Setup PATH variable to the location where you unzip the zip file(where chromedriver.exe is present) Check if PATH Variable set successfully by using command "chromedriver.exe --version" (If cmd prompt was already open before making changes to Environment Variable close and reopen it)

      Step 4: Run server.py using command "python server.py"

      Step 5: Run Selenium tests using command "python sel.py" It has 3 tests:

      1. test_signup: For using dummy username and password to check signup functionality
      2. test_signin: For using actual username and password to check signin functionality
      3. test_signup_signin: For creating dummy username and password and trying to login with it(Works one time per webpage.py session since it tries to signup using the same username and pass second time onwards)

About

This project is a 3-step automated test authenticator for a login page that verifies the login credentials of a user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published