Giter Site home page Giter Site logo

com.fedex.test's Introduction

Test Automation Framework for FeDex

Overview

The project has been developed with java. It is a BDD project written by using Cucumber

###Requirements

  • Java JDK 18 or higher
  • Maven 3.8.5 or higher

Project architecture

The project is a combination of the Cucumber and POM models. It has locators and page actions in page classes and also there are step-definition classes to define the behavior of the application so as that create the test scenarios. So you can define the behavior (Steps) based on the page classes.

Also, it provides execution of the project on all browsers. You can define the default browser on the config.properties file. If you want to run it with a different browser you can define the browser like below.

mvn test -Dbrowser=Safari

it provides to support just Chrome, Firefox and Safari for now. You can add other browsers with adding new browser implementation under the browser package

Report

I've used the cucumber report, it generates the reports under the reports' directory. It generates two types of reports, an HTML and a JSON report. If a failure occurs, it will take a screenshot, if the scanner is still working. So it will add that screenshot to the HTML report


Report

Scenarios

There are ten scenarios in for different feature files.

  • localization.feature: is about localization behaviors of page. it has 1 scenario.
  • login.feature: is about login sign-in operations. There are 4 scenario in it.
    • Invalid password
    • Successful Login
    • Invalid user id

the above do get errors sometimes. the page says "We are having trouble establishing a connection. Please refresh the page." It maybe comes from a bot protection of the page. I've left these scenarios as they are, so you can evaluate if they are a real problem.

Additional info

Calculates static wait time and shows information about it at the end of execution. So we will know about the static cooldown and once it gets that big we can take action to avoid unnecessary waiting times.

com.fedex.test's People

Contributors

serhatozdursun avatar

Stargazers

Ercan Kırbıyık avatar

Watchers

James Cloos avatar  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.