Giter Site home page Giter Site logo

qa-tests's Introduction

Test Status Python3 Robot Framework Selenium

SETUP ENV AND INSTALL REQUIREMENTS

  • an installation of Python 3 with pip is ready run once:
$ bash ./installation.sh

RUNUNG TEST

$ bash ./run_test.sh

TESTS

  • Step 1: Validation of Form looks like in the attached image
  • step 2: Company Details
  • step 3: Administrator account details
  • step 4: Terms and conditions
  • step 5: Sign up And Login To Dashboard

LOGS

  • Logs and reports for tests will be saved in logs directory

WEB DRIVERS

  • chromedriver & geckodriver suiteable with your OS and browser version
  • chromedriver 74 and geckodriver 0.24 for linux x64 are in libs and will be copied to bin dir of venv)
    • if encounter this error:
    WebDriverException: Message: 'chromedriver' executable needs to be in PATH.
    
    its because your chrome version is not 74 Please see https://sites.google.com/a/chromium.org/chromedriver/home

ROBOT FRAMEWORKS COMMAND FOR RUN THE TEST

$ robot -P ./libs/ -d logs -v browser:chrome signup_and_Login.robot

CHANGE BROWSER

  • robot -P ./libs/ -d logs -v browser:{browsername} signup_and_Login.robot
    • chrome
    • headlesschrome
    • headlessfirefox
    • firefox

RUN IN REMOTE SELENIUM GRID

can be run in any remote Selenium grid with uncomment remote_url=${SelenimURL} in resources/setup.robot and define ${SelenimURL}

ROBOT FRAMEWORK

Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD). It has easy-to-use tabular test data syntax and it utilizes the keyword-driven testing approach.

Its testing capabilities can be extended by test libraries implemented either with Python or Java, and users can create new higher-level keywords from existing ones using the same syntax that is used for creating test cases. Robot Framework project is hosted on GitHub where you can find further documentation, source code, and issue tracker.

Downloads are hosted at PyPI. The framework has a rich ecosystem around it consisting of various generic test libraries and tools that are developed as separate projects.

Robot Framework is operating system and application independent. The core framework is implemented using Python and runs also on Jython (JVM) and IronPython (.NET).

Robot Framework itself is open source software released under Apache License 2.0, and most of the libraries and tools in the ecosystem are also open source. The framework was initially developed at Nokia Networks and it is nowadays sponsored by Robot Framework Foundation.

REFRENCES

qa-tests's People

Contributors

mehrdad-abdoli 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.