#7343: SageNB -- Add a Selenium test suite.
----------------------------+-----------------------------------------------
Reporter: timdumol | Owner: boothby
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-4.2.1
Component: notebook | Keywords:
Work_issues: | Author: Mike Hansen, Tim Joseph Dumol
Reviewer: Mitesh Patel | Merged:
----------------------------+-----------------------------------------------
Comment(by mpatel):
A sample Selenium-RC startup script:
{{{
#!sh
#!/bin/bash
JAVA="/usr/java/latest/bin/java"
SEL_DIR="/home/apps/selenium/selenium-remote-control-1.0.1/selenium-serve
r-1.0.1"
FF_BROW="*firefox3"
FF_EXEC="/usr/lib64/firefox-3.5.3/firefox"
FF_PROF="/home/sage/selenium/firefox/selenium1"
OP_BROW="*opera"
OP_EXEC="/usr/lib/opera/opera"
CR_BROW="*chrome"
CR_EXEC="/usr/lib64/chromium-browser/chromium-browser"
BROW="$FF_BROW"
BROW_EXEC="$FF_EXEC"
OPTS=""
#OPTS="$OPTS -firefoxProfileTemplate $FF_PROF"
OPTS="$OPTS -singleWindow"
#OPTS="$OPTS -browserSessionReuse"
#OPTS="$OPTS -ensureCleanSession"
#OPTS="$OPTS -debug"
#OPTS="$OPTS -browserSideLog"
#OPTS="$OPTS -log test.log"
#OPTS="$OPTS -trustAllSSLCertificates"
#OPTS="$OPTS -forcedBrowserMode $BROW"
OPTS="$OPTS -forcedBrowserModeRestOfLine $BROW $BROW_EXEC"
$JAVA -jar "$SEL_DIR/selenium-server.jar" $* $OPTS
}}}
Note: Opera 10 and Chromium are not supported.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7343#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---