public class HTMLLauncher
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HTMLLauncher.Args |
Constructor and Description |
---|
HTMLLauncher() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static int |
mainInt(java.lang.String... args) |
java.lang.String |
runHTMLSuite(java.lang.String browser,
java.lang.String startURL,
java.lang.String suiteURL,
java.io.File outputFile,
long timeoutInSeconds,
java.lang.String userExtensions)
Launches a single HTML Selenium test suite.
|
public java.lang.String runHTMLSuite(java.lang.String browser, java.lang.String startURL, java.lang.String suiteURL, java.io.File outputFile, long timeoutInSeconds, java.lang.String userExtensions) throws java.io.IOException
browser
- - the browserString ("*firefox", "*iexplore" or an executable path)startURL
- - 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 finishjava.io.IOException
- if we can't write the output filepublic 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