-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyrobotConfig.py
More file actions
38 lines (29 loc) · 1.46 KB
/
PyrobotConfig.py
File metadata and controls
38 lines (29 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
###############################################################################################################
# Configure Logging:
# A directory to place log files in
LOG_DIR = "./logs/"
WORKSPACE_ = "./workspace/"
###############################################################################################################
# Dynamic pybot variables:
# Specifies an 3D-array with variables passed to the single pybot instances
# Each row contains a variablename - value(s) combination (array, name at index 0, values at 1++)
# One variable value will be passed to each python instance using --variable name:value
# If multiple values are defined parabot will iterate over the values and assign one to each pybot
DYN_ARGS = [
# specify different users
["USER", "Hans", "Klaus", "Peter", "Martin", "Eric"],
# passwords
["PASS", "HansPassword", "KlausPassword", "PetersPassword", "MartinsPassword", "EricsPassword"]
]
time_between_test_start_up = 0
##########
# NEW
##########
SAUCE_USERNAME = 'talliskane'
SAUCE_ACCESSKEY = "6c3ed64b-e065-4df4-b921-75336e2cb9cf"
DEFAULT_SAUCEURL = "sauce-ondemand:?username=%s&access-key=%s&os=Windows 2012 R2&browser=%s&browser-version=11&max-duration=null&idle-timeout=null"
DEFAULT_SOLO_BROWSER = 'firefox'
DEFAULT_BROWSER_DISPLAY = ":80"
BROWSER_CAPABILITIES = 'name:%s,platform:%s,version:%s,browserName:%s,javascriptEnabled:True,screen-resolution:1280x1024'
BASE_URL = "http://www.google.ca"
BROWSER_RESOLUTION = "1024x768"