Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

OrangeHRM Login Automation

This project uses Selenium and Python to test the login functionality of the OrangeHRM demo website.

Tools Used

  • Python
  • Selenium
  • ChromeDriver

Invalid Login Test

This test checks what happens when someone tries to log in with the wrong username or password on the OrangeHRM demo website.

What it does:

  • Opens the login page
  • Enters fake credentials (wrong username and password)
  • Clicks the login button
  • Waits for the error message to appear
  • Takes a screenshot and saves it in the "Screenshots" folder

What we expect:

  • The login should fail
  • An error message like “Invalid credentials” should appear
  • A screenshot should be saved for record-keeping or debugging

OrangeHRM Selenium Login Test

This is a simple Selenium project written in Python to test the login functionality of the OrangeHRM demo site using multiple sets of credentials from a CSV file.

What It Does

  • Opens the OrangeHRM login page
  • Reads usernames and passwords from login_data.csv
  • Tries to log in with each one
  • Prints whether login was successful or failed
  • Saves screenshots for any failed login attempts

How to Run

Make sure all files are in the same directory. Then run:

python test_login_with_csv.py

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages