forked from webdrivendevelopment/SpecDrill
-
Notifications
You must be signed in to change notification settings - Fork 4
/
specDrillConfig.json
115 lines (115 loc) · 3.99 KB
/
specDrillConfig.json
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"webdriver": {
"mode": "browser", // master switch: browser, appium
"maxWait": 60000,
"waitPollingFrequency": 200,
"screenshots": {
"path": "C:\\screenshots",
"auto": true // automatically save screenshot when test fails
},
"browser": { // settings for browser mode -> targets browser drivers or selenium server
"engine": "webdriver", // webdriver, watin (not supported for now) ...
"browserName": "chrome", // targeted browser name : chrome, ie, firefox, opera, safari
"isRemote": false, // when true, seleniumServerUri must be set
"seleniumServerUri": "http://localhost:5555/wd/hub",
"drivers": {
"chrome": {
"path": "%USERPROFILE%\\.nuget\\packages\\Selenium.WebDriver.ChromeDriver\\83.0.4103.3915\\driver\\win32", //"C:\\Your Browser Drivers Path"//
"arguments": [ "--incognito" ] //, "headless"
},
"ie": { "path": "" },
"firefox": {
"path": "",
"browserBinaryPath": "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe"
},
"opera": { "path": "" },
"safari": { "path": "" }
},
"window": {
"isMaximized": false, // if true, remaining browserWindow properties will be ignored
"initialWidth": 1280, // defaults to 800
"initialHeight": 800 // defaults to 600
},
"screenshots": { "path": "D:\\" },
"capabilities": {
"x": "yy"
}
},
"appium": { // settings for appium mode -> targets Appium server
"serverUri": "http://127.0.0.1:4723/wd/hub",
"capabilities": {
"automationName": "Appium", // Appium, Selendroid
"platformName": "Android", // Android, iOS, FirefoxOS
"deviceName": "192.168.166.101:5555",
"browserName": "Chrome",
"udid": "192.168.166.101:5555",
"orientation": "PORTRAIT" // LANDSCAPE, PORTRAIT
// platform-specific capabilities : not implemented !
//"android": {},
//"iOS": {},
//"firefoxOS": {}
}
}
},
"homepages": [
{
"pageObjectType": "Test000LoginPage",
"url": "../../../../WebsiteMocks/Test000/login.html", // relative url path to executing assembly's location
"isFileSystemPath": true
},
{
"pageObjectType": "Test000GatewayPage",
"url": "../../../../WebsiteMocks/Test000/gateway.html", // relative url path to executing assembly's location
"isFileSystemPath": true
},
{
"pageObjectType": "Test001CalculatorPage",
"url": "../../../../WebsiteMocks/Test001/calculator.html", // relative url path to executing assembly's location
"isFileSystemPath": true
},
{
"pageObjectType": "PdfIndexPage",
"url": "../../../../WebsiteMocks/Pdf/pdfIndex.html", // relative url path to executing assembly's location
"isFileSystemPath": true
},
{
"pageObjectType": "HoverCssPage",
"url": "../../../../WebsiteMocks/hover_css.html", // relative url path to executing assembly's location
"isFileSystemPath": true
},
{
"pageObjectType": "AlertPage",
"url": "../../../../WebsiteMocks/Alerts/alert.html",
"isFileSystemPath": true
},
{
"pageObjectType": "DndHtml5Page",
"url": "../../../../WebsiteMocks/dnd_html5.html",
"isFileSystemPath": true
},
{
"pageObjectType": "DndJQueryPage",
"url": "../../../../WebsiteMocks/dnd_jquery.html",
"isFileSystemPath": true
},
{
"pageObjectType": "ElementStatusPage",
"url": "../../../../WebsiteMocks/element_status.html",
"isFileSystemPath": true
},
{
"pageObjectType": "DndJsPlumbPage",
"url": "https://jsplumbtoolkit.com/community/demo/flowchart/index.html"
},
{
"pageObjectType": "GoogleSearchPage",
"url": "http://www.google.com",
"isFileSystemPath": false
},
{
"pageObjectType": "HomeWindowPage",
"url": "../../../../WebsiteMocks/Windows/home_window.html",
"isFileSystemPath": true
}
]
}