This commit is contained in:
Lukáš Kaňka 2023-10-16 23:40:50 +02:00
parent 53f48440e9
commit eeec5f17ca
7 changed files with 141 additions and 67 deletions

View File

@ -0,0 +1,16 @@
*** Settings ***
Library SeleniumLibrary
*** Variables ***
*** Keywords ***
Input Search Text and Click Search
input text //*[@id="gh-ac"] mobile
press keys xpath://*[@id="gh-btn"] RETURN
# Pokročilé vyhledávání
Click on Advanced Search Link
CLICK ELEMENT //*[@id="gh-as-a"]

View File

@ -0,0 +1,10 @@
*** Settings ***
Library SeleniumLibrary
*** Variables ***
*** Keywords ***
Select the shopping categories

View File

@ -0,0 +1,11 @@
*** Settings ***
Library SeleniumLibrary
*** Keywords ***
Verify Search Results
page should contain výsledků mobile
Select product condition
Select delivery options

View File

@ -1806,25 +1806,25 @@ function stopPropagation(event) {
window.output = {}; window.output = {};
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["suite"] = [1,2,3,4,[],[1,0,16546],[],[[5,0,6,[7],[1,285,16260],[[1,8,9,0,0,0,0,0,[1,286,5127],[[0,10,11,0,12,13,0,0,[1,286,5012],[[287,2,14]]],[0,15,11,0,16,0,0,0,[1,5298,115],[]]]],[0,17,18,0,0,0,0,0,[1,5414,3537],[[0,19,11,0,20,21,0,0,[1,5414,171],[[5417,2,22]]],[0,23,11,0,24,25,0,0,[1,5585,3333],[[5586,2,26],[8716,2,27],[8716,2,28]]],[0,29,11,0,30,31,0,0,[1,8918,33],[[8951,2,32]]]]],[0,33,18,0,0,0,0,0,[1,8951,5107],[[0,34,11,0,35,36,0,0,[1,8951,66],[[8953,2,37]]],[0,38,39,0,40,41,0,0,[1,9017,3001],[[12018,2,42]]],[0,34,11,0,35,43,0,0,[1,12018,2040],[[12020,2,44]]]]],[0,45,18,0,0,0,0,0,[1,14058,159],[[0,46,11,0,47,48,0,0,[1,14059,158],[[14217,2,49]]]]],[2,50,9,0,0,0,0,0,[1,14218,2327],[[0,51,11,0,52,0,0,0,[1,14218,2326],[]]]]]]],[],[1,1,0,0]]; window.output["suite"] = [1,2,3,4,[],[1,0,16196],[],[[5,0,6,[7],[1,297,9379],[[1,8,9,0,0,0,0,0,[1,298,4375],[[0,10,11,0,12,13,0,0,[1,298,4234],[[299,2,14]]],[0,15,11,0,16,0,0,0,[1,4532,141],[]]]],[0,17,18,0,0,0,0,0,[1,4674,2747],[[0,19,11,0,20,21,0,0,[1,4674,120],[[4674,2,22]]],[0,23,11,0,24,25,0,0,[1,4794,2627],[[4795,2,26],[7287,2,27],[7287,2,28]]]]],[0,29,30,0,0,0,0,0,[1,7421,28],[[0,31,11,0,32,33,0,0,[1,7421,28],[[7449,2,34]]]]],[2,35,9,0,0,0,0,0,[1,7449,2226],[[0,36,11,0,37,0,0,0,[1,7449,2226],[]]]]]],[38,0,39,[7],[1,9676,6519],[[1,8,9,0,0,0,0,0,[1,9677,3371],[[0,10,11,0,12,13,0,0,[1,9677,3249],[[9677,2,14]]],[0,15,11,0,16,0,0,0,[1,12926,122],[]]]],[0,40,18,0,0,0,0,0,[1,13049,967],[[0,41,11,0,42,43,0,0,[1,13049,967],[[13049,2,44]]]]],[2,35,9,0,0,0,0,0,[1,14016,2179],[[0,36,11,0,37,0,0,0,[1,14017,2178],[]]]]]]],[],[2,2,0,0]];
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["strings"] = []; window.output["strings"] = [];
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["strings"] = window.output["strings"].concat(["*","*BasicSearch2","*C:\\Users\\lukas\\Mega\\Data\\GitHub\\Robot_Framework\\RobotSelenium\\Mentor\\Tests\\eBay\\BasicSearch2.robot","*../Tests/eBay/BasicSearch2.robot","*<p>Basic Search Funcianality\x3c/p>","*Verify basic search functionality foe eBay","*<p>This test case verifins the basic search\x3c/p>","*Functional","*Start test","*CommonFunctionality","*Open Browser","*SeleniumLibrary","*<p>Opens a new browser instance to the optional <code>url\x3c/code>.\x3c/p>","*${url}, ${browser}","*Opening browser 'chrome' to base url '<a href=\"https://www.ebay.com/\">https://www.ebay.com/\x3c/a>'.","*Maximize Browser Window","*<p>Maximizes current browser window.\x3c/p>","*Verify Search Results","*eBay_UserDefinedKeywords","*Input Text","*<p>Types the given <code>text\x3c/code> into the text field identified by <code>locator\x3c/code>.\x3c/p>","*//*[@id=\"gh-ac\"], mobile","*Typing text 'mobile' into text field '//*[@id=\"gh-ac\"]'.","*Press Keys","*<p>Simulates the user pressing key(s) to an element or on the active browser.\x3c/p>","*<a href=\"xpath://*[@id=&quot;gh-btn\">xpath://*[@id=\"gh-btn\x3c/a>\"], RETURN","*Sending key(s) ('RETURN',) to <a href=\"xpath://*[@id=&quot;gh-btn\">xpath://*[@id=\"gh-btn\x3c/a>\"] element.","*Pressing special key RETURN to element.","*Releasing special key RETURN.","*Page Should Contain","*<p>Verifies that current page contains <code>text\x3c/code>.\x3c/p>","*výsledků mobile","*Current page contains text 'výsledků mobile'.","*Filter results by condition","*Click Element","*<p>Click the element identified by <code>locator\x3c/code>.\x3c/p>","*//span[contains(text(),\"Stav\")]","*Clicking element '//span[contains(text(),\"Stav\")]'.","*Sleep","*BuiltIn","*<p>Pauses the test executed for the given time.\x3c/p>","*3s","*Slept 3 seconds","*//span[normalize-space()=\"Nový\"]","*Clicking element '//span[normalize-space()=\"Nový\"]'.","*Verify filter results","*Element Should Contain","*<p>Verifies that element <code>locator\x3c/code> contains text <code>expected\x3c/code>.\x3c/p>","*//li[@class=\"carousel__snap-point srp-carousel-list__item srp-multi-aspect__item--applied\"], Nový","*Element '//li[@class=\"carousel__snap-point srp-carousel-list__item srp-multi-aspect__item--applied\"]' contains text 'Nový'.","*Finnish TestCase","*Close Browser","*<p>Closes the current browser.\x3c/p>"]); window.output["strings"] = window.output["strings"].concat(["*","*Verify search functionality","*C:\\Users\\lukas\\Mega\\Data\\GitHub\\Robot_Framework\\RobotSelenium\\Mentor\\Tests\\eBay\\Verify_search_functionality.robot","*../Tests/eBay/Verify_search_functionality.robot","*<p>Basic Search Funcianality\x3c/p>","*Verify basic search Functionality","*<p>This test case verifies the basic search\x3c/p>","*Functional","*Start test","*CommonFunctionality","*Open Browser","*SeleniumLibrary","*<p>Opens a new browser instance to the optional <code>url\x3c/code>.\x3c/p>","*${url}, ${browser}","*Opening browser 'chrome' to base url '<a href=\"https://www.ebay.com/\">https://www.ebay.com/\x3c/a>'.","*Maximize Browser Window","*<p>Maximizes current browser window.\x3c/p>","*Input Search Text and Click Search","*HeaderPage","*Input Text","*<p>Types the given <code>text\x3c/code> into the text field identified by <code>locator\x3c/code>.\x3c/p>","*//*[@id=\"gh-ac\"], mobile","*Typing text 'mobile' into text field '//*[@id=\"gh-ac\"]'.","*Press Keys","*<p>Simulates the user pressing key(s) to an element or on the active browser.\x3c/p>","*<a href=\"xpath://*[@id=&quot;gh-btn\">xpath://*[@id=\"gh-btn\x3c/a>\"], RETURN","*Sending key(s) ('RETURN',) to <a href=\"xpath://*[@id=&quot;gh-btn\">xpath://*[@id=\"gh-btn\x3c/a>\"] element.","*Pressing special key RETURN to element.","*Releasing special key RETURN.","*Verify Search Results","*SearchResultsPage","*Page Should Contain","*<p>Verifies that current page contains <code>text\x3c/code>.\x3c/p>","*výsledků mobile","*Current page contains text 'výsledků mobile'.","*Finnish TestCase","*Close Browser","*<p>Closes the current browser.\x3c/p>","*Verify advenced search functionality","*<p>This test case verifies the advanced search\x3c/p>","*Click on Advanced Search Link","*Click Element","*<p>Click the element identified by <code>locator\x3c/code>.\x3c/p>","*//*[@id=\"gh-as-a\"]","*Clicking element '//*[@id=\"gh-as-a\"]'.","*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.","*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."]);
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:16","fail":0,"label":"All Tests","pass":1,"skip":0}],[{"elapsed":"00:00:16","fail":0,"label":"Functional","pass":1,"skip":0}],[{"elapsed":"00:00:17","fail":0,"id":"s1","label":"BasicSearch2","name":"BasicSearch2","pass":1,"skip":0}]]; window.output["stats"] = [[{"elapsed":"00:00:16","fail":0,"label":"All Tests","pass":2,"skip":0}],[{"elapsed":"00:00:16","fail":0,"label":"Functional","pass":2,"skip":0}],[{"elapsed":"00:00:16","fail":0,"id":"s1","label":"Verify search functionality","name":"Verify search functionality","pass":2,"skip":0}]];
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["errors"] = []; window.output["errors"] = [[294,4,45],[295,4,46]];
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["baseMillis"] = 1697487001214; window.output["baseMillis"] = 1697492102399;
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["generated"] = 16553; window.output["generated"] = 16204;
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["expand_keywords"] = null; window.output["expand_keywords"] = null;

View File

@ -1,102 +1,111 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 6.1.1 (Python 3.11.4 on win32)" generated="20231016 22:10:01.212" rpa="false" schemaversion="4"> <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="BasicSearch2" source="C:\Users\lukas\Mega\Data\GitHub\Robot_Framework\RobotSelenium\Mentor\Tests\eBay\BasicSearch2.robot"> <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 foe eBay" line="15"> <test id="s1-t1" name="Verify basic search Functionality" line="17">
<kw name="Start test" library="CommonFunctionality" type="SETUP"> <kw name="Start test" library="CommonFunctionality" type="SETUP">
<kw name="Open Browser" library="SeleniumLibrary"> <kw name="Open Browser" library="SeleniumLibrary">
<arg>${url}</arg> <arg>${url}</arg>
<arg>${browser}</arg> <arg>${browser}</arg>
<doc>Opens a new browser instance to the optional ``url``.</doc> <doc>Opens a new browser instance to the optional ``url``.</doc>
<msg timestamp="20231016 22:10:01.501" level="INFO">Opening browser 'chrome' to base url 'https://www.ebay.com/'.</msg> <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 22:10:01.500" endtime="20231016 22:10:06.512"/> <status status="PASS" starttime="20231016 23:35:02.697" endtime="20231016 23:35:06.931"/>
</kw> </kw>
<kw name="Maximize Browser Window" library="SeleniumLibrary"> <kw name="Maximize Browser Window" library="SeleniumLibrary">
<doc>Maximizes current browser window.</doc> <doc>Maximizes current browser window.</doc>
<status status="PASS" starttime="20231016 22:10:06.512" endtime="20231016 22:10:06.627"/> <status status="PASS" starttime="20231016 23:35:06.931" endtime="20231016 23:35:07.072"/>
</kw> </kw>
<status status="PASS" starttime="20231016 22:10:01.500" endtime="20231016 22:10:06.627"/> <status status="PASS" starttime="20231016 23:35:02.697" endtime="20231016 23:35:07.072"/>
</kw> </kw>
<kw name="Verify Search Results" library="eBay_UserDefinedKeywords"> <kw name="Input Search Text and Click Search" library="HeaderPage">
<kw name="Input Text" library="SeleniumLibrary"> <kw name="Input Text" library="SeleniumLibrary">
<arg>//*[@id="gh-ac"]</arg> <arg>//*[@id="gh-ac"]</arg>
<arg>mobile</arg> <arg>mobile</arg>
<doc>Types the given ``text`` into the text field identified by ``locator``.</doc> <doc>Types the given ``text`` into the text field identified by ``locator``.</doc>
<msg timestamp="20231016 22:10:06.631" level="INFO">Typing text 'mobile' into text field '//*[@id="gh-ac"]'.</msg> <msg timestamp="20231016 23:35:07.073" level="INFO">Typing text 'mobile' into text field '//*[@id="gh-ac"]'.</msg>
<status status="PASS" starttime="20231016 22:10:06.628" endtime="20231016 22:10:06.799"/> <status status="PASS" starttime="20231016 23:35:07.073" endtime="20231016 23:35:07.193"/>
</kw> </kw>
<kw name="Press Keys" library="SeleniumLibrary"> <kw name="Press Keys" library="SeleniumLibrary">
<arg>xpath://*[@id="gh-btn"]</arg> <arg>xpath://*[@id="gh-btn"]</arg>
<arg>RETURN</arg> <arg>RETURN</arg>
<doc>Simulates the user pressing key(s) to an element or on the active browser.</doc> <doc>Simulates the user pressing key(s) to an element or on the active browser.</doc>
<msg timestamp="20231016 22:10:06.800" level="INFO">Sending key(s) ('RETURN',) to xpath://*[@id="gh-btn"] element.</msg> <msg timestamp="20231016 23:35:07.194" level="INFO">Sending key(s) ('RETURN',) to xpath://*[@id="gh-btn"] element.</msg>
<msg timestamp="20231016 22:10:09.930" level="INFO">Pressing special key RETURN to element.</msg> <msg timestamp="20231016 23:35:09.686" level="INFO">Pressing special key RETURN to element.</msg>
<msg timestamp="20231016 22:10:09.930" level="INFO">Releasing special key RETURN.</msg> <msg timestamp="20231016 23:35:09.686" level="INFO">Releasing special key RETURN.</msg>
<status status="PASS" starttime="20231016 22:10:06.799" endtime="20231016 22:10:10.132"/> <status status="PASS" starttime="20231016 23:35:07.193" endtime="20231016 23:35:09.820"/>
</kw> </kw>
<status status="PASS" starttime="20231016 23:35:07.073" endtime="20231016 23:35:09.820"/>
</kw>
<kw name="Verify Search Results" library="SearchResultsPage">
<kw name="Page Should Contain" library="SeleniumLibrary"> <kw name="Page Should Contain" library="SeleniumLibrary">
<arg>výsledků mobile</arg> <arg>výsledků mobile</arg>
<doc>Verifies that current page contains ``text``.</doc> <doc>Verifies that current page contains ``text``.</doc>
<msg timestamp="20231016 22:10:10.165" level="INFO">Current page contains text 'výsledků mobile'.</msg> <msg timestamp="20231016 23:35:09.848" level="INFO">Current page contains text 'výsledků mobile'.</msg>
<status status="PASS" starttime="20231016 22:10:10.132" endtime="20231016 22:10:10.165"/> <status status="PASS" starttime="20231016 23:35:09.820" endtime="20231016 23:35:09.848"/>
</kw> </kw>
<status status="PASS" starttime="20231016 22:10:06.628" endtime="20231016 22:10:10.165"/> <status status="PASS" starttime="20231016 23:35:09.820" endtime="20231016 23:35:09.848"/>
</kw>
<kw name="Filter results by condition" library="eBay_UserDefinedKeywords">
<kw name="Click Element" library="SeleniumLibrary">
<arg>//span[contains(text(),"Stav")]</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20231016 22:10:10.167" level="INFO">Clicking element '//span[contains(text(),"Stav")]'.</msg>
<status status="PASS" starttime="20231016 22:10:10.165" endtime="20231016 22:10:10.231"/>
</kw>
<kw name="Sleep" library="BuiltIn">
<arg>3s</arg>
<doc>Pauses the test executed for the given time.</doc>
<msg timestamp="20231016 22:10:13.232" level="INFO">Slept 3 seconds</msg>
<status status="PASS" starttime="20231016 22:10:10.231" endtime="20231016 22:10:13.232"/>
</kw>
<kw name="Click Element" library="SeleniumLibrary">
<arg>//span[normalize-space()="Nový"]</arg>
<doc>Click the element identified by ``locator``.</doc>
<msg timestamp="20231016 22:10:13.234" level="INFO">Clicking element '//span[normalize-space()="Nový"]'.</msg>
<status status="PASS" starttime="20231016 22:10:13.232" endtime="20231016 22:10:15.272"/>
</kw>
<status status="PASS" starttime="20231016 22:10:10.165" endtime="20231016 22:10:15.272"/>
</kw>
<kw name="Verify filter results" library="eBay_UserDefinedKeywords">
<kw name="Element Should Contain" library="SeleniumLibrary">
<arg>//li[@class="carousel__snap-point srp-carousel-list__item srp-multi-aspect__item--applied"]</arg>
<arg>Nový</arg>
<doc>Verifies that element ``locator`` contains text ``expected``.</doc>
<msg timestamp="20231016 22:10:15.431" level="INFO">Element '//li[@class="carousel__snap-point srp-carousel-list__item srp-multi-aspect__item--applied"]' contains text 'Nový'.</msg>
<status status="PASS" starttime="20231016 22:10:15.273" endtime="20231016 22:10:15.431"/>
</kw>
<status status="PASS" starttime="20231016 22:10:15.272" endtime="20231016 22:10:15.431"/>
</kw> </kw>
<kw name="Finnish TestCase" library="CommonFunctionality" type="TEARDOWN"> <kw name="Finnish TestCase" library="CommonFunctionality" type="TEARDOWN">
<kw name="Close Browser" library="SeleniumLibrary"> <kw name="Close Browser" library="SeleniumLibrary">
<doc>Closes the current browser.</doc> <doc>Closes the current browser.</doc>
<status status="PASS" starttime="20231016 22:10:15.432" endtime="20231016 22:10:17.758"/> <status status="PASS" starttime="20231016 23:35:09.848" endtime="20231016 23:35:12.074"/>
</kw> </kw>
<status status="PASS" starttime="20231016 22:10:15.432" endtime="20231016 22:10:17.759"/> <status status="PASS" starttime="20231016 23:35:09.848" endtime="20231016 23:35:12.074"/>
</kw> </kw>
<doc>This test case verifins the basic search</doc> <doc>This test case verifies the basic search</doc>
<tag>Functional</tag> <tag>Functional</tag>
<status status="PASS" starttime="20231016 22:10:01.499" endtime="20231016 22:10:17.759"/> <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"/>
</kw>
<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"/>
</kw>
<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"/>
</kw>
<status status="PASS" starttime="20231016 23:35:15.448" endtime="20231016 23:35:16.415"/>
</kw>
<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:16.416" endtime="20231016 23:35:18.594"/>
</kw>
<status status="PASS" starttime="20231016 23:35:16.415" endtime="20231016 23:35:18.594"/>
</kw>
<doc>This test case verifies the advanced search</doc>
<tag>Functional</tag>
<status status="PASS" starttime="20231016 23:35:12.075" endtime="20231016 23:35:18.594"/>
</test> </test>
<doc>Basic Search Funcianality</doc> <doc>Basic Search Funcianality</doc>
<status status="PASS" starttime="20231016 22:10:01.214" endtime="20231016 22:10:17.760"/> <status status="PASS" starttime="20231016 23:35:02.399" endtime="20231016 23:35:18.595"/>
</suite> </suite>
<statistics> <statistics>
<total> <total>
<stat pass="1" fail="0" skip="0">All Tests</stat> <stat pass="2" fail="0" skip="0">All Tests</stat>
</total> </total>
<tag> <tag>
<stat pass="1" fail="0" skip="0">Functional</stat> <stat pass="2" fail="0" skip="0">Functional</stat>
</tag> </tag>
<suite> <suite>
<stat pass="1" fail="0" skip="0" id="s1" name="BasicSearch2">BasicSearch2</stat> <stat pass="2" fail="0" skip="0" id="s1" name="Verify search functionality">Verify search functionality</stat>
</suite> </suite>
</statistics> </statistics>
<errors> <errors>
<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>
</errors> </errors>
</robot> </robot>

View File

@ -1629,22 +1629,22 @@ storage = function () {
window.output = {}; window.output = {};
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["suite"] = [1,2,3,4,[],[1,0,16546],[],[[5,0,6,[7],[1,285,16260],[]]],[],[1,1,0,0]]; window.output["suite"] = [1,2,3,4,[],[1,0,16196],[],[[5,0,6,[7],[1,297,9379],[]],[8,0,9,[7],[1,9676,6519],[]]],[],[2,2,0,0]];
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["strings"] = []; window.output["strings"] = [];
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["strings"] = window.output["strings"].concat(["*","*BasicSearch2","*C:\\Users\\lukas\\Mega\\Data\\GitHub\\Robot_Framework\\RobotSelenium\\Mentor\\Tests\\eBay\\BasicSearch2.robot","*../Tests/eBay/BasicSearch2.robot","*<p>Basic Search Funcianality\x3c/p>","*Verify basic search functionality foe eBay","*<p>This test case verifins the basic search\x3c/p>","*Functional"]); window.output["strings"] = window.output["strings"].concat(["*","*Verify search functionality","*C:\\Users\\lukas\\Mega\\Data\\GitHub\\Robot_Framework\\RobotSelenium\\Mentor\\Tests\\eBay\\Verify_search_functionality.robot","*../Tests/eBay/Verify_search_functionality.robot","*<p>Basic Search Funcianality\x3c/p>","*Verify basic search Functionality","*<p>This test case verifies the basic search\x3c/p>","*Functional","*Verify advenced search functionality","*<p>This test case verifies the advanced search\x3c/p>"]);
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:16","fail":0,"label":"All Tests","pass":1,"skip":0}],[{"elapsed":"00:00:16","fail":0,"label":"Functional","pass":1,"skip":0}],[{"elapsed":"00:00:17","fail":0,"id":"s1","label":"BasicSearch2","name":"BasicSearch2","pass":1,"skip":0}]]; window.output["stats"] = [[{"elapsed":"00:00:16","fail":0,"label":"All Tests","pass":2,"skip":0}],[{"elapsed":"00:00:16","fail":0,"label":"Functional","pass":2,"skip":0}],[{"elapsed":"00:00:16","fail":0,"id":"s1","label":"Verify search functionality","name":"Verify search functionality","pass":2,"skip":0}]];
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["baseMillis"] = 1697487001214; window.output["baseMillis"] = 1697492102399;
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["generated"] = 16553; window.output["generated"] = 16204;
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
window.output["expand_keywords"] = null; window.output["expand_keywords"] = null;

View File

@ -0,0 +1,28 @@
# Zde používám POM
*** Settings ***
Documentation Basic Search Funcianality
Resource ../../Resources/CommonFunctionality.robot
Resource ../../Resources/PageObjects/HeaderPage.robot
Resource ../../Resources/PageObjects/SearchResultsPage.robot
Test Setup CommonFunctionality.Start test
Test Teardown CommonFunctionality.Finnish TestCase
*** Variables ***
*** Test Cases ***
Verify basic search Functionality
[Documentation] This test case verifies the basic search
[Tags] Functional
HeaderPage.Input Search Text and Click Search
SearchResultsPage.Verify Search Results
Verify advenced search functionality
[Documentation] This test case verifies the advanced search
[Tags] Functional
HeaderPage.Click on Advanced Search Link