This repository is a very small demonstration of using selenium webdriver and java binding to run automated test in Chrome web Browser. This repo is deployed on the CircleCI continuous integration platform.
I used the following technologies: Selenium 2, TestNG, Java, Gradle, CircleCI and Android Studio IDE. I created the project from scratch in Android Studio IDE and pushed it to version control system, github. I wrote the scripts in such a way that it would be easy for another tester to pick it up and continue working on it. I also deployed the test on the CircleCI's continuous integration and delivery platform for ease of running the test in an automated way, after every changes or updates.
- ChromeDriver
- JDK 8+
- Any IDE
Method one:
- Clone this repo to your computer.
- Modify the class searchFunctionalityTest.java to point to ChromeDriver's path on your system.
- On any terminal, move to the project's root folder and execute the following command: ./gradlew clean test
Method two:
- Clone this repo to your computer.
- Import project into your favorite IDE.
- Modify the class searchFunctionalityTest.java to point to ChromeDriver's path on your system.
- Build and run the test.
Enjoy!