GithubHelp home page GithubHelp logo

qa-test's Introduction

QA Testing Engineer Profile Test Ricardo Gonzalez

This project uses Python 3.11 and the frameworks Behave(BDD) and Selenium.

This README outlines the necessary steps for setting up and running QA profile tests. It provides an introduction to Selenium, the automation testing framework, and explains how to use it to write automated tests for web applications. It also provides a walkthrough of an example test and explains the different types of tests that can be performed using Selenium. Finally, it outlines the process for using Selenium with remote WebDriver

Page Object Model (POM)

The Page Object Model (POM) is a design pattern used in Selenium for automating the test cases. This pattern creates an object repository for web UI elements and also serves as an interface for writing the tests. It helps to reduce code duplication and makes the tests more maintainable and readable. The POM pattern also helps to separate the test data from the test code, making the tests more modular and easier to read.

The default browser is Chrome, if you want run the tests in other browser, not only you have to install the module for the web browser that you desire, but change the parameter browser with the corresponding option in the WebDriverSetup.py file. The Selenium modules are available for:

  • chrome
  • firefox
  • safari
  • edge

Selenium's source code is made available under the Apache 2.0 license.

Documentation

Selenium documentation:

Pytest documentation:

API documentation:

This project is for execute the tests locally

Requirements

  • Install the latest version of python. See documentation https://www.python.org/
    • Insstall pip, This command should work python3 get-pip.py
    • Install Selenium, This command should work pip3 install selenium
    • Install WebDriver browser, This command should work pip3 install webdriver-manager
    • Install pytest, This command should work pip3 install pytest

Runnig

  • For run this tests: in the Root file use pytest -v command

qa-test's People

Contributors

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