antonrosh / AmericanCancerSocietyWorkSample

American Cancer Society Work Sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

American Cancer Society Work Sample

Introduction:

This Test Automation Framework is created using Java + Selenium Web Driver + TestNG. Which can be used across different web-based applications. In this approach, the endeavor is to build a lot of applications with independent reusable keyword components so that they can directly be used for another web application without spending any extra effort. With this framework in place, whenever we need to automate a web-based application, we would not need to start from scratch, but use the application-independent keyword components to the extent possible and create application-specific components for the specific needs.

Example:

There are 4 test suites for each popular web-browser (8 test cases for each).

Prerequisites:

  • Java JDK 1.8 or higher (update Java version in POM.xml file, current implementataion is JDK 11 LTS)
  • Apache Maven 3 or higher

Environment:

There are 4 different browsers configuration set up [Google Chrome, Mozilla Firefox, Microsoft Edge, Opera]

Execution:

  • Clone the repository.
  • Navigate to \AmericanCancerSocietyWorkSample\src\test\java\testSuites to find Test Suites for each browser.

Logging:

  • log4j configured to capture the test execution logs
  • Configuration file is located in the \AmericanCancerSocietyWorkSample\src\test\resources
  • Execution log is captured in the \AmericanCancerSocietyWorkSample\logs

Screenshot:

  • Most of the time we think to Capture Screenshot in WebDriver when some kind of error or exception surfaces while practicing testing, to resolve the same the framework has a method.
  • Screenshots are store it in the \AmericanCancerSocietyWork Sample\screenShots

About

American Cancer Society Work Sample


Languages

Language:Java 100.0%