ReportBot: automated viewing of website reports

Revisi per 22 Juli 2014 08.34 oleh Angus (bicara | kontrib) (Installation)

ReportBot: automated website report viewing system

Introduction

Installation

  1. Install the appropriate Python for your system. Download from https://www.python.org/downloads/ and following the installation instructions.
  2. Download the Selenium Python bindings (using the green button at the top of the page) at https://pypi.python.org/pypi/selenium
    1. Decompress the tar.gz file, and save the directory structure (it should be saved as a directory called something like selenium-2.42.1)
    2. From the saved directory, under the 'py' directory, copy the entire 'selenium' directory and subdirectories into the 'Lib' directory of the python install (normally C:\Python27\Lib)
  3. Install the web driver software
    1. Download the right web driver for the web browser that will be used from http://code.google.com/p/selenium/w/list?can=2&q=label=WebDriver&colspec=PageName%20Summary%20Changed%20ChangedBy
    2. Save it into the Python install directory (normally C:\Python27)
  4. Install the python script
    1. Copy and save the script below into a file called ReportBot.py

Python code