keywords
This commit is contained in:
parent
e5d1ec4ebb
commit
2d5d21c8e2
2199
RobotSelenium/Mentor/Results/log.html
Normal file
2199
RobotSelenium/Mentor/Results/log.html
Normal file
File diff suppressed because one or more lines are too long
71
RobotSelenium/Mentor/Results/output.xml
Normal file
71
RobotSelenium/Mentor/Results/output.xml
Normal file
@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<robot generator="Robot 6.1.1 (Python 3.11.4 on win32)" generated="20231015 21:50:10.975" rpa="false" schemaversion="4">
|
||||
<suite id="s1" name="BasicSearch" source="C:\Users\lukas\Mega\Data\GitHub\Robot_Framework\RobotSelenium\Mentor\Tests\eBay\BasicSearch.robot">
|
||||
<test id="s1-t1" name="Verify basic search functionality foe eBay" line="10">
|
||||
<kw name="Start test">
|
||||
<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="20231015 21:50:11.455" level="INFO">Opening browser 'chrome' to base url 'https://www.ebay.com/'.</msg>
|
||||
<status status="PASS" starttime="20231015 21:50:11.454" endtime="20231015 21:51:06.529"/>
|
||||
</kw>
|
||||
<kw name="Maximize Browser Window" library="SeleniumLibrary">
|
||||
<doc>Maximizes current browser window.</doc>
|
||||
<status status="PASS" starttime="20231015 21:51:06.529" endtime="20231015 21:51:06.682"/>
|
||||
</kw>
|
||||
<status status="PASS" starttime="20231015 21:50:11.454" endtime="20231015 21:51:06.682"/>
|
||||
</kw>
|
||||
<kw name="Verify Search Results">
|
||||
<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>
|
||||
<msg timestamp="20231015 21:51:06.686" level="INFO">Typing text 'mobile' into text field '//*[@id="gh-ac"]'.</msg>
|
||||
<status status="PASS" starttime="20231015 21:51:06.684" endtime="20231015 21:51:06.976"/>
|
||||
</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>
|
||||
<msg timestamp="20231015 21:51:06.978" level="INFO">Sending key(s) ('RETURN',) to xpath://*[@id="gh-btn"] element.</msg>
|
||||
<msg timestamp="20231015 21:51:29.047" level="INFO">Pressing special key RETURN to element.</msg>
|
||||
<msg timestamp="20231015 21:51:29.047" level="INFO">Releasing special key RETURN.</msg>
|
||||
<status status="PASS" starttime="20231015 21:51:06.976" endtime="20231015 21:51:29.065"/>
|
||||
</kw>
|
||||
<kw name="Page Should Contain" library="SeleniumLibrary">
|
||||
<arg>výsledků mobile</arg>
|
||||
<doc>Verifies that current page contains ``text``.</doc>
|
||||
<msg timestamp="20231015 21:51:29.132" level="INFO">Current page contains text 'výsledků mobile'.</msg>
|
||||
<status status="PASS" starttime="20231015 21:51:29.066" endtime="20231015 21:51:29.132"/>
|
||||
</kw>
|
||||
<status status="PASS" starttime="20231015 21:51:06.683" endtime="20231015 21:51:29.133"/>
|
||||
</kw>
|
||||
<kw name="Finnish TestCase">
|
||||
<kw name="Close Browser" library="SeleniumLibrary">
|
||||
<doc>Closes the current browser.</doc>
|
||||
<status status="PASS" starttime="20231015 21:51:29.134" endtime="20231015 21:51:31.641"/>
|
||||
</kw>
|
||||
<status status="PASS" starttime="20231015 21:51:29.133" endtime="20231015 21:51:31.642"/>
|
||||
</kw>
|
||||
<doc>This test case verifins the basic search</doc>
|
||||
<tag>Functional</tag>
|
||||
<status status="PASS" starttime="20231015 21:50:11.452" endtime="20231015 21:51:31.642"/>
|
||||
</test>
|
||||
<doc>Basic Search Funcianality</doc>
|
||||
<status status="PASS" starttime="20231015 21:50:10.979" endtime="20231015 21:51:31.644"/>
|
||||
</suite>
|
||||
<statistics>
|
||||
<total>
|
||||
<stat pass="1" fail="0" skip="0">All Tests</stat>
|
||||
</total>
|
||||
<tag>
|
||||
<stat pass="1" fail="0" skip="0">Functional</stat>
|
||||
</tag>
|
||||
<suite>
|
||||
<stat pass="1" fail="0" skip="0" id="s1" name="BasicSearch">BasicSearch</stat>
|
||||
</suite>
|
||||
</statistics>
|
||||
<errors>
|
||||
</errors>
|
||||
</robot>
|
2462
RobotSelenium/Mentor/Results/report.html
Normal file
2462
RobotSelenium/Mentor/Results/report.html
Normal file
File diff suppressed because one or more lines are too long
@ -10,12 +10,21 @@ ${url} https://www.ebay.com/
|
||||
Verify basic search functionality foe eBay
|
||||
[Documentation] This test case verifins the basic search
|
||||
[Tags] Functional
|
||||
Start test
|
||||
Verify Search Results
|
||||
Finnish TestCase
|
||||
|
||||
|
||||
*** Keywords ***
|
||||
Start test
|
||||
open browser ${url} ${browser}
|
||||
input text //*[@id="gh-ac"] mobile
|
||||
click button xpath://*[@id="gh-btn"]
|
||||
# ověříme že se na stránce zobrzí ve filtru mobily
|
||||
page should contain výsledků mobile
|
||||
close browser
|
||||
maximize browser window
|
||||
|
||||
*** Keywords ***
|
||||
Verify Search Results
|
||||
input text //*[@id="gh-ac"] mobile
|
||||
#click button xpath://*[@id="gh-btn"]
|
||||
press keys xpath://*[@id="gh-btn"] RETURN
|
||||
page should contain výsledků mobile
|
||||
|
||||
Finnish TestCase
|
||||
close browser
|
Loading…
Reference in New Issue
Block a user