Git Product home page Git Product logo

seleniumpythonhybridframework's Introduction

RAFT - Reusable Automation Framework For Testing

Initial Setup:

  • Install and configure Python3

  • Setup your IDE (Preferably Pycharm Community Edition)

  • Import cloned repository as project

  • Install allure plugin for reporting

    • For Windows:

      • Run this command in powershell
          iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
      • After installing scoop run this command
          scoop install allure
    • For Mac:

      • Run this command on terminal to install homebrew
          /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
      • After installing homebrew run this command
          brew install allure
    • For Linux:

      • Run following commands to install the allure on linux
          sudo apt-add-repository ppa:qameta/allure
          sudo apt-get update
          sudo apt-get install allure
  • Install all required packages using this command

    pip install -r requirements.txt
  • Add your test case under TestScripts folder

  • Add your test data to TestData_Prod.xslx/ TestData_Staging.xslx file

  • Goto execution_commands.md and select specific command to execute the test case

Example:

  • Open pycharm terminal (Alt+F12) and run following command to invoke the chrome browser locally on staging environment
    py.cleanup -p && py.test --environment=staging --browser=local_chrome --alluredir ExecutionReports/
  • Trigger Allure Reports
    allure serve ExecutionReports/

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.