In this project, I have used JUnit and Selenium to automate two webforms and scrape data from one web table.
- Java
- Selenium-Java (https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java implementation("org.seleniumhq.selenium:selenium-java:4.31.0"))
- JUnit Jupiter API (https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api testImplementation("org.junit.jupiter:junit-jupiter-api:5.5.1"))
- Java Development Kit (JDK) 8 or later
- IntelliJ IDEA (or your preferred Java IDE)
- Gradle (if you want to use the provided Gradle build)
-
Clone the repository:
git clone <repository_url> cd <repository_name>
-
Open the project in IntelliJ IDEA:
- Open IntelliJ IDEA.
- Select "Open or Import Project."
- Navigate to the project directory and select the
build.gradle
file (if you are using Gradle) or the project directory itself. - IntelliJ IDEA will import the project.
1. Automating The https://www.digitalunite.com/practice-webform-learners Webform!
Click on the video. (Automation part slowed down to 0.5x).
2. Automating The https://demo.wpeverest.com/user-registration/guest-registration-form/ Webform!
Click on the video. (Automation part slowed down to 0.5x).
1. Automated Web Scraping from https://dsebd.org/latest_share_price_scroll_by_value.php Webtable and Saving Data in .txt file!
Click on the video. (Automated Scraping part sped up).
Mahbubur Rahman