Code Monkey home page Code Monkey logo

junit_automation's Introduction

Junit_Automation

About this project

This test automation project is designed to automate various test scenarios on the Digital Unite website. It utilizes the Selenium WebDriver framework to interact with web elements and perform actions on web pages. The project includes test cases for:

  • Visiting the website.
  • Verifying the page title.
  • Checking the visibility of the title image.
  • Filling out a web form and submitting it.

Prerequisites

  • Java Development Kit (JDK)
  • Selenium WebDriver
  • WebDriver executable
  • Maven

Installation

  1. Download and Install IntelliJ IDEA: Download and install IntelliJ IDEA
  2. Clone the Repository: Clone this repository to your local machine using the following command:
    git clone <repository_url>
    
    

Configuration

1.Open the project in preferred Java IDE(e.g., IntelliJ IDEA,).

2.Configure the WebDriver executable path in the test script: In the browsersetup method of TestAutomation.java, set the path to WebDriver executable.

3.For using Maven, navigate to the project's root directory and install the required dependencies: mvn clean install'

4.In the TestAutomation.java file, configure the following: WebDriver Executable Path: Update the browsersetup method to set the path to WebDriver executable.

Running the Tests

To run the automated tests use Java IDE or Maven. Ensure that the WebDriver executable is either in system's PATH or the path is set explicitly in the code. For Using Maven:

Open your terminal or command prompt.

Navigate to the project's root directory.

Run the following Maven command to execute the tests:

-mvn test

Test Report

image

junit_automation's People

Contributors

fayrose96 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.