Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WebApplication Test Automation

This project contains automated tests for the WebApplication project using Selenium WebDriver and NUnit.

Table of Contents

Preview

Automation.Testing.mp4

Technologies Used

  • C#
  • ASP .NET Framework
  • NUnit
  • Selenium WebDriver

Setup

  1. Clone this repository.
  2. Navigate to the WebApplication directory.
  3. Open the solution in Visual Studio or your preferred IDE.
  4. Ensure that the WebApplication project is running on http://localhost:5175.
  5. Navigate to the WebAppTest directory.
  6. Run the tests using NUnit or your preferred test runner.

Installation

  1. Install .NET SDK:
    https://dotnet.microsoft.com/en-us/download
    
  2. Clone the repository:
    git clone https://github.com/Govind516/WebApp-Test-Automation.git
    
  3. Navigate to the WebAppTests directory:
    cd WebAppTests
    
  4. Install the Dependencies
    dotnet add package NUnit
    dotnet add package NUnit3TestAdapter
    dotnet add package Microsoft.NET.Test.Sdk
    dotnet add package Selenium.WebDriver
    dotnet add package Selenium.WebDriver.ChromeDriver
    dotnet add package DotNetSeleniumExtras.WaitHelpers
    dotnet add package Selenium.Support
    

Usage

  1. Start the development server:

    cd WebApplication
    dotnet run
    
  2. Open your browser and visit http://localhost:5175 to see the website in action

  3. Perform the Test:

    cd WebAppTests
    dotnet test
    

image

Tests Included

  • Verify that the web page loads successfully.
  • Enter the name, email, and phone in the input fields and submit the form.
  • Submit the form with all fiels filled.
  • Verify that the welcome message is displayed correctly with the entered name.
  • Simulate a delay of 3 seconds and verify the welcome message.
  • Perform the for test without entering optional fields.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages