ReportBot: automated viewing of website reports: Perbedaan revisi

(Created page with "=ReportBot: automated website report viewing system= ==Introduction== ==Installation== # Install the appropriate Python for your system. Download from https://www.python.org/...")
 
(Installation)
Baris 5: Baris 5:
 
# Install the appropriate Python for your system. Download from https://www.python.org/downloads/ and following the installation instructions.
 
# Install the appropriate Python for your system. Download from https://www.python.org/downloads/ and following the installation instructions.
 
# Download the Selenium Python bindings (using the green button at the top of the page) at https://pypi.python.org/pypi/selenium
 
# Download the Selenium Python bindings (using the green button at the top of the page) at https://pypi.python.org/pypi/selenium
##  
+
## Decompress the tar.gz file, and save the directory structure (it should be saved as a directory called something like selenium-2.42.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
+
## 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)
 +
# Install the web driver software
 +
## 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
 +
## Save it into the Python install directory (normally C:\Python27)
 +
# Install the python script
 +
## Copy and save the script below into a file called ReportBot.py
  
 
==Python code==
 
==Python code==

Revisi per 22 Juli 2014 08.34

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