Giter VIP home page Giter VIP logo

dbot's Introduction

Dbot (Dempuraworks Automated Testing Bot)

A Python based automation software built with selenium, currently compatible for Chrome and Firefox testing

Set up Instructions

  1. Install Selenium in Terminal (using pip or pip3)
pip install selenium

Or download and install the latest selenium version from here

  1. Download Browsers (instructions below)

  2. Run the program with a compatible code editor or IDE (eg: VS Code, PyCharm etc)

  3. Test scripts are classified by the number in the filename and the test case document is stored in Dbot/Dbot_automated_test_scenarios where the behaviour of each sript can be referred to

  4. Sciprt is operated in the source_code/desktop_test_script.py file for desktop based testing and source_code/mobile_test_script.py for mobile based testing, source_code/const.py can be used to change parameters

Driver installation instructions

Chrome Driver

  1. Open Google Chrome
  2. On the Chrome address bar, type:
chrome://version

You will see the following at the top of the screen:

Google Chrome: your version of google chrome
  1. Go to this page and click the file name that is equivalent to your version of google chrome (this contains the drivers to perform the automated tests on google chrome)

  2. Download the file name based on your operating system

  3. Download or move the file to directory: Dbot/Dbot_automated_test_scenarios

  4. The setup for chrome driver is complete

Firefox Driver

  1. Go here and download the latest version of the driver for your operating system

  2. macOS 10.15 (Catalina) and later:

    Due to the requirement from Apple that all programs must be notarized, geckodriver will not work on Catalina if you manually download it through another notarized program, such as Firefox

    Whilst we are working on a repackaging fix for this problem, you can find more details on how to work around this issue in the macOS notarization section of the documentation

  3. Download or move the file to directory: Dbot/Dbot_automated_test_scenarios

  4. The setup for firefox driver is complete

dbot's People

Contributors

botbotpod avatar kiwimaples avatar

Watchers

James Cloos avatar  avatar Kostas Georgiou 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.