Users

From Autodrive
Revision as of 07:53, 28 February 2013 by Hjortskov (Talk | contribs)

Jump to: navigation, search

Userguide

This is the userguide descriping how to setup and run the autodriver.

Java version

Due to a bug in older versions of java when binding port below 1024, JDK 1.7 should be used. To test which java version you got type:

java -version

Ant

For optimal use version 1.8.3 should be used. To test if ant if setup properly type

ant -p

Either it complains about a missing build.xml or it will show which ant targets are available. All other results suggest a bad installation.

System properties

A set of system properties control the behavior of the driver. Each property is set by the –D option and has the form of name=value.

Main properties
Property Default Value
ad.stoponerrors false Whether to stop on errors or not
ad.scriptdir . script folder to load scripts from
ad.script N/A script to run at startup, if not set read from stdin
ad.suitename Default Specify an automation suite name for the report ad.startsuite False When true, previous reports are overwritten
Log properties
Property Default Value
ad.logtoconsole false When true, log to out stream and stdout
ad.loglevel INFO Log4j log level
ad.logoutput Autodriver.log Log4j logfile
DNS properties
Property Default Value
ad.localdns N/A hosts file to use for resolving dns entries
sun.net.spi.nameservice.provider.1 dns,LocalManagedDns
sun.net.spi.nameservice.provider.2 dns,sun
Advanced properties
Property Default Value
ad.properties N/A Property file to load for variable substitution
ad.plugin.list Used plugins
ad.threadInstances 1 Number of automation threads to run
Utility properties
Property Default Value
ad.messagequeuesize 5 MessageQueue size