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.
- IntelliJ
- Selenium
- JUnit
- 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
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!
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'
This repository contains a report that has been automatically generated.