2023-10-15 19:56:06 +00:00
<?xml version="1.0" encoding="UTF-8"?>
2023-10-16 21:40:50 +00:00
<robot generator= "Robot 6.1.1 (Python 3.11.4 on win32)" generated= "20231016 23:35:02.397" rpa= "false" schemaversion= "4" >
<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-16 21:40:50 +00:00
<msg timestamp= "20231016 23:35:02.698" level= "INFO" > Opening browser 'chrome' to base url 'https://www.ebay.com/'.</msg>
<status status= "PASS" starttime= "20231016 23:35:02.697" endtime= "20231016 23:35:06.931" />
2023-10-15 19:56:06 +00:00
</kw>
<kw name= "Maximize Browser Window" library= "SeleniumLibrary" >
<doc > Maximizes current browser window.</doc>
2023-10-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:06.931" endtime= "20231016 23:35:07.072" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:02.697" endtime= "20231016 23:35:07.072" />
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>
<arg > mobile</arg>
<doc > Types the given ``text`` into the text field identified by ``locator``.</doc>
2023-10-16 21:40:50 +00:00
<msg timestamp= "20231016 23:35:07.073" level= "INFO" > Typing text 'mobile' into text field '//*[@id="gh-ac"]'.</msg>
<status status= "PASS" starttime= "20231016 23:35:07.073" endtime= "20231016 23:35:07.193" />
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-16 21:40:50 +00:00
<msg timestamp= "20231016 23:35:07.194" level= "INFO" > Sending key(s) ('RETURN',) to xpath://*[@id="gh-btn"] element.</msg>
<msg timestamp= "20231016 23:35:09.686" level= "INFO" > Pressing special key RETURN to element.</msg>
<msg timestamp= "20231016 23:35:09.686" level= "INFO" > Releasing special key RETURN.</msg>
<status status= "PASS" starttime= "20231016 23:35:07.193" endtime= "20231016 23:35:09.820" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:07.073" endtime= "20231016 23:35:09.820" />
</kw>
<kw name= "Verify Search Results" library= "SearchResultsPage" >
2023-10-15 19:56:06 +00:00
<kw name= "Page Should Contain" library= "SeleniumLibrary" >
<arg > výsledků mobile</arg>
<doc > Verifies that current page contains ``text``.</doc>
2023-10-16 21:40:50 +00:00
<msg timestamp= "20231016 23:35:09.848" level= "INFO" > Current page contains text 'výsledků mobile'.</msg>
<status status= "PASS" starttime= "20231016 23:35:09.820" endtime= "20231016 23:35:09.848" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:09.820" endtime= "20231016 23:35:09.848" />
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>
<status status= "PASS" starttime= "20231016 23:35:09.848" endtime= "20231016 23:35:12.074" />
2023-10-16 18:57:54 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:09.848" endtime= "20231016 23:35:12.074" />
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>
<status status= "PASS" starttime= "20231016 23:35:02.696" endtime= "20231016 23:35:12.075" />
</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>
<msg timestamp= "20231016 23:35:12.076" level= "INFO" > Opening browser 'chrome' to base url 'https://www.ebay.com/'.</msg>
<status status= "PASS" starttime= "20231016 23:35:12.076" endtime= "20231016 23:35:15.325" />
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>
<status status= "PASS" starttime= "20231016 23:35:15.325" endtime= "20231016 23:35:15.447" />
</kw>
<status status= "PASS" starttime= "20231016 23:35:12.076" endtime= "20231016 23:35:15.447" />
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>
<msg timestamp= "20231016 23:35:15.448" level= "INFO" > Clicking element '//*[@id="gh-as-a"]'.</msg>
<status status= "PASS" starttime= "20231016 23:35:15.448" endtime= "20231016 23:35:16.415" />
2023-10-16 19:28:27 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:15.448" endtime= "20231016 23:35:16.415" />
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-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:16.416" endtime= "20231016 23:35:18.594" />
2023-10-15 19:56:06 +00:00
</kw>
2023-10-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:16.415" endtime= "20231016 23:35:18.594" />
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-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:12.075" endtime= "20231016 23:35:18.594" />
2023-10-15 19:56:06 +00:00
</test>
<doc > Basic Search Funcianality</doc>
2023-10-16 21:40:50 +00:00
<status status= "PASS" starttime= "20231016 23:35:02.399" endtime= "20231016 23:35:18.595" />
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-16 21:40:50 +00:00
<msg timestamp= "20231016 23:35:02.693" level= "ERROR" > Error in file 'C:\Users\lukas\Mega\Data\GitHub\Robot_Framework\RobotSelenium\Mentor\Resources\PageObjects\SearchResultsPage.robot' on line 8: Creating keyword 'Select product condition' failed: User keyword cannot be empty.</msg>
<msg timestamp= "20231016 23:35:02.694" level= "ERROR" > Error in file 'C:\Users\lukas\Mega\Data\GitHub\Robot_Framework\RobotSelenium\Mentor\Resources\PageObjects\SearchResultsPage.robot' on line 11: Creating keyword 'Select delivery options' failed: User keyword cannot be empty.</msg>
2023-10-15 19:56:06 +00:00
</errors>
</robot>