Coder Social home page Coder Social logo

americancancersocietyworksample's Introduction

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

americancancersocietyworksample's People

Contributors

antonrosh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.