Giter Site home page Giter Site logo

ninjavan's Introduction

Automation Architecture

  • The Web automation is a java maven project is built using Selenium over Java and long with TestNG framework and Page Object Model design pattern
  • The API automation is a java maven project is built using RestAssured over Java and long with TestNG framework
  • Each Test has a TestNG xml file with global and\or local data parameters to manage the input data outside the code
  • There are also a general properties files (test.properties) that contains the following properties:
    • report.directory: report root directory
    • report.central.directory=central report directory that contains the reports from the latest run (for CI pipeline use)
    • browser.type: CHROME or EDGE (Tested using both of them)
    • browser.driver.path: the path to the webdriver
    • browser.page.load.timeout: implicit page wait timeout
    • browser.element.detect.timeout: implicit timeout to wait for the element
    • main.page.url: website homepage
  • The test results are summarized in an html report that is generated inside a timestampped directory in the report.directory path
  • Two cloud VMs are created:
    • qa-automation-01: Centos machine that host Jenkins
    • qa-automation-02: Windows Server 2019 machine to run the tests remotely
  • The tests can be run either using:
    • Windows command prompt: mvn test -DsuiteXmlFile="path.to.testng.xml.file”
    • Jenkins portal (username and password will be sent over email)

ninjavan's People

Contributors

fattahsafa 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.