Skip to content

pasignature/AutomatedUITesting-selenium-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Automated Web UI Test for Search Functionality using Selenium and Java.

===

CircleCI

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.

Discussion

I used the following technologies: Selenium 2, TestNG, Java, Maven, 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.

Prerequisites

  • JDK 8+
  • Any IDE
  • Maven

Instructions to run test

Method one:

  1. Clone this repo to your computer.
  2. On any terminal, move to the project's root folder and execute the following command: '''mvn clean test -DsuiteXmlFile=testng.xml'''

Method two:

  1. Clone this repo to your computer.
  2. Import project into your favorite IDE.
  3. Build and run the test from the IDE.

Enjoy!

About

Automated Web UI Testing using Selenium with Java binding, TestNG, Maven build system. Deployed on CI/CD pipeline, Docker | CircleCI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published