Difference between revisions of "Users"
m |
|||
Line 11: | Line 11: | ||
''Ant'' | ''Ant'' | ||
− | For optimal use ant version 1.8.3 should be used. Ant is only a mean to provide an easy way to setup the execution environment. The driver could very well be started in other ways too. To test if ant if setup properly type | + | For optimal use ant version 1.8.3 should be used. Ant is only a mean to provide an easy way to setup the execution environment. The driver could very well be started in other ways too. To test if ant if setup properly, type |
<nowiki>ant -p</nowiki> | <nowiki>ant -p</nowiki> |
Revision as of 07:59, 28 February 2013
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 ports below 1024, JDK 1.7 should be used. To test which java version you got type:
java -version
Ant
For optimal use ant version 1.8.3 should be used. Ant is only a mean to provide an easy way to setup the execution environment. The driver could very well be started in other ways too. 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.
To provide system properties used in ant scripts set ANT_OPTS accordingly.
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.
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 |
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 |
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 |
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 |
Property | Default | Value |
---|---|---|
ad.messagequeuesize | 5 | MessageQueue size |