Skip to content

In this repository I have automated a website webform and uploaded an image; After successful submission, asserted the submission with a successful message using Selenium and Junit.

Notifications You must be signed in to change notification settings

foysal619/JUnit-Webform-Automation

Repository files navigation

JUnit-Webform-Automation

In this repository I have automated a website webform and uploaded an image; After successful submission, asserted the submission with a successful message using Selenium and JUnit.

Technology used:

  • IntelliJ
  • Selenium

Framework used:

  • JUnit

How to run this project:

  • Clone this project
  • Open the IntelliJ IDE and click on OPEN and select the project path
  • Select the "build.gradle" file and Open as Project

Assigned work scenario:

Automate the following webform https://www.digitalunite.com/practice-webform-learners

During the web form submission process, upload any file like ppt, pdf or xlsx, etc. After successful submission, assert the expected message as: Thank you for your submission!

Prerequisite:

Some Dependencies are required to run this project. These dependencies are

// https://mvnrepository.com/artifact/junit/junit
testImplementation group: 'junit', name: 'junit', version: '4.13.2'

// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
implementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.8.0'

// https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager
implementation group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '5.3.2'

Report:

This repository contains a report that has been automatically generated. image

image

image

Demonstration

Junit.Webform.Automation.mp4

About

In this repository I have automated a website webform and uploaded an image; After successful submission, asserted the submission with a successful message using Selenium and Junit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages