-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.xml
301 lines (301 loc) · 15.2 KB
/
output.xml
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 4.1 (Python 3.9.6 on darwin)" generated="20210823 19:10:13.931" rpa="false" schemaversion="2">
<suite id="s1" name="Tests" source="/Users/anujteotia/Desktop/assignment-rf-selenium-pom/assignment-rf-selenium-pom/Tests">
<suite id="s1-s1" name="Settings Test" source="/Users/anujteotia/Desktop/assignment-rf-selenium-pom/assignment-rf-selenium-pom/Tests/settings_test.robot">
<test id="s1-s1-t1" name="Validate Settings Page">
<kw name="Given I Open '${site_url}' in '${browser}' Browser" library="common_keywords" sourcename="I Open '${url}' in '${browser}' Browser">
<doc>This keyword opens given url in the browser of the choice.</doc>
<kw name="New Browser" library="Browser">
<arg>browser=${browser}</arg>
<arg>headless=${headless_driver}</arg>
<arg>slowMo=1s</arg>
<tag>BrowserControl</tag>
<tag>Setter</tag>
<doc>Create a new playwright Browser with specified options.</doc>
<msg timestamp="20210823 19:10:14.748" level="INFO">{"browser": "chromium", "headless": false, "handleSIGINT": true, "handleSIGTERM": true, "handleSIGHUP": true, "timeout": 30000.0, "devtools": false, "slowMo": 1000.0, "tracesDir": "/Users/anujteotia/Desktop/assignment-rf-selenium-pom/assignment-rf-selenium-pom/browser/traces/db5b98a2-a37f-4d05-a89a-e9abdf220a78"}</msg>
<msg timestamp="20210823 19:10:15.879" level="INFO">Successfully created browser with options: {"browser":"chromium","headless":false,"handleSIGINT":true,"handleSIGTERM":true,"handleSIGHUP":true,"timeout":30000,"devtools":false,"slowMo":1000,"tracesDir":"/Users/anujteotia/Desktop/assignment-rf-selenium-pom/assignment-rf-selenium-pom/browser/traces/db5b98a2-a37f-4d05-a89a-e9abdf220a78"}</msg>
<status status="PASS" starttime="20210823 19:10:14.745" endtime="20210823 19:10:15.879"/>
</kw>
<kw name="Set Browser Timeout" library="Browser">
<arg>${browser_timeout}</arg>
<tag>Config</tag>
<tag>Setter</tag>
<doc>Sets the timeout used by most input and getter keywords.</doc>
<msg timestamp="20210823 19:10:15.887" level="INFO">No context open.</msg>
<status status="PASS" starttime="20210823 19:10:15.880" endtime="20210823 19:10:15.887"/>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<var>&{httpCredentials}</var>
<arg>username=$basic_auth_user</arg>
<arg>password=$basic_auth_pwd</arg>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<msg timestamp="20210823 19:10:15.889" level="INFO">&{httpCredentials} = { username=$basic_auth_user | password=$basic_auth_pwd }</msg>
<status status="PASS" starttime="20210823 19:10:15.888" endtime="20210823 19:10:15.890"/>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<var>&{record_video}</var>
<arg>dir=${OUTPUTDIR}/Videos</arg>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<msg timestamp="20210823 19:10:15.891" level="INFO">&{record_video} = { dir=/Users/anujteotia/Desktop/assignment-rf-selenium-pom/assignment-rf-selenium-pom/Videos }</msg>
<status status="PASS" starttime="20210823 19:10:15.890" endtime="20210823 19:10:15.891"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${record_video}</arg>
<arg>New Context</arg>
<arg>httpCredentials=${httpCredentials}</arg>
<arg>recordVideo=${record_video}</arg>
<arg>ELSE</arg>
<arg>New Context</arg>
<arg>httpCredentials=${httpCredentials}</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="New Context" library="Browser">
<arg>httpCredentials=${httpCredentials}</arg>
<arg>recordVideo=${record_video}</arg>
<tag>BrowserControl</tag>
<tag>Setter</tag>
<doc>Create a new BrowserContext with specified options.</doc>
<msg timestamp="20210823 19:10:15.897" level="INFO">{"acceptDownloads": false, "ignoreHTTPSErrors": false, "bypassCSP": false, "deviceScaleFactor": 1.0, "isMobile": false, "hasTouch": false, "javaScriptEnabled": true, "offline": false, "httpCredentials": "XXX", "hideRfBrowser": false, "recordVideo": {"dir": "/Users/anujteotia/Desktop/assignment-rf-selenium-pom/assignment-rf-selenium-pom/Videos"}}</msg>
<msg timestamp="20210823 19:10:15.981" level="INFO">Successfully created context. </msg>
<msg timestamp="20210823 19:10:15.981" level="INFO">{'acceptDownloads': False, 'ignoreHTTPSErrors': False, 'bypassCSP': False, 'deviceScaleFactor': 1, 'isMobile': False, 'hasTouch': False, 'javaScriptEnabled': True, 'offline': False, 'httpCredentials': 'XXX', 'hideRfBrowser': False, 'recordVideo': {'dir': '/Users/anujteotia/Desktop/assignment-rf-selenium-pom/assignment-rf-selenium-pom/Videos'}}</msg>
<status status="PASS" starttime="20210823 19:10:15.893" endtime="20210823 19:10:15.981"/>
</kw>
<status status="PASS" starttime="20210823 19:10:15.892" endtime="20210823 19:10:15.981"/>
</kw>
<kw name="New Page" library="Browser">
<arg>${url}</arg>
<tag>BrowserControl</tag>
<tag>Setter</tag>
<doc>Open a new Page. A Page is the Playwright equivalent to a tab.
See `Browser, Context and Page` for more information about Page concept.
Returns a stable identifier for the created page.</doc>
<msg timestamp="20210823 19:10:19.945" level="INFO">Successfully initialized new page object and opened url: https://qa-task.backbasecloud.com</msg>
<msg timestamp="20210823 19:10:19.947" level="INFO" html="true"></td></tr><tr><td colspan="3"><video width="1280" height="720" controls><source src="Videos/6197769575bb1718750a06965fa9f3ec.webm" type="video/webm"></video></msg>
<status status="PASS" starttime="20210823 19:10:15.982" endtime="20210823 19:10:19.947"/>
</kw>
<status status="PASS" starttime="20210823 19:10:14.744" endtime="20210823 19:10:19.948"/>
</kw>
<kw name="And Validate Title In Home Page" library="home_page_keywords">
<doc>This keyword validates tile of the home page</doc>
<kw name="Get Text" library="Browser">
<var>${title}</var>
<arg>selector=${conduit_txt}</arg>
<arg>assertion_operator=should be</arg>
<arg>assertion_expected=conduit</arg>
<arg>message=Unable to open Conduit homepage.</arg>
<tag>Assertion</tag>
<tag>Getter</tag>
<tag>PageContent</tag>
<doc>Returns text attribute of the element found by ``selector``.</doc>
<msg timestamp="20210823 19:10:20.019" level="INFO">${title} = conduit</msg>
<status status="PASS" starttime="20210823 19:10:19.949" endtime="20210823 19:10:20.019"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>${title}</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20210823 19:10:20.020" level="INFO">conduit</msg>
<status status="PASS" starttime="20210823 19:10:20.019" endtime="20210823 19:10:20.020"/>
</kw>
<status status="PASS" starttime="20210823 19:10:19.948" endtime="20210823 19:10:20.020"/>
</kw>
<kw name="When Open Sign In Page" library="home_page_keywords">
<doc>This keyword will click on sign In link in conduit home page</doc>
<kw name="Wait For Elements State" library="Browser">
<arg>selector=${sign_in_link}</arg>
<arg>state=visible</arg>
<tag>PageContent</tag>
<tag>Wait</tag>
<doc>Waits for the element found by ``selector`` to satisfy state option.</doc>
<msg timestamp="20210823 19:10:20.038" level="INFO">Wait for Element with selector: //a[contains(text(),'Sign in')]</msg>
<status status="PASS" starttime="20210823 19:10:20.021" endtime="20210823 19:10:20.038"/>
</kw>
<kw name="Click" library="Browser">
<arg>selector=${sign_in_link}</arg>
<tag>PageContent</tag>
<tag>Setter</tag>
<doc>Simulates mouse click on the element found by ``selector``.</doc>
<status status="PASS" starttime="20210823 19:10:20.039" endtime="20210823 19:10:21.156"/>
</kw>
<status status="PASS" starttime="20210823 19:10:20.020" endtime="20210823 19:10:21.156"/>
</kw>
<kw name="Then Validate Login Url" library="login_user_keywords">
<doc>This keyword validates tile of the home page</doc>
<kw name="Get Url" library="Browser">
<var>${login_url}</var>
<arg>assertion_operator=should end with</arg>
<arg>assertion_expected=login</arg>
<arg>message=Unable to open login page.</arg>
<tag>Assertion</tag>
<tag>Getter</tag>
<tag>PageContent</tag>
<doc>Returns the current URL.</doc>
<msg timestamp="20210823 19:10:21.163" level="INFO">${login_url} = https://qa-task.backbasecloud.com/login</msg>
<status status="PASS" starttime="20210823 19:10:21.158" endtime="20210823 19:10:21.163"/>
</kw>
<kw name="Set Test Variable" library="BuiltIn">
<arg>${login_url}</arg>
<arg>${login_url}</arg>
<doc>Makes a variable available everywhere within the scope of the current test.</doc>
<msg timestamp="20210823 19:10:21.168" level="INFO">${login_url} = https://qa-task.backbasecloud.com/login</msg>
<status status="PASS" starttime="20210823 19:10:21.167" endtime="20210823 19:10:21.168"/>
</kw>
<status status="PASS" starttime="20210823 19:10:21.157" endtime="20210823 19:10:21.168"/>
</kw>
<kw name="And Enter Sign In Email Id" library="login_user_keywords">
<arg>${login_emailId}</arg>
<doc>This keyword enter email id for sign in</doc>
<kw name="Fill Text" library="Browser">
<arg>selector=${sign_in_email_txt_box}</arg>
<arg>txt=${email_id}</arg>
<tag>PageContent</tag>
<tag>Setter</tag>
<doc>Clears and fills the given ``txt`` into the text field found by ``selector``.</doc>
<msg timestamp="20210823 19:10:21.171" level="INFO">Fills the text 'qatestuser@gmail.com' in the given field.</msg>
<status status="PASS" starttime="20210823 19:10:21.170" endtime="20210823 19:10:22.215"/>
</kw>
<status status="PASS" starttime="20210823 19:10:21.169" endtime="20210823 19:10:22.215"/>
</kw>
<kw name="And Enter Sign In Password" library="login_user_keywords">
<arg>${login_pwd}</arg>
<doc>This keyword enter password for sign in</doc>
<kw name="Fill Secret" library="Browser">
<arg>selector=${sign_in_pwd_txt_box}</arg>
<arg>secret=$password</arg>
<tag>PageContent</tag>
<tag>Setter</tag>
<doc>Fills the given secret from ``variable_name`` into the
text field found by ``selector``.</doc>
<status status="PASS" starttime="20210823 19:10:22.217" endtime="20210823 19:10:23.290"/>
</kw>
<status status="PASS" starttime="20210823 19:10:22.216" endtime="20210823 19:10:23.290"/>
</kw>
<kw name="Then Click Sign In Button" library="login_user_keywords">
<doc>This keyword clicks on the sign in button</doc>
<kw name="Click" library="Browser">
<arg>selector=${sign_in_btn}</arg>
<tag>PageContent</tag>
<tag>Setter</tag>
<doc>Simulates mouse click on the element found by ``selector``.</doc>
<status status="PASS" starttime="20210823 19:10:23.292" endtime="20210823 19:10:24.414"/>
</kw>
<status status="PASS" starttime="20210823 19:10:23.291" endtime="20210823 19:10:24.415"/>
</kw>
<kw name="And Verify Signed In" library="login_user_keywords">
<doc>This keyword verifies whether sign in is successfull or not</doc>
<kw name="Get Url" library="Browser">
<arg>assertion_operator=should be</arg>
<arg>assertion_expected=${site_url}/</arg>
<arg>message=An Error Occurred!. Email or password is invalid.</arg>
<tag>Assertion</tag>
<tag>Getter</tag>
<tag>PageContent</tag>
<doc>Returns the current URL.</doc>
<status status="PASS" starttime="20210823 19:10:24.417" endtime="20210823 19:10:24.421"/>
</kw>
<kw name="Wait For Elements State" library="Browser">
<arg>selector=${new_article_txt}</arg>
<arg>state=visible</arg>
<tag>PageContent</tag>
<tag>Wait</tag>
<doc>Waits for the element found by ``selector`` to satisfy state option.</doc>
<msg timestamp="20210823 19:10:24.438" level="INFO">Wait for Element with selector: //a[@href='/editor']</msg>
<status status="PASS" starttime="20210823 19:10:24.422" endtime="20210823 19:10:24.438"/>
</kw>
<kw name="Get Text" library="Browser">
<var>${art_txt}</var>
<arg>selector=${new_article_txt}</arg>
<arg>assertion_operator=contains</arg>
<arg>assertion_expected=New Article</arg>
<arg>message=Sign In was unsuccessful</arg>
<tag>Assertion</tag>
<tag>Getter</tag>
<tag>PageContent</tag>
<doc>Returns text attribute of the element found by ``selector``.</doc>
<msg timestamp="20210823 19:10:24.470" level="INFO">${art_txt} = New Article</msg>
<status status="PASS" starttime="20210823 19:10:24.439" endtime="20210823 19:10:24.470"/>
</kw>
<status status="PASS" starttime="20210823 19:10:24.416" endtime="20210823 19:10:24.471"/>
</kw>
<kw name="Then Open Settings Page" library="home_page_keywords">
<doc>This keyword will open Settings page from home page</doc>
<kw name="Wait For Elements State" library="Browser">
<arg>selector=${settings_txt_link}</arg>
<arg>state=visible</arg>
<tag>PageContent</tag>
<tag>Wait</tag>
<doc>Waits for the element found by ``selector`` to satisfy state option.</doc>
<msg timestamp="20210823 19:10:24.483" level="INFO">Wait for Element with selector: //a[@href='/settings']</msg>
<status status="PASS" starttime="20210823 19:10:24.472" endtime="20210823 19:10:24.483"/>
</kw>
<kw name="Click" library="Browser">
<arg>selector=${settings_txt_link}</arg>
<tag>PageContent</tag>
<tag>Setter</tag>
<doc>Simulates mouse click on the element found by ``selector``.</doc>
<status status="PASS" starttime="20210823 19:10:24.483" endtime="20210823 19:10:25.554"/>
</kw>
<status status="PASS" starttime="20210823 19:10:24.471" endtime="20210823 19:10:25.555"/>
</kw>
<kw name="And Validate Settings Page Url" library="settings_keywords">
<doc>This keyword validates the url of settings page</doc>
<kw name="Get Url" library="Browser">
<arg>assertion_operator=should end with</arg>
<arg>assertion_expected=settings</arg>
<arg>message=Unable to open settings page.</arg>
<tag>Assertion</tag>
<tag>Getter</tag>
<tag>PageContent</tag>
<doc>Returns the current URL.</doc>
<status status="PASS" starttime="20210823 19:10:25.556" endtime="20210823 19:10:25.560"/>
</kw>
<status status="PASS" starttime="20210823 19:10:25.555" endtime="20210823 19:10:25.560"/>
</kw>
<kw name="And Validate Settings Title" library="settings_keywords">
<doc>This keyword validates title of the Settings page</doc>
<kw name="Get Text" library="Browser">
<arg>selector=${settings_title_txt}</arg>
<arg>assertion_operator=should be</arg>
<arg>assertion_expected=Your Settings</arg>
<arg>message=Unable to open Settings Page.</arg>
<tag>Assertion</tag>
<tag>Getter</tag>
<tag>PageContent</tag>
<doc>Returns text attribute of the element found by ``selector``.</doc>
<status status="PASS" starttime="20210823 19:10:25.562" endtime="20210823 19:10:25.602"/>
</kw>
<status status="PASS" starttime="20210823 19:10:25.561" endtime="20210823 19:10:25.602"/>
</kw>
<doc>This test case login using basic authentication and validates Home Page</doc>
<tag>FEATURE-ARTICLES</tag>
<tag>GUI_TEST</tag>
<tag>SETTINGS</tag>
<status status="PASS" starttime="20210823 19:10:14.740" endtime="20210823 19:10:25.602"/>
</test>
<kw name="Close Browser" library="Browser" type="TEARDOWN">
<arg>ALL</arg>
<tag>BrowserControl</tag>
<tag>Setter</tag>
<doc>Closes the current browser.</doc>
<msg timestamp="20210823 19:10:26.142" level="INFO">Closed all browsers</msg>
<status status="PASS" starttime="20210823 19:10:25.871" endtime="20210823 19:10:26.142"/>
</kw>
<status status="PASS" starttime="20210823 19:10:13.964" endtime="20210823 19:10:26.142"/>
</suite>
<status status="PASS" starttime="20210823 19:10:13.934" endtime="20210823 19:10:26.149"/>
</suite>
<statistics>
<total>
<stat pass="1" fail="0" skip="0">All Tests</stat>
</total>
<tag>
<stat pass="1" fail="0" skip="0">FEATURE-ARTICLES</stat>
<stat pass="1" fail="0" skip="0">GUI_TEST</stat>
<stat pass="1" fail="0" skip="0">SETTINGS</stat>
</tag>
<suite>
<stat pass="1" fail="0" skip="0" id="s1" name="Tests">Tests</stat>
<stat pass="1" fail="0" skip="0" id="s1-s1" name="Settings Test">Tests.Settings Test</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>