testplan command line argumentsby Group Public on Thursday February 12 2009 @ 10:19:25 (1/1 Points) |
|
| Configuration ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It |
If the basic execution as described in Getting Started→ does not meet your needs you may need to invoke some of the additional command-line options.
--scriptDir
This adds another directory to the list used to locate test files and java classes.
Refer to scriptDir, Filename, and path resolution→.
--classPath
This adds another directory or file to the java classpath.
Name=Value
This defines an additional item in the context with the given name and value. This will be in the root context available to all units.
These items follow the same format as the ptest→ file format.
Note that the order of these parameters is important if using references or if loading files found in one of the scriptDir's.
+file.ptest
The context items in this file will be loaded and added to the root context.
This is a ptest→ file format.
Browser
--selenium
Instructs TestPlan to use the Selenium back-end instead of the internal browser.
Refer to Using Selenium→
--explorer
A shortcut to use Internet Explorer with Selenium.
--firefox
A shortcut to use Firefox with Selenium.
--htmlunit
Specifies that HTMLUnit should be used as the browser. This is the default.
Output
--verbose
Increases the number of messages output.
--hideMainLog
Suppresses output of the primary log.
Refer to Logging and Status Output→
--quiet
Suppresses all standard output.
Network
--ioTimeout=time
The time, in milliseconds, how long remote connections will wait for a response before they timeout.
--httpProxy=proxy
Specifies the HTTP/web proxy to use for all outgoing HTTP requests.
--httpProxyPort=port
Specifies the port to use for proxy requests. Used in conjustion with httpProxy.
Note: An unfortunate typo defect in the 1.0r0 release the port is specified with --httpProxyPost. It is fixed in future releases.
TestPlan testplan command line arguments
