2023-10-15 19:56:06 +00:00
<?xml version="1.0" encoding="UTF-8"?>
2023-10-17 09:00:26 +00:00
<robot generator= "Robot 6.1.1 (Python 3.11.4 on win32)" generated= "20231017 08:57:07.159" rpa= "false" schemaversion= "4" >
2023-10-16 21:40:50 +00:00
<suite id= "s1" name= "Verify search functionality" source= "C:\Users\lukas\Mega\Data\GitHub\Robot_Framework\RobotSelenium\Mentor\Tests\eBay\Verify_search_functionality.robot" >
<test id= "s1-t1" name= "Verify basic search Functionality" line= "17" >
2023-10-16 18:57:54 +00:00
<kw name= "Start test" library= "CommonFunctionality" type= "SETUP" >
2023-10-15 19:56:06 +00:00
<kw name= "Open Browser" library= "SeleniumLibrary" >
<arg > ${url}</arg>
<arg > ${browser}</arg>
<doc > Opens a new browser instance to the optional ``url``.</doc>
2023-10-17 09:00:26 +00:00
<msg timestamp= "20231017 08:57:07.433" level= "INFO" > Opening browser 'chrome' to base url 'https://www.ebay.com/'.</msg>
<status status= "PASS" starttime= "20231017 08:57:07.432" endtime= "20231017 08:57:11.248" />
2023-10-15 19:56:06 +00:00
</kw>
<kw name= "Maximize Browser Window" library= "SeleniumLibrary" >
<doc > Maximizes current browser window.</doc>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:11.249" endtime= "20231017 08:57:11.384" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:07.432" endtime= "20231017 08:57:11.384" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<kw name= "Input Search Text and Click Search" library= "HeaderPage" >
2023-10-15 19:56:06 +00:00
<kw name= "Input Text" library= "SeleniumLibrary" >
<arg > //*[@id="gh-ac"]</arg>
2023-10-17 09:00:26 +00:00
<arg > ${search_text_list}[1]</arg>
2023-10-15 19:56:06 +00:00
<doc > Types the given ``text`` into the text field identified by ``locator``.</doc>
2023-10-17 09:00:26 +00:00
<msg timestamp= "20231017 08:57:11.386" level= "INFO" > Typing text 'mobile' into text field '//*[@id="gh-ac"]'.</msg>
<status status= "PASS" starttime= "20231017 08:57:11.385" endtime= "20231017 08:57:11.546" />
2023-10-15 19:56:06 +00:00
</kw>
<kw name= "Press Keys" library= "SeleniumLibrary" >
<arg > xpath://*[@id="gh-btn"]</arg>
<arg > RETURN</arg>
<doc > Simulates the user pressing key(s) to an element or on the active browser.</doc>
2023-10-17 09:00:26 +00:00
<msg timestamp= "20231017 08:57:11.548" level= "INFO" > Sending key(s) ('RETURN',) to xpath://*[@id="gh-btn"] element.</msg>
<msg timestamp= "20231017 08:57:14.133" level= "INFO" > Pressing special key RETURN to element.</msg>
<msg timestamp= "20231017 08:57:14.133" level= "INFO" > Releasing special key RETURN.</msg>
<status status= "PASS" starttime= "20231017 08:57:11.548" endtime= "20231017 08:57:14.310" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:11.384" endtime= "20231017 08:57:14.310" />
2023-10-16 21:40:50 +00:00
</kw>
<kw name= "Verify Search Results" library= "SearchResultsPage" >
2023-10-15 19:56:06 +00:00
<kw name= "Page Should Contain" library= "SeleniumLibrary" >
2023-10-17 09:00:26 +00:00
<arg > ${search_result}</arg>
<arg > ${search_text_list}[1]</arg>
2023-10-15 19:56:06 +00:00
<doc > Verifies that current page contains ``text``.</doc>
2023-10-17 09:00:26 +00:00
<msg timestamp= "20231017 08:57:14.347" level= "INFO" > Current page contains text 'výsledků'.</msg>
<status status= "PASS" starttime= "20231017 08:57:14.311" endtime= "20231017 08:57:14.348" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:14.311" endtime= "20231017 08:57:14.348" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<kw name= "Finnish TestCase" library= "CommonFunctionality" type= "TEARDOWN" >
<kw name= "Close Browser" library= "SeleniumLibrary" >
<doc > Closes the current browser.</doc>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:14.348" endtime= "20231017 08:57:16.560" />
2023-10-16 18:57:54 +00:00
</kw>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:14.348" endtime= "20231017 08:57:16.560" />
2023-10-16 18:57:54 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<doc > This test case verifies the basic search</doc>
<tag > Functional</tag>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:07.431" endtime= "20231017 08:57:16.560" />
2023-10-16 21:40:50 +00:00
</test>
<test id= "s1-t2" name= "Verify advenced search functionality" line= "24" >
<kw name= "Start test" library= "CommonFunctionality" type= "SETUP" >
<kw name= "Open Browser" library= "SeleniumLibrary" >
<arg > ${url}</arg>
<arg > ${browser}</arg>
<doc > Opens a new browser instance to the optional ``url``.</doc>
2023-10-17 09:00:26 +00:00
<msg timestamp= "20231017 08:57:16.563" level= "INFO" > Opening browser 'chrome' to base url 'https://www.ebay.com/'.</msg>
<status status= "PASS" starttime= "20231017 08:57:16.562" endtime= "20231017 08:57:20.030" />
2023-10-16 18:57:54 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<kw name= "Maximize Browser Window" library= "SeleniumLibrary" >
<doc > Maximizes current browser window.</doc>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:20.030" endtime= "20231017 08:57:20.159" />
2023-10-16 21:40:50 +00:00
</kw>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:16.562" endtime= "20231017 08:57:20.159" />
2023-10-16 19:28:27 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<kw name= "Click on Advanced Search Link" library= "HeaderPage" >
<kw name= "Click Element" library= "SeleniumLibrary" >
<arg > //*[@id="gh-as-a"]</arg>
<doc > Click the element identified by ``locator``.</doc>
2023-10-17 09:00:26 +00:00
<msg timestamp= "20231017 08:57:20.161" level= "INFO" > Clicking element '//*[@id="gh-as-a"]'.</msg>
<status status= "PASS" starttime= "20231017 08:57:20.160" endtime= "20231017 08:57:21.100" />
2023-10-16 19:28:27 +00:00
</kw>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:20.160" endtime= "20231017 08:57:21.100" />
2023-10-16 18:57:54 +00:00
</kw>
<kw name= "Finnish TestCase" library= "CommonFunctionality" type= "TEARDOWN" >
2023-10-15 19:56:06 +00:00
<kw name= "Close Browser" library= "SeleniumLibrary" >
<doc > Closes the current browser.</doc>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:21.101" endtime= "20231017 08:57:23.309" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:21.101" endtime= "20231017 08:57:23.309" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<doc > This test case verifies the advanced search</doc>
2023-10-15 19:56:06 +00:00
<tag > Functional</tag>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:16.560" endtime= "20231017 08:57:23.309" />
2023-10-15 19:56:06 +00:00
</test>
<doc > Basic Search Funcianality</doc>
2023-10-17 09:00:26 +00:00
<status status= "PASS" starttime= "20231017 08:57:07.162" endtime= "20231017 08:57:23.310" />
2023-10-15 19:56:06 +00:00
</suite>
<statistics >
<total >
2023-10-16 21:40:50 +00:00
<stat pass= "2" fail= "0" skip= "0" > All Tests</stat>
2023-10-15 19:56:06 +00:00
</total>
<tag >
2023-10-16 21:40:50 +00:00
<stat pass= "2" fail= "0" skip= "0" > Functional</stat>
2023-10-15 19:56:06 +00:00
</tag>
<suite >
2023-10-16 21:40:50 +00:00
<stat pass= "2" fail= "0" skip= "0" id= "s1" name= "Verify search functionality" > Verify search functionality</stat>
2023-10-15 19:56:06 +00:00
</suite>
</statistics>
<errors >
2023-10-17 09:00:26 +00:00
<msg timestamp= "20231017 08:57:07.428" level= "ERROR" > Error in file 'C:\Users\lukas\Mega\Data\GitHub\Robot_Framework\RobotSelenium\Mentor\Resources\PageObjects\SearchResultsPage.robot' on line 14: Creating keyword 'Select product condition' failed: User keyword cannot be empty.</msg>
<msg timestamp= "20231017 08:57:07.428" level= "ERROR" > Error in file 'C:\Users\lukas\Mega\Data\GitHub\Robot_Framework\RobotSelenium\Mentor\Resources\PageObjects\SearchResultsPage.robot' on line 17: Creating keyword 'Select delivery options' failed: User keyword cannot be empty.</msg>
2023-10-15 19:56:06 +00:00
</errors>
</robot>