######################################################################
#                                                                    #
#   Sample configuration for the Wetator                             #
#                                                                    #
#   Copyright (c) 2008-2021 wetator.org                              #
#                                                                    #
######################################################################


## -------------------------------------------------------------------
## The base url for the machine to test against
## this is the variable part of the application url that
## will change if you test a installation of the application
## on a different server
##
## required (there is no default)
## -------------------------------------------------------------------
wetator.baseUrl = http://www.wetator.org


## -------------------------------------------------------------------
## The timeout in seconds wetator will wait for javascript jobs
## to complete after the execution of an action.
##
## default is 1
## -------------------------------------------------------------------
# wetator.jsTimeout = 2
wetator.jsJobFilterFile = js_filter.cfg

## -------------------------------------------------------------------
## The timeout in seconds wetator will wait for a http response.
##
## default is 90
## -------------------------------------------------------------------
# wetator.httpTimeout = 300


## -----------------------------------------------------------
## The comma separated list of browsers used for every
## test case run.
## valid value:   Firefox
##                Firefox_68
##                IE_11
##                CHROME
##
## Default is the Firefox_68.
## -----------------------------------------------------------
wetator.browser=IE_11, Firefox_68, CHROME


## -----------------------------------------------------------
## The comma separated list of mock clases used to simulate
## ActiveX objects when simulating IE.
## Use | to separate the id from the java class name.
## -----------------------------------------------------------
# wetator.browser.activeXObjects=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000|org.wetator.ext.FlashMock


## -----------------------------------------------------------
## Use this to define the Accept-Language header like
## your browser does.
## Default is 'en-us,en;q=0.8,de-de;q=0.5,de;q=0.3'.
## -----------------------------------------------------------
# wetator.acceptLanguage=en-us,en;q=0.8,de-de;q=0.5,de;q=0.3
# wetator.acceptLanguage=de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
# wetator.acceptLanguage=en,de
# wetator.acceptLanguage=de,en


## -----------------------------------------------------------
## When uploading files the browser determines the content type
## based on
## 1. a list of well known file prefixes
## 2. if there is no match the browser will interact with the
## operating system to figure out a proper type based on the
## installed software.
## Use this setting to simulate e.g. a MS Office installation
## -----------------------------------------------------------
## word
# wetator.uploadMimeType.doc=application/msword
# wetator.uploadMimeType.docx=application/vnd.openxmlformats-officedocument.wordprocessingml.document
## excel
# wetator.uploadMimeType.xls=application/vnd.ms-excel
# wetator.uploadMimeType.xlsx=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
## powerpoint
# wetator.uploadMimeType.ppt=application/vnd.ms-powerpoint
# wetator.uploadMimeType.pptx=application/vnd.openxmlformats-officedocument.presentationml.presentation


## -----------------------------------------------------------
## The directory used to store the xml report.
## All other reports are using this directory also.
##
## Set the property wetator.distinctOutput to true if
## you like to have a distinct subdir for every test run
## -----------------------------------------------------------
wetator.outputDir=../logs
wetator.distinctOutput=false


## -----------------------------------------------------------
## Deep logging in case of an error if > 0.
## This defines the no of steps to be logged
## (default -1 means disabled)
## Enabling this will change the log level for
## * org.apache.http.wire
## to TRACE. Take care that all your appenders for this logger
## have a proper threshold defined.
## -----------------------------------------------------------
# wetator.retrospect = 4


## -----------------------------------------------------------
## Start the build-in js debugger.
## -----------------------------------------------------------
# wetator.jsDebugger = on

## -----------------------------------------------------------
## The names of xsl templates used to transform the result
## into different more readable output.
## -----------------------------------------------------------
wetator.xslTemplates=../xsl/run_report.xsl


## -------------------------------------------------------------------
## PROXY
##
## if you want to test an application behind a proxy, set the following
## name or ip of your proxy
## -------------------------------------------------------------------
# wetator.proxyHost=127.0.0.1
# wetator.proxyHost=myproxy.somewhere.edu

## proxy-port
# wetator.proxyPort=8888

## bypass the proxy for the following hosts
## you can use * as wildcard and define more
## hosts by separating them with |
# wetator.proxyHostsToBypass=*google.com|www.gebit.de

## proxy-user
# wetator.proxyUser=proxyuser
# wetator.proxyPassword=proxypassword


## -------------------------------------------------------------------
## Authorization
##
##  - basic auth
##  - NTLM auth
## -------------------------------------------------------------------

## Basic Auth
# wetator.basicAuthUser=
# wetator.basicAuthPassword=

## NTLM Auth
# wetator.ntlmUser=
# wetator.ntlmPassword=
# wetator.ntlmWorkstation=
# wetator.ntlmDomain=


## -----------------------------------------------------------
## The comma separated list of command sets.
## There is no need to register the build in default command
## sets (e.g. org.wetator.commandset.DefaultCommandSet) here.
## -----------------------------------------------------------
# wetator.commandSets=org.wetator.commandset.SqlCommandSet
wetator.commandSets=org.wetator.commandset.IncubatorCommandSet
# org.wetator.commandset.TestCommandSet


## -----------------------------------------------------------
## The separator used for splitting the WPath into parts.
## Default is '>'.
## -----------------------------------------------------------
# wetator.wpath.separator=,


## -----------------------------------------------------------
## The comma separated list of controls.
## There is no need to register the build in default controls
## here.
## -----------------------------------------------------------
# wetator.controls=


## -----------------------------------------------------------
## The comma separated list of scripters.
## There is no need to register the build in
## default scripter's here.
## -----------------------------------------------------------
# wetator.scripters=


## -----------------------------------------------------------
## The locale used for reading the test written in excel.
## Usually the test are running on a server that uses
## a locale different from the client that was used for
## test writing.
## -----------------------------------------------------------
wetator.scripter.excel.locale=de


## -------------------------------------------------------------------
## Database connections
##
## -------------------------------------------------------------------
# wetator.db.connections=wetdb, secondDb

# wetator.db.wetdb.driver=org.hsqldb.jdbcDriver
# wetator.db.wetdb.url=jdbc:hsqldb:mem:wetdb
# wetator.db.wetdb.user=sa
# wetator.db.wetdb.password=

# wetator.db.secondDb.driver=org.hsqldb.jdbcDriver
# wetator.db.secondDb.url=jdbc:hsqldb:mem:second_db
# wetator.db.secondDb.user=sa
# wetator.db.secondDb.password=


## -------------------------------------------------------------------
## You can define variables in your tests, which are
## resolved at runtime. The name of the variable must start
## with $. If you define some secret (don't display the value in all
## log output, then start the name with $$
## -------------------------------------------------------------------
$app_user=dobby
$$app_password=secret

$wet=Wetator
$$wet-secret=Wetator
