-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.xml
286 lines (286 loc) · 13 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
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 4.1.3 (Python 3.10.10 on win32)" generated="20230404 20:36:20.215" rpa="false" schemaversion="2">
<suite id="s1" name="Execution File" source="C:\Users\s.pattanshetti\OneDrive - Accenture\Desktop\Sample_Automation\Usecases\execution_file.robot">
<test id="s1-t1" name="sort_functionality">
<kw name="login" library="login_logout_keywords" type="SETUP">
<kw name="Open Browser" library="SeleniumLibrary">
<arg>${url}</arg>
<arg>${edge}</arg>
<doc>Opens a new browser instance to the given ``url``.</doc>
<msg timestamp="20230404 20:36:20.884" level="INFO">Opening browser 'Edge' to base url 'https://www.saucedemo.com/'.</msg>
<status status="PASS" starttime="20230404 20:36:20.883" endtime="20230404 20:36:29.358"/>
</kw>
<kw name="Maximize Browser Window" library="SeleniumLibrary">
<doc>Maximizes current browser window.</doc>
<status status="PASS" starttime="20230404 20:36:29.358" endtime="20230404 20:36:29.579"/>
</kw>
<kw name="Wait Until Element Is Visible" library="SeleniumLibrary">
<arg>${login_btn}</arg>
<arg>${wait_30}</arg>
<doc>Waits until element ``locator`` is visible.</doc>
<status status="PASS" starttime="20230404 20:36:29.580" endtime="20230404 20:36:29.647"/>
</kw>
<kw name="Input Text" library="SeleniumLibrary">
<arg>${username_input}</arg>
<arg>${username}</arg>
<doc>Types the given ``text`` into text field identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:29.648" level="INFO">Typing text 'standard_user' into text field 'xpath://input[@id='user-name']'.</msg>
<status status="PASS" starttime="20230404 20:36:29.647" endtime="20230404 20:36:29.891"/>
</kw>
<kw name="Decrypt Password" library="decrypt_password">
<var>${pass}</var>
<arg>${login_password}</arg>
<msg timestamp="20230404 20:36:29.918" level="INFO">${pass} = secret_sauce</msg>
<status status="PASS" starttime="20230404 20:36:29.892" endtime="20230404 20:36:29.918"/>
</kw>
<kw name="Input Text" library="SeleniumLibrary">
<arg>${password_input}</arg>
<arg>${pass}</arg>
<doc>Types the given ``text`` into text field identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:29.920" level="INFO">Typing text 'secret_sauce' into text field 'xpath://input[@id='password']'.</msg>
<status status="PASS" starttime="20230404 20:36:29.919" endtime="20230404 20:36:30.173"/>
</kw>
<kw name="Click Element" library="SeleniumLibrary">
<arg>${login_btn}</arg>
<doc>Click element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:30.176" level="INFO">Clicking element 'xpath://input[@id='login-button']'.</msg>
<status status="PASS" starttime="20230404 20:36:30.175" endtime="20230404 20:36:30.417"/>
</kw>
<status status="PASS" starttime="20230404 20:36:20.883" endtime="20230404 20:36:30.417"/>
</kw>
<kw name="sort_low_to_high" library="sort_keywords">
<kw name="Click Element" library="SeleniumLibrary">
<arg>${sort_btn}</arg>
<doc>Click element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:30.429" level="INFO">Clicking element 'xpath://select[@class='product_sort_container']'.</msg>
<status status="PASS" starttime="20230404 20:36:30.429" endtime="20230404 20:36:30.721"/>
</kw>
<kw name="Log" library="BuiltIn">
<arg>Sampreet</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20230404 20:36:30.722" level="INFO">Sampreet</msg>
<status status="PASS" starttime="20230404 20:36:30.721" endtime="20230404 20:36:30.722"/>
</kw>
<kw name="Set Log Level" library="BuiltIn">
<arg>INFO</arg>
<doc>Sets the log threshold to the specified level and returns the old level.</doc>
<msg timestamp="20230404 20:36:30.723" level="INFO">Log level changed from INFO to INFO.</msg>
<status status="PASS" starttime="20230404 20:36:30.722" endtime="20230404 20:36:30.723"/>
</kw>
<kw name="Wait Until Element Is Visible" library="SeleniumLibrary">
<arg>${sort_lohi}</arg>
<doc>Waits until element ``locator`` is visible.</doc>
<status status="PASS" starttime="20230404 20:36:30.723" endtime="20230404 20:36:30.873"/>
</kw>
<kw name="Click Element" library="SeleniumLibrary">
<arg>${sort_lohi}</arg>
<doc>Click element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:30.874" level="INFO">Clicking element 'xpath://option[@value='lohi']'.</msg>
<status status="PASS" starttime="20230404 20:36:30.874" endtime="20230404 20:36:31.027"/>
</kw>
<kw name="Press Keys" library="SeleniumLibrary">
<arg>None</arg>
<arg>ESC</arg>
<doc>Simulates user pressing key(s) to an element or on the active browser.</doc>
<msg timestamp="20230404 20:36:31.028" level="INFO">Sending key(s) ('ESC',) to page.</msg>
<msg timestamp="20230404 20:36:31.028" level="INFO">Pressing special key ESCAPE to browser.</msg>
<status status="PASS" starttime="20230404 20:36:31.028" endtime="20230404 20:36:31.067"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${abc}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20230404 20:36:31.067" level="INFO">${abc} = []</msg>
<status status="PASS" starttime="20230404 20:36:31.067" endtime="20230404 20:36:31.067"/>
</kw>
<kw name="Create List" library="BuiltIn">
<var>${bca}</var>
<doc>Returns a list containing given items.</doc>
<msg timestamp="20230404 20:36:31.068" level="INFO">${bca} = []</msg>
<status status="PASS" starttime="20230404 20:36:31.068" endtime="20230404 20:36:31.068"/>
</kw>
<for flavor="IN RANGE">
<var>${counter}</var>
<value>1</value>
<value>7</value>
<iter>
<var name="${counter}">1</var>
<kw name="Get Text" library="SeleniumLibrary">
<var>${a}</var>
<arg>(//div[@class='inventory_item_price'])[${counter}]</arg>
<doc>Returns the text value of element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:31.190" level="INFO">${a} = $7.99</msg>
<status status="PASS" starttime="20230404 20:36:31.069" endtime="20230404 20:36:31.190"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${abc}</arg>
<arg>${a}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20230404 20:36:31.191" endtime="20230404 20:36:31.191"/>
</kw>
<status status="PASS" starttime="20230404 20:36:31.069" endtime="20230404 20:36:31.191"/>
</iter>
<iter>
<var name="${counter}">2</var>
<kw name="Get Text" library="SeleniumLibrary">
<var>${a}</var>
<arg>(//div[@class='inventory_item_price'])[${counter}]</arg>
<doc>Returns the text value of element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:31.256" level="INFO">${a} = $9.99</msg>
<status status="PASS" starttime="20230404 20:36:31.193" endtime="20230404 20:36:31.257"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${abc}</arg>
<arg>${a}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20230404 20:36:31.257" endtime="20230404 20:36:31.258"/>
</kw>
<status status="PASS" starttime="20230404 20:36:31.192" endtime="20230404 20:36:31.258"/>
</iter>
<iter>
<var name="${counter}">3</var>
<kw name="Get Text" library="SeleniumLibrary">
<var>${a}</var>
<arg>(//div[@class='inventory_item_price'])[${counter}]</arg>
<doc>Returns the text value of element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:31.320" level="INFO">${a} = $15.99</msg>
<status status="PASS" starttime="20230404 20:36:31.258" endtime="20230404 20:36:31.320"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${abc}</arg>
<arg>${a}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20230404 20:36:31.320" endtime="20230404 20:36:31.321"/>
</kw>
<status status="PASS" starttime="20230404 20:36:31.258" endtime="20230404 20:36:31.321"/>
</iter>
<iter>
<var name="${counter}">4</var>
<kw name="Get Text" library="SeleniumLibrary">
<var>${a}</var>
<arg>(//div[@class='inventory_item_price'])[${counter}]</arg>
<doc>Returns the text value of element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:31.364" level="INFO">${a} = $15.99</msg>
<status status="PASS" starttime="20230404 20:36:31.321" endtime="20230404 20:36:31.365"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${abc}</arg>
<arg>${a}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20230404 20:36:31.365" endtime="20230404 20:36:31.366"/>
</kw>
<status status="PASS" starttime="20230404 20:36:31.321" endtime="20230404 20:36:31.366"/>
</iter>
<iter>
<var name="${counter}">5</var>
<kw name="Get Text" library="SeleniumLibrary">
<var>${a}</var>
<arg>(//div[@class='inventory_item_price'])[${counter}]</arg>
<doc>Returns the text value of element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:31.427" level="INFO">${a} = $29.99</msg>
<status status="PASS" starttime="20230404 20:36:31.366" endtime="20230404 20:36:31.427"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${abc}</arg>
<arg>${a}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20230404 20:36:31.428" endtime="20230404 20:36:31.428"/>
</kw>
<status status="PASS" starttime="20230404 20:36:31.366" endtime="20230404 20:36:31.428"/>
</iter>
<iter>
<var name="${counter}">6</var>
<kw name="Get Text" library="SeleniumLibrary">
<var>${a}</var>
<arg>(//div[@class='inventory_item_price'])[${counter}]</arg>
<doc>Returns the text value of element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:31.474" level="INFO">${a} = $49.99</msg>
<status status="PASS" starttime="20230404 20:36:31.429" endtime="20230404 20:36:31.474"/>
</kw>
<kw name="Append To List" library="Collections">
<arg>${abc}</arg>
<arg>${a}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" starttime="20230404 20:36:31.474" endtime="20230404 20:36:31.475"/>
</kw>
<status status="PASS" starttime="20230404 20:36:31.428" endtime="20230404 20:36:31.476"/>
</iter>
<status status="PASS" starttime="20230404 20:36:31.068" endtime="20230404 20:36:31.476"/>
</for>
<kw name="Copy List" library="Collections">
<var>${bca}</var>
<arg>${abc}</arg>
<doc>Returns a copy of the given list.</doc>
<msg timestamp="20230404 20:36:31.477" level="INFO">${bca} = ['$7.99', '$9.99', '$15.99', '$15.99', '$29.99', '$49.99']</msg>
<status status="PASS" starttime="20230404 20:36:31.476" endtime="20230404 20:36:31.477"/>
</kw>
<kw name="Reg Exp" library="python">
<var>${r1}</var>
<arg>${bca}</arg>
<msg timestamp="20230404 20:36:31.478" level="INFO">${r1} = [7.99, 9.99, 15.99, 15.99, 29.99, 49.99]</msg>
<status status="PASS" starttime="20230404 20:36:31.477" endtime="20230404 20:36:31.478"/>
</kw>
<kw name="Reg Exp" library="python">
<var>${r2}</var>
<arg>${abc}</arg>
<msg timestamp="20230404 20:36:31.479" level="INFO">${r2} = [7.99, 9.99, 15.99, 15.99, 29.99, 49.99]</msg>
<status status="PASS" starttime="20230404 20:36:31.478" endtime="20230404 20:36:31.479"/>
</kw>
<kw name="Sort List" library="Collections">
<arg>${r1}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" starttime="20230404 20:36:31.479" endtime="20230404 20:36:31.479"/>
</kw>
<kw name="Should Be Equal" library="BuiltIn">
<arg>${r1}</arg>
<arg>${r2}</arg>
<doc>Fails if the given objects are unequal.</doc>
<status status="PASS" starttime="20230404 20:36:31.480" endtime="20230404 20:36:31.480"/>
</kw>
<status status="PASS" starttime="20230404 20:36:30.428" endtime="20230404 20:36:31.480"/>
</kw>
<kw name="logout" library="login_logout_keywords" type="TEARDOWN">
<kw name="Click Element" library="SeleniumLibrary">
<arg>${left_menu}</arg>
<doc>Click element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:31.482" level="INFO">Clicking element 'xpath://button[@id='react-burger-menu-btn']'.</msg>
<status status="PASS" starttime="20230404 20:36:31.482" endtime="20230404 20:36:31.633"/>
</kw>
<kw name="Wait Until Element Is Visible" library="SeleniumLibrary">
<arg>${logout_btn}</arg>
<doc>Waits until element ``locator`` is visible.</doc>
<status status="PASS" starttime="20230404 20:36:31.633" endtime="20230404 20:36:31.722"/>
</kw>
<kw name="Click Element" library="SeleniumLibrary">
<arg>${logout_btn}</arg>
<doc>Click element identified by ``locator``.</doc>
<msg timestamp="20230404 20:36:31.723" level="INFO">Clicking element 'xpath://a[@id='logout_sidebar_link']'.</msg>
<status status="PASS" starttime="20230404 20:36:31.722" endtime="20230404 20:36:31.941"/>
</kw>
<kw name="Wait Until Element Is Visible" library="SeleniumLibrary">
<arg>${login_btn}</arg>
<doc>Waits until element ``locator`` is visible.</doc>
<status status="PASS" starttime="20230404 20:36:31.942" endtime="20230404 20:36:32.026"/>
</kw>
<kw name="Close Browser" library="SeleniumLibrary">
<doc>Closes the current browser.</doc>
<status status="PASS" starttime="20230404 20:36:32.026" endtime="20230404 20:36:35.254"/>
</kw>
<status status="PASS" starttime="20230404 20:36:31.481" endtime="20230404 20:36:35.255"/>
</kw>
<status status="PASS" starttime="20230404 20:36:20.881" endtime="20230404 20:36:35.255"/>
</test>
<status status="PASS" starttime="20230404 20:36:20.217" endtime="20230404 20:36:35.257"/>
</suite>
<statistics>
<total>
<stat pass="1" fail="0" skip="0">All Tests</stat>
</total>
<tag>
</tag>
<suite>
<stat pass="1" fail="0" skip="0" id="s1" name="Execution File">Execution File</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>