Repository navigation
Expand file tree
/
Copy pathscript_example.json
More file actions
31 lines (31 loc) · 1.46 KB
/
Copy pathscript_example.json
File metadata and controls
31 lines (31 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
{
"server": "https://api-v5-dstu2.hspconsortium.org/InfernoDev/data",
"arguments": {
"client_name": "Inferno",
"scopes": "launch launch/patient offline_access openid profile user/*.* patient/*.*",
"confidential_client": true,
"standalone_launch_script": [
{"cmd": "send_keys", "type": "name", "find_value": "email", "value": "inferno@groups.mitre.org"},
{"cmd": "send_keys", "type": "name", "find_value": "password", "value": "xxx"},
{"cmd": "click", "type": "tag_name", "find_value": "button", "index": 3},
{"cmd": "click", "type": "class", "find_value": "patient-row", "index": 1},
{"cmd": "click", "type": "name", "find_value": "authorize"}
],
"ehr_launch_script": [
{"cmd": "navigate", "value": "https://sandbox.hspconsortium.org/InfernoDev"},
{"cmd": "click", "type": "tag_name", "find_value": "button", "index": 0},
{"cmd": "send_keys", "type": "name", "find_value": "email", "value": "inferno@groups.mitre.org"},
{"cmd": "send_keys", "type": "name", "find_value": "password", "value": "xxx"},
{"cmd": "click", "type": "tag_name", "find_value": "button", "index": 3},
{"cmd": "wait", "value": 5},
{"cmd": "click", "type": "class", "find_value": "appLaunchIcon", "index": 0},
{"cmd": "click", "type": "class", "find_value": "patient-row", "index": 2}
]
},
"sequences": [
"Conformance",
"DynamicRegistration",
"StandaloneLaunch",
"ArgonautPatient"
]
}