Giter VIP home page Giter VIP logo

python_selenium_qa's Introduction

Python_Selenium_QA

Excersie expectations

The goal of this project is to test the following log-in webpage https://app.sysdigcloud.com/#/login

Prerequisites

First, we need to install the Selenium framework:
pip3 install selenium
We can confirm the installation like this:

pip3 list | grep selenium
selenium                      4.2.0

Then we will need a web driver, in this case, I will be using Chrome to make the test. The link is on the following page
Make sure that you add the executable driver to the $PATH env variable once installed.

Usage

Install the repository:
git clone https://github.com/S3B4SZ17/Python_Selenium_QA.git \

There are 2 options to run the Script:

cd Python_Selenium_QA
python3 login.py -u [email protected]

or

cd Python_Selenium_QA
chmod u+x login.py
./login.py -u [email protected] -p password_test

You can run it with the -h option to see the information of all the parameter flags. If no flags are specified the default options will be used.

Improvements

  • If we could have more time we can validate the format of the username and password to see if they meet minimum security constraints and best practices.
  • We could also test the response times of the page.
  • Check the other login options, if using Google, SAML or OpenID
  • We can also check the response times, and functionality and see if there are any changes or errors when using a different region.

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.