-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.xml
222 lines (222 loc) · 13.3 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
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 4.1.3 (Python 3.8.9 on darwin)" generated="20220505 22:32:58.253" rpa="false" schemaversion="2">
<suite id="s1" name="Agoda" source="/Users/alanliew/Desktop/Robot/agoda.robot">
<test id="s1-t1" name="Testcase1-OpenBrowser">
<kw name="Open Browser" library="SeleniumLibrary">
<arg>${url}</arg>
<arg>${browser}</arg>
<doc>Opens a new browser instance to the optional ``url``.</doc>
<msg timestamp="20220505 22:32:58.374" level="INFO">Opening browser 'chrome' to base url 'https://agoda.com'.</msg>
<status status="PASS" starttime="20220505 22:32:58.373" endtime="20220505 22:33:03.089"/>
</kw>
<kw name="Close Browser" library="SeleniumLibrary">
<doc>Closes the current browser.</doc>
<status status="PASS" starttime="20220505 22:33:03.089" endtime="20220505 22:33:03.167"/>
</kw>
<status status="PASS" starttime="20220505 22:32:58.373" endtime="20220505 22:33:03.167"/>
</test>
<test id="s1-t2" name="Testcase2-RightNavigation">
<kw name="Open Browser" library="SeleniumLibrary">
<arg>${url}</arg>
<arg>${browser}</arg>
<doc>Opens a new browser instance to the optional ``url``.</doc>
<msg timestamp="20220505 22:33:03.168" level="INFO">Opening browser 'chrome' to base url 'https://agoda.com'.</msg>
<status status="PASS" starttime="20220505 22:33:03.168" endtime="20220505 22:33:06.087"/>
</kw>
<kw name="Title Should Be" library="SeleniumLibrary">
<arg>Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels</arg>
<doc>Verifies that the current page title equals ``title``.</doc>
<msg timestamp="20220505 22:33:06.090" level="INFO">Page title is 'Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels'.</msg>
<status status="PASS" starttime="20220505 22:33:06.087" endtime="20220505 22:33:06.090"/>
</kw>
<kw name="Close Browser" library="SeleniumLibrary">
<doc>Closes the current browser.</doc>
<status status="PASS" starttime="20220505 22:33:06.090" endtime="20220505 22:33:06.164"/>
</kw>
<status status="PASS" starttime="20220505 22:33:03.168" endtime="20220505 22:33:06.164"/>
</test>
<test id="s1-t3" name="Testcase3-Textboxenabled">
<kw name="Open Browser" library="SeleniumLibrary">
<arg>${url}</arg>
<arg>${browser}</arg>
<doc>Opens a new browser instance to the optional ``url``.</doc>
<msg timestamp="20220505 22:33:06.165" level="INFO">Opening browser 'chrome' to base url 'https://agoda.com'.</msg>
<status status="PASS" starttime="20220505 22:33:06.165" endtime="20220505 22:33:09.217"/>
</kw>
<kw name="Title Should Be" library="SeleniumLibrary">
<arg>Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels</arg>
<doc>Verifies that the current page title equals ``title``.</doc>
<msg timestamp="20220505 22:33:09.220" level="INFO">Page title is 'Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels'.</msg>
<status status="PASS" starttime="20220505 22:33:09.217" endtime="20220505 22:33:09.220"/>
</kw>
<kw name="Wait Until Element Is Visible" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input</arg>
<doc>Waits until the element ``locator`` is visible.</doc>
<status status="PASS" starttime="20220505 22:33:09.220" endtime="20220505 22:33:09.250"/>
</kw>
<kw name="Close Browser" library="SeleniumLibrary">
<doc>Closes the current browser.</doc>
<status status="PASS" starttime="20220505 22:33:09.250" endtime="20220505 22:33:09.326"/>
</kw>
<status status="PASS" starttime="20220505 22:33:06.164" endtime="20220505 22:33:09.326"/>
</test>
<test id="s1-t4" name="Testcase4-Inputtext">
<kw name="Open Browser" library="SeleniumLibrary">
<arg>${url}</arg>
<arg>${browser}</arg>
<doc>Opens a new browser instance to the optional ``url``.</doc>
<msg timestamp="20220505 22:33:09.327" level="INFO">Opening browser 'chrome' to base url 'https://agoda.com'.</msg>
<status status="PASS" starttime="20220505 22:33:09.327" endtime="20220505 22:33:12.324"/>
</kw>
<kw name="Title Should Be" library="SeleniumLibrary">
<arg>Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels</arg>
<doc>Verifies that the current page title equals ``title``.</doc>
<msg timestamp="20220505 22:33:12.327" level="INFO">Page title is 'Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels'.</msg>
<status status="PASS" starttime="20220505 22:33:12.325" endtime="20220505 22:33:12.327"/>
</kw>
<kw name="Wait Until Element Is Visible" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input</arg>
<doc>Waits until the element ``locator`` is visible.</doc>
<status status="PASS" starttime="20220505 22:33:12.327" endtime="20220505 22:33:12.346"/>
</kw>
<kw name="Input Text" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input</arg>
<arg>kampar</arg>
<doc>Types the given ``text`` into the text field identified by ``locator``.</doc>
<msg timestamp="20220505 22:33:12.346" level="INFO">Typing text 'kampar' into text field 'xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input'.</msg>
<status status="PASS" starttime="20220505 22:33:12.346" endtime="20220505 22:33:12.454"/>
</kw>
<kw name="Click Button" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[2]/button</arg>
<doc>Clicks the button identified by ``locator``.</doc>
<msg timestamp="20220505 22:33:12.454" level="INFO">Clicking button 'xpath://*[@id="SearchBoxContainer"]/div[2]/button'.</msg>
<status status="PASS" starttime="20220505 22:33:12.454" endtime="20220505 22:33:14.323"/>
</kw>
<kw name="Close Browser" library="SeleniumLibrary">
<doc>Closes the current browser.</doc>
<status status="PASS" starttime="20220505 22:33:14.324" endtime="20220505 22:33:14.410"/>
</kw>
<status status="PASS" starttime="20220505 22:33:09.327" endtime="20220505 22:33:14.411"/>
</test>
<test id="s1-t5" name="Testcase5-waitradiobutton">
<kw name="Open Browser" library="SeleniumLibrary">
<arg>${url}</arg>
<arg>${browser}</arg>
<doc>Opens a new browser instance to the optional ``url``.</doc>
<msg timestamp="20220505 22:33:14.412" level="INFO">Opening browser 'chrome' to base url 'https://agoda.com'.</msg>
<status status="PASS" starttime="20220505 22:33:14.411" endtime="20220505 22:33:17.437"/>
</kw>
<kw name="Title Should Be" library="SeleniumLibrary">
<arg>Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels</arg>
<doc>Verifies that the current page title equals ``title``.</doc>
<msg timestamp="20220505 22:33:17.441" level="INFO">Page title is 'Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels'.</msg>
<status status="PASS" starttime="20220505 22:33:17.437" endtime="20220505 22:33:17.441"/>
</kw>
<kw name="Wait Until Element Is Visible" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input</arg>
<doc>Waits until the element ``locator`` is visible.</doc>
<status status="PASS" starttime="20220505 22:33:17.441" endtime="20220505 22:33:17.460"/>
</kw>
<kw name="Input Text" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input</arg>
<arg>kampar</arg>
<doc>Types the given ``text`` into the text field identified by ``locator``.</doc>
<msg timestamp="20220505 22:33:17.460" level="INFO">Typing text 'kampar' into text field 'xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input'.</msg>
<status status="PASS" starttime="20220505 22:33:17.460" endtime="20220505 22:33:17.581"/>
</kw>
<kw name="Click Button" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[2]/button</arg>
<doc>Clicks the button identified by ``locator``.</doc>
<msg timestamp="20220505 22:33:17.581" level="INFO">Clicking button 'xpath://*[@id="SearchBoxContainer"]/div[2]/button'.</msg>
<status status="PASS" starttime="20220505 22:33:17.581" endtime="20220505 22:33:20.037"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>3</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20220505 22:33:23.045" level="INFO">Slept 3 seconds</msg>
<status status="PASS" starttime="20220505 22:33:20.037" endtime="20220505 22:33:23.045"/>
</kw>
<kw name="Wait Until Element Is Enabled" library="SeleniumLibrary">
<arg>xpath://*[@id="searchPageLeftColumn"]/div[2]/div[1]/div[2]/ul/li[3]/span</arg>
<doc>Waits until the element ``locator`` is enabled.</doc>
<msg timestamp="20220505 22:33:28.562" level="INFO" html="true"></td></tr><tr><td colspan="3"><a href="selenium-screenshot-29.png"><img src="selenium-screenshot-29.png" width="800px"></a></msg>
<msg timestamp="20220505 22:33:28.574" level="FAIL">Element with locator 'xpath://*[@id="searchPageLeftColumn"]/div[2]/div[1]/div[2]/ul/li[3]/span' not found.</msg>
<status status="FAIL" starttime="20220505 22:33:23.046" endtime="20220505 22:33:28.574"/>
</kw>
<kw name="Close Browser" library="SeleniumLibrary">
<doc>Closes the current browser.</doc>
<status status="NOT RUN" starttime="20220505 22:33:28.575" endtime="20220505 22:33:28.575"/>
</kw>
<status status="FAIL" starttime="20220505 22:33:14.411" endtime="20220505 22:33:28.575">Element with locator 'xpath://*[@id="searchPageLeftColumn"]/div[2]/div[1]/div[2]/ul/li[3]/span' not found.</status>
</test>
<test id="s1-t6" name="Testcase6-checkbox">
<kw name="Open Browser" library="SeleniumLibrary">
<arg>${url}</arg>
<arg>${browser}</arg>
<doc>Opens a new browser instance to the optional ``url``.</doc>
<msg timestamp="20220505 22:33:28.576" level="INFO">Opening browser 'chrome' to base url 'https://agoda.com'.</msg>
<status status="PASS" starttime="20220505 22:33:28.575" endtime="20220505 22:33:31.961"/>
</kw>
<kw name="Title Should Be" library="SeleniumLibrary">
<arg>Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels</arg>
<doc>Verifies that the current page title equals ``title``.</doc>
<msg timestamp="20220505 22:33:31.966" level="INFO">Page title is 'Agoda Official Site | Free Cancellation & Booking Deals | Over 2 Million Hotels'.</msg>
<status status="PASS" starttime="20220505 22:33:31.962" endtime="20220505 22:33:31.966"/>
</kw>
<kw name="Wait Until Element Is Visible" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input</arg>
<doc>Waits until the element ``locator`` is visible.</doc>
<status status="PASS" starttime="20220505 22:33:31.966" endtime="20220505 22:33:31.985"/>
</kw>
<kw name="Input Text" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input</arg>
<arg>kampar</arg>
<doc>Types the given ``text`` into the text field identified by ``locator``.</doc>
<msg timestamp="20220505 22:33:31.985" level="INFO">Typing text 'kampar' into text field 'xpath://*[@id="SearchBoxContainer"]/div[1]/div/div[2]/div/div/div[1]/div/div/input'.</msg>
<status status="PASS" starttime="20220505 22:33:31.985" endtime="20220505 22:33:32.083"/>
</kw>
<kw name="Click Button" library="SeleniumLibrary">
<arg>xpath://*[@id="SearchBoxContainer"]/div[2]/button</arg>
<doc>Clicks the button identified by ``locator``.</doc>
<msg timestamp="20220505 22:33:32.083" level="INFO">Clicking button 'xpath://*[@id="SearchBoxContainer"]/div[2]/button'.</msg>
<status status="PASS" starttime="20220505 22:33:32.083" endtime="20220505 22:34:05.703"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>3</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20220505 22:34:08.704" level="INFO">Slept 3 seconds</msg>
<status status="PASS" starttime="20220505 22:34:05.703" endtime="20220505 22:34:08.704"/>
</kw>
<kw name="Wait Until Element Is Enabled" library="SeleniumLibrary">
<arg>xpath://*[@id="searchPageLeftColumn"]/div[2]/div[1]/div[2]/ul/li[3]/span</arg>
<doc>Waits until the element ``locator`` is enabled.</doc>
<msg timestamp="20220505 22:34:14.263" level="INFO" html="true"></td></tr><tr><td colspan="3"><a href="selenium-screenshot-30.png"><img src="selenium-screenshot-30.png" width="800px"></a></msg>
<msg timestamp="20220505 22:34:14.264" level="FAIL">Element with locator 'xpath://*[@id="searchPageLeftColumn"]/div[2]/div[1]/div[2]/ul/li[3]/span' not found.</msg>
<status status="FAIL" starttime="20220505 22:34:08.704" endtime="20220505 22:34:14.264"/>
</kw>
<kw name="Click Element" library="SeleniumLibrary">
<arg>xpath://*[@id="searchPageLeftColumn"]/div[2]/div[1]/div[2]/ul/li[1]/span/span[2]/span/span</arg>
<doc>Click the element identified by ``locator``.</doc>
<status status="NOT RUN" starttime="20220505 22:34:14.264" endtime="20220505 22:34:14.264"/>
</kw>
<kw name="Close Browser" library="SeleniumLibrary">
<doc>Closes the current browser.</doc>
<status status="NOT RUN" starttime="20220505 22:34:14.264" endtime="20220505 22:34:14.264"/>
</kw>
<status status="FAIL" starttime="20220505 22:33:28.575" endtime="20220505 22:34:14.264">Element with locator 'xpath://*[@id="searchPageLeftColumn"]/div[2]/div[1]/div[2]/ul/li[3]/span' not found.</status>
</test>
<status status="FAIL" starttime="20220505 22:32:58.254" endtime="20220505 22:34:14.265"/>
</suite>
<statistics>
<total>
<stat pass="4" fail="2" skip="0">All Tests</stat>
</total>
<tag>
</tag>
<suite>
<stat pass="4" fail="2" skip="0" id="s1" name="Agoda">Agoda</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>