Coder Social home page Coder Social logo

gojek's Introduction

  • The framework was designed with the concept of the page object model.
  • The framework has "elementlocator" package, it's used to keep safe all the location and & it's value.
  • The framework has "ExtentReportListner" package, it's created to generate the extent report.
  • The framework has "framework", it's the heart of the framework. It's used to initialize the web driver & other commonly used method is defined here, like findElements, explicitWait, etc.
  • The framework has "gojek.assigment" package, we implemented all the test cases in this pacakge.
  • In "comm.gojek" we defined the test cases.

Note:- One place we used static wait beacuse explicit wait is not working properlly, and due to time contraint I used static wait.

  • The frame work is capable to run the test cases in operating system such as macbook & windows, ans also it's capable to run the test cases in google chrome & mozilla firefox.

Config file details:

  • In the "browser" filed the user can provide two value for chrome such as chrome or google chrome, for mozilla they can provide multiple values such as mozilla, mozilla firefox, firefox, gecko.
  • Capitialization is not mandatory, they can use small as well as capital letters.

Steps to run from terminal or commond prompt

  • In terminal move to the project directory, like inside the project "Gojek".
  • Once the user inside the project directory run the commands as "mvn test".
  • mvn test command will run the 2 test cases, one is verifyPaymentSuccess & second is verifyPaymentFailure.

Note:- Other the two above mentioned test cases all the test cases marked as enabled = false. So, with mvn test those test cases will not going for execution

gojek's People

Contributors

ajay1324 avatar ajya-kushwaha 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.