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.
![image](https://private-user-images.githubusercontent.com/61048879/250766486-0aff981e-731f-46d8-bc3e-c949b4eeae13.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NTI1MDksIm5iZiI6MTcyNDU1MjIwOSwicGF0aCI6Ii82MTA0ODg3OS8yNTA3NjY0ODYtMGFmZjk4MWUtNzMxZi00NmQ4LWJjM2UtYzk0OWI0ZWVhZTEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDAyMTY0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEyYTg3ZmVjN2JkZjk1ZWI0YjUzYzk0ZjIzMzU4NGIwMjgzM2YzMjZhM2Y5YjU1MTU5OWFjODYyOTU3MTE5YWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.J15jYCTlKT-pjv2k3cO68boNmnhdbqkWEl6_v1pI6BA)