|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.selenium.server.htmlrunner.HTMLLauncher
public class HTMLLauncher
Runs HTML Selenium test suites.
Constructor Summary | |
---|---|
HTMLLauncher(SeleniumServer remoteControl)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
static int |
mainInt(java.lang.String... args)
|
void |
processResults(HTMLTestResults resultsParm)
Accepts HTMLTestResults for later asynchronous handling |
java.lang.String |
runHTMLSuite(java.lang.String browser,
java.lang.String browserURL,
java.io.File suiteFile,
java.io.File outputFile,
int timeoutInSeconds,
boolean multiWindow)
Launches a single HTML Selenium test suite. |
java.lang.String |
runHTMLSuite(java.lang.String browser,
java.lang.String browserURL,
java.lang.String suiteURL,
java.io.File outputFile,
int timeoutInSeconds,
boolean multiWindow)
Launches a single HTML Selenium test suite. |
boolean |
runSelfTests(java.io.File dir)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLLauncher(SeleniumServer remoteControl)
Method Detail |
---|
public java.lang.String runHTMLSuite(java.lang.String browser, java.lang.String browserURL, java.lang.String suiteURL, java.io.File outputFile, int timeoutInSeconds, boolean multiWindow) throws java.io.IOException
browser
- - the browserString ("*firefox", "*iexplore" or an executable path)browserURL
- - the start URL for the browsersuiteURL
- - the relative URL to the HTML suiteoutputFile
- - The file to which we'll output the HTML resultstimeoutInSeconds
- - the amount of time (in seconds) to wait for the browser to finishmultiWindow
- TODO
java.io.IOException
- if we can't write the output filepublic java.lang.String runHTMLSuite(java.lang.String browser, java.lang.String browserURL, java.io.File suiteFile, java.io.File outputFile, int timeoutInSeconds, boolean multiWindow) throws java.io.IOException
browser
- - the browserString ("*firefox", "*iexplore" or an executable path)browserURL
- - the start URL for the browsersuiteFile
- - a file containing the HTML suite to runoutputFile
- - The file to which we'll output the HTML resultstimeoutInSeconds
- - the amount of time (in seconds) to wait for the browser to finishmultiWindow
- - whether to run the browser in multiWindow or else framed mode
java.io.IOException
- if we can't write the output filepublic void processResults(HTMLTestResults resultsParm)
processResults
in interface HTMLResultsListener
public boolean runSelfTests(java.io.File dir) throws java.io.IOException
java.io.IOException
public static int mainInt(java.lang.String... args) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |