Selenium Automation Test Suite (Technical Assessment)

This repository contains a Selenium-based automation test suite for testing a web application. The test suite covers various scenarios, including login functionality, list group behavior, dropdown selection, button states, dynamic button interactions, and grid cell value retrieval.

Table of Contents

Prerequisites

Before running the tests, ensure you have the following installed:

  • Python
  • Selenium WebDriver
  • Chrome WebDriver (or other browser drivers)

Installation

  1. Clone the repository:

    git clone  https://github.com/Rohanksingh18/Technical_assessment.git
    cd Technical assessment
    
  2. pip install -r requirements.txt

Running Tests

python Technical assessment.py

Test Descriptions

Test 1: Login Test

-Navigate to the home page -Assert the presence of email and password inputs and the login button -Enter test credentials and submit the form

Test 2: List Group Test

-Navigate to the home page -Assert the presence of a list group with specific values

Test 3: Select Option Test

-Navigate to the home page -Assert the default selected value and select another option from the dropdown

Test 4: Button State Test

-Navigate to the home page -Assert the state of two buttons

Test 5: Dynamic Button Test

-Navigate to the home page -Wait for a dynamic button to be displayed and click it

Test 6: Grid Cell Value Test

-Navigate to the home page -Retrieve and assert the value of a specific cell in a grid