~vasilev/psiphon/sprint3-579678

« back to all changes in this revision

Viewing changes to trunk/testing/selenium_scripts/README

  • Committer: Adam Pritchard
  • Date: 2010-07-16 19:31:33 UTC
  • mfrom: (95.1.8 testing-2.5)
  • Revision ID: adam@adampsidev-20100716193133-n6rxnrqwt68d0ck8
Made Selenium work; added some tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
Selenium IDE Firefox extension can be downloaded here:
5
5
http://seleniumhq.org/download/
6
6
 
 
7
== Development environment assumption ==
 
8
It is assumed that
 
9
 
7
10
== Modification to http.conf ==
8
11
A change to http.conf is necessary to allow direct access to the Selenium files.
9
12
After the <Location /> block, add this block:
10
 
<Location /test>
 
13
<Location /selenium_scripts>
11
14
PsiphonAuthEnable Off
12
15
</Location>
13
16
 
14
17
== Hardcoded values ==
15
 
The proxy login suffix is /12345/. This is set in login.html.
 
 
b'\\ No newline at end of file'
 
18
The proxy login suffix is /12345/. This is set in test_init.html.
 
19
 
 
20
== Starting the test ==
 
21
Start one of two ways:
 
22
- in browser, load https://127.0.0.1/selenium_scripts/test_start.php
 
23
  - requires symlink www/selenium_scripts pointing to testing/selenium_scripts
 
24
- at command link, execute run_suite.sh
 
25
  - creates the symlink it needs
 
26
 
 
27
== User-contributed Selenium extensions ==
 
28
We are using user-contributed Selenium extensions. They are added to Selenium
 
29
by appending them to selenium_scripts/selenium/core/scripts/user-extensions.js
 
30
(for non-IDE runs) and selenium_scripts/selenium/core/scripts/user-extensions.IDE.js
 
31
(for IDE runs).
 
32
A list of available extensions can be found here:
 
33
http://wiki.openqa.org/display/SEL/Contributed+User-Extensions
 
34
Note that the Selenium IDE has an option to point to the user-extensions so that
 
35
it can use them properly (Options menu; Options; Selenium Core extension; and
 
36
set it to selenium_scripts/selenium/core/scripts/user-extensions.IDE.js).
 
 
b'\\ No newline at end of file'