Skip to content

This repository contains automated tests using Selenium WebDriver for two distinct projects: 1. Newsletter sign-up form with success message. 2. Time tracking dashboard.

Notifications You must be signed in to change notification settings

ikitamalarose/SeliniumWebDriverTestsLogiciels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium WebDriver Tests

This repository contains automated tests using Selenium WebDriver for two distinct projects:

  1. Newsletter sign-up form with success message.
  2. Time tracking dashboard.

Table of Contents

Configuration

  1. Clone the repository:

     git clone <repository-url>
     cd  <repository-name>
  2. Install dependencies:

  3. Configure WebDriver:

    • Download ChromeDriver that matches your Chrome version.
    • Extract the archive and placechromedriver.exe in a directory of your choice.
    • Update the path to chromedriver.exein the test scripts (NewsletterSignUpTest.java and TimeTrackingDashboardTest.java).

Running Tests

  1. Navigate to the project directory:

    cd <repository-name>
  2. Execute the tests

Project Structure

<nom-du-repository>/
│
├── src/
│   └── main/
│       └── java/
│           └── sn/
│               └── ikitama/
│                   ├── NewsletterSignUpTest.java
│                   └── TimeTrackingDashboardTest.java
│
├── pom.xml
└── README.md

Test Details

Newsletter Sign-Up Form

Tests for the newsletter sign-up form verify the following:

  • Submission of invalid email : Verifies the appropriate error message is displayed.
  • Submission of valid email : Verifies the success message is displayed and the correct email is shown in the success message.
  • Dismissal of success message : Verifies the sign-up form is displayed again after dismissing the success message.

Site Repository URL

Time Tracking Dashboard

Tests for the time tracking dashboard verify the following:

  • Daily view : Verifies the data displayed for the daily view is correct.
  • Weekly view : Verifies the data displayed for the weekly view is correct.
  • Monthly view : Verifies the data displayed for the monthly view is correct.

Site Repository URL

Useful Links

Checking Google Chrome Version

To ensure compatibility between ChromeDriver and Google Chrome, follow these steps to check your Chrome version:

  1. Open Google Chrome.

  2. Click the three vertical dots in the top right to open the menu.

  3. Select Help > About Google Chrome.

  4. The Chrome version will be displayed. Ensure you download the corresponding version of ChromeDriver.

    Quick Tip:

    You can also type chrome://version into the Chrome address bar to directly view version information.

Author

About

This repository contains automated tests using Selenium WebDriver for two distinct projects: 1. Newsletter sign-up form with success message. 2. Time tracking dashboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages