1+ {
2+ "id": "1a83cd76-e78d-4402-b40e-5805b2403f44",
3+ "version": "2.0",
4+ "name": "Example",
5+ "url": "https://automationintesting.com",
6+ "tests": [{
7+ "id": "0896d7a2-81f1-4972-bbc3-4880718bc157",
8+ "name": "Test1",
9+ "commands": [{
10+ "id": "4770f8f0-e2c5-434e-847c-b79ecadebf41",
11+ "comment": "",
12+ "command": "open",
13+ "target": "/selenium/testpage/",
14+ "targets": [],
15+ "value": ""
16+ }, {
17+ "id": "8068ba5f-597f-4d50-834d-b057c2cfb2ea",
18+ "comment": "",
19+ "command": "setWindowSize",
20+ "target": "1936x1056",
21+ "targets": [],
22+ "value": ""
23+ }, {
24+ "id": "90423ff3-98f2-4de8-9998-32088c188647",
25+ "comment": "",
26+ "command": "click",
27+ "target": "id=firstname",
28+ "targets": [
29+ ["id=firstname", "id"],
30+ ["css=#firstname", "css:finder"],
31+ ["xpath=//input[@id='firstname']", "xpath:attributes"],
32+ ["xpath=//form[@id='contactus']/div/div/label/input", "xpath:idRelative"],
33+ ["xpath=//input", "xpath:position"]
34+ ],
35+ "value": ""
36+ }, {
37+ "id": "fa88b63a-f245-4374-8db2-284f239c3ee0",
38+ "comment": "",
39+ "command": "type",
40+ "target": "id=firstname",
41+ "targets": [
42+ ["id=firstname", "id"],
43+ ["css=#firstname", "css:finder"],
44+ ["xpath=//input[@id='firstname']", "xpath:attributes"],
45+ ["xpath=//form[@id='contactus']/div/div/label/input", "xpath:idRelative"],
46+ ["xpath=//input", "xpath:position"]
47+ ],
48+ "value": "test"
49+ }, {
50+ "id": "2626b60b-2f5b-473d-b342-4f5ec36501b5",
51+ "comment": "",
52+ "command": "click",
53+ "target": "xpath=//form[@id='contactus']/div[2]/div/label/input",
54+ "targets": [
55+ ["id=surname", "id"],
56+ ["css=#surname", "css:finder"],
57+ ["xpath=//input[@id='surname']", "xpath:attributes"],
58+ ["xpath=//form[@id='contactus']/div[2]/div/label/input", "xpath:idRelative"],
59+ ["xpath=//div[2]/div/label/input", "xpath:position"]
60+ ],
61+ "value": ""
62+ }, {
63+ "id": "65b0a638-0f79-4a43-ac8a-db482d18c3cd",
64+ "comment": "",
65+ "command": "type",
66+ "target": "xpath=//form[@id='contactus']/div[2]/div/label/input",
67+ "targets": [
68+ ["id=surname", "id"],
69+ ["css=#surname", "css:finder"],
70+ ["xpath=//input[@id='surname']", "xpath:attributes"],
71+ ["xpath=//form[@id='contactus']/div[2]/div/label/input", "xpath:idRelative"],
72+ ["xpath=//div[2]/div/label/input", "xpath:position"]
73+ ],
74+ "value": "test2"
75+ }, {
76+ "id": "e9047045-ede4-4c13-81b5-f8c036cb527c",
77+ "comment": "",
78+ "command": "click",
79+ "target": "id=gender",
80+ "targets": [
81+ ["id=gender", "id"],
82+ ["css=#gender", "css:finder"],
83+ ["xpath=//select[@id='gender']", "xpath:attributes"],
84+ ["xpath=//form[@id='contactus']/div[3]/div/label/select", "xpath:idRelative"],
85+ ["xpath=//select", "xpath:position"]
86+ ],
87+ "value": ""
88+ }, {
89+ "id": "f9341c3c-215b-44c1-9fff-fa977a7ba599",
90+ "comment": "",
91+ "command": "select",
92+ "target": "id=gender",
93+ "targets": [],
94+ "value": "label=Male"
95+ }, {
96+ "id": "39458fd5-e6ac-46c7-9e48-b24349314ef0",
97+ "comment": "",
98+ "command": "click",
99+ "target": "id=red",
100+ "targets": [
101+ ["id=red", "id"],
102+ ["name=colour", "name"],
103+ ["css=#red", "css:finder"],
104+ ["xpath=//input[@id='red']", "xpath:attributes"],
105+ ["xpath=//form[@id='contactus']/div[4]/div/input", "xpath:idRelative"],
106+ ["xpath=//div/input", "xpath:position"]
107+ ],
108+ "value": ""
109+ }, {
110+ "id": "a1ded097-b395-4bed-b641-7c2ab136d411",
111+ "comment": "",
112+ "command": "click",
113+ "target": "css=textarea",
114+ "targets": [
115+ ["css=textarea", "css:finder"],
116+ ["xpath=//form[@id='contactus']/div[5]/div/label/textarea", "xpath:idRelative"],
117+ ["xpath=//textarea", "xpath:position"]
118+ ],
119+ "value": ""
120+ }, {
121+ "id": "582f0b4e-2521-404e-a912-39261d867d11",
122+ "comment": "",
123+ "command": "type",
124+ "target": "css=textarea",
125+ "targets": [
126+ ["css=textarea", "css:finder"],
127+ ["xpath=//form[@id='contactus']/div[5]/div/label/textarea", "xpath:idRelative"],
128+ ["xpath=//textarea", "xpath:position"]
129+ ],
130+ "value": "text"
131+ }, {
132+ "id": "764ae979-42dd-457e-95c5-5dddad91e44d",
133+ "comment": "",
134+ "command": "addSelection",
135+ "target": "id=continent",
136+ "targets": [
137+ ["id=continent", "id"],
138+ ["css=#continent", "css:finder"],
139+ ["xpath=//select[@id='continent']", "xpath:attributes"],
140+ ["xpath=//form[@id='contactus']/div[6]/div/label/select", "xpath:idRelative"],
141+ ["xpath=//div[6]/div/label/select", "xpath:position"]
142+ ],
143+ "value": "label=North America"
144+ }, {
145+ "id": "bb929f6f-ee4c-43ad-920b-0806aba3c37d",
146+ "comment": "",
147+ "command": "click",
148+ "target": "id=checkbox1",
149+ "targets": [
150+ ["id=checkbox1", "id"],
151+ ["css=#checkbox1", "css:finder"],
152+ ["xpath=//input[@id='checkbox1']", "xpath:attributes"],
153+ ["xpath=//form[@id='contactus']/div[4]/div[2]/input", "xpath:idRelative"],
154+ ["xpath=//div[2]/input", "xpath:position"]
155+ ],
156+ "value": ""
157+ }, {
158+ "id": "542d6958-faab-40e9-9b4b-81f051673c23",
159+ "comment": "",
160+ "command": "click",
161+ "target": "id=submitbutton",
162+ "targets": [
163+ ["id=submitbutton", "id"],
164+ ["css=#submitbutton", "css:finder"],
165+ ["xpath=//button[@id='submitbutton']", "xpath:attributes"],
166+ ["xpath=//form[@id='contactus']/div[7]/div/button", "xpath:idRelative"],
167+ ["xpath=//div/button", "xpath:position"],
168+ ["xpath=//button[contains(.,'I do nothing!')]", "xpath:innerText"]
169+ ],
170+ "value": ""
171+ }]
172+ }, {
173+ "id": "c0d8e914-0e45-4d59-be13-b902e026cb6c",
174+ "name": "Test2",
175+ "commands": [{
176+ "id": "319fa3e0-f697-4963-a879-b358fff62a77",
177+ "comment": "",
178+ "command": "open",
179+ "target": "/selenium/testpage/",
180+ "targets": [],
181+ "value": ""
182+ }, {
183+ "id": "27aa1c23-21c7-45dc-8887-fe3d0e8f592b",
184+ "comment": "",
185+ "command": "setWindowSize",
186+ "target": "1936x1056",
187+ "targets": [],
188+ "value": ""
189+ }, {
190+ "id": "421ace3d-1377-4423-9257-bfc703103beb",
191+ "comment": "",
192+ "command": "sendKeys",
193+ "target": "id=firstname",
194+ "targets": [],
195+ "value": "test3"
196+ }, {
197+ "id": "301e2ba3-8f11-42cd-a41e-8241e158e962",
198+ "comment": "",
199+ "command": "sendKeys",
200+ "target": "id=firstname",
201+ "targets": [
202+ ["id=firstname", "id"],
203+ ["css=#firstname", "css:finder"],
204+ ["xpath=//input[@id='firstname']", "xpath:attributes"],
205+ ["xpath=//form[@id='contactus']/div/div/label/input", "xpath:idRelative"],
206+ ["xpath=//input", "xpath:position"]
207+ ],
208+ "value": "${KEY_ENTER}"
209+ }]
210+ }, {
211+ "id": "8b6ff854-fefb-40bc-bd48-d206878b9e64",
212+ "name": "Test3",
213+ "commands": [{
214+ "id": "a3b6e82e-a847-4ac5-ac72-a05c5150d107",
215+ "comment": "",
216+ "command": "open",
217+ "target": "http://www.tagindex.net/html/frame/example_f01.html",
218+ "targets": [],
219+ "value": ""
220+ }, {
221+ "id": "785d2ca1-c20b-4b96-a03e-43119ad2ecef",
222+ "comment": "",
223+ "command": "setWindowSize",
224+ "target": "1936x1056",
225+ "targets": [],
226+ "value": ""
227+ }, {
228+ "id": "150bc283-671d-4d77-b1a5-b5dd20c2eee3",
229+ "comment": "",
230+ "command": "selectFrame",
231+ "target": "index=0",
232+ "targets": [
233+ ["index=0"]
234+ ],
235+ "value": ""
236+ }, {
237+ "id": "50809502-afdf-4b1b-943b-40524bbd2420",
238+ "comment": "",
239+ "command": "click",
240+ "target": "css=html",
241+ "targets": [
242+ ["css=html", "css:finder"],
243+ ["xpath=//html", "xpath:position"]
244+ ],
245+ "value": ""
246+ }, {
247+ "id": "e726cc31-c25f-4cf7-92fe-77d976bb2f91",
248+ "comment": "",
249+ "command": "selectFrame",
250+ "target": "relative=parent",
251+ "targets": [
252+ ["relative=parent"]
253+ ],
254+ "value": ""
255+ }, {
256+ "id": "71ab81f7-8c7d-413e-a7ed-f68c224b1373",
257+ "comment": "",
258+ "command": "selectFrame",
259+ "target": "index=1",
260+ "targets": [
261+ ["index=1"]
262+ ],
263+ "value": ""
264+ }, {
265+ "id": "6e01154b-2221-4eef-98db-5760b52063e0",
266+ "comment": "",
267+ "command": "doubleClick",
268+ "target": "css=p",
269+ "targets": [
270+ ["css=p", "css:finder"],
271+ ["xpath=//div[@id='MainBox']/p", "xpath:idRelative"],
272+ ["xpath=//p", "xpath:position"],
273+ ["xpath=//p[contains(.,'Please return to the previous page using the browsers \"back\" button.')]", "xpath:innerText"]
274+ ],
275+ "value": ""
276+ }, {
277+ "id": "a9f64bfd-1962-4f32-aa85-85d1ae4af91a",
278+ "comment": "",
279+ "command": "close",
280+ "target": "",
281+ "targets": [],
282+ "value": ""
283+ }]
284+ }],
285+ "suites": [{
286+ "id": "3fb340b3-1af6-4948-ad2a-c689126d9dad",
287+ "name": "Default Suite",
288+ "persistSession": false,
289+ "parallel": false,
290+ "timeout": 300,
291+ "tests": ["0896d7a2-81f1-4972-bbc3-4880718bc157"]
292+ }],
293+ "urls": ["https://automationintesting.com/"],
294+ "plugins": []
295+ }
0 commit comments