Giter VIP home page Giter VIP logo

automated_testing_for_cloud_more's Introduction

Testing website for the company

PS. I am using Ubuntu 20.10

You need to have Mozilla Firefox web browser.


How to run?

Step 1 (Optional) : Create virtual environment

python -m venv venv or python3 -m venv venv

source venv/bin/activate - for Linux and Mac

venv/Scripts/activate.bat - for Windows

Step 2: Install the requirenments:

pip install -r requirenments or pip3 install -r requirenments

Step 3: Run the automated testing script:

python script.py or python3 script.py

Output can be found on:

  1. terminal where you run script
  2. in the reports folder

Information about the package and files.

  1. tests/ - in the folder where seperate tests can be found

  2. tests/settings.py - file where different kind of configurations.

  3. tests/utils.py - in the file there is BeautifulSoup script which gets links of the page

  4. webdriver/ - in the folder firefox drivers can be found

    1. ./webdriver/geckodriver - driver for Linux
    2. ./webdriver/geckodriver.exe - driver for Windows
    3. Ps. change settings.py file. WEBDRIVER_PATH variable
  5. reports/ the folder stores html reports for tests after running script.py

  6. requirements file where you can find requirement modules for script


Additional information

You can run each test seperately:

python ./tests/TestName.py -v

or

python3 ./tests/TestName.py -v

automated_testing_for_cloud_more's People

Contributors

kamilraliyev avatar

Watchers

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