eBay search

This commit is contained in:
Lukáš Kaňka 2023-10-15 05:16:50 +02:00
parent bb725fcd4c
commit fc7d35d64e
5 changed files with 36 additions and 16 deletions

View File

@ -1806,7 +1806,7 @@ function stopPropagation(event) {
window.output = {};
</script>
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[1,0,8718],[],[[4,0,5,[6],[1,485,8231],[[0,7,8,0,9,10,0,0,[1,488,5919],[[488,2,11]]],[0,12,8,0,13,0,0,0,[1,6408,2306],[]]]]],[],[1,1,0,0]];
window.output["suite"] = [1,2,3,0,[],[1,0,20482],[],[[4,0,5,[6],[1,693,19786],[[0,7,8,0,9,10,0,0,[1,694,17439],[[695,2,11]]],[0,12,8,0,13,0,0,0,[1,18134,2344],[]]]]],[],[1,1,0,0]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
@ -1815,16 +1815,16 @@ window.output["strings"] = [];
window.output["strings"] = window.output["strings"].concat(["*","*GoogleSearch","*C:\\Users\\lukas\\Mega\\Data\\GitHub\\Robot_Framework\\RobotSelenium\\Mentor\\Tests\\Google\\FunctionalTestSuite\\GoogleSearch.robot","*../Tests/Google/FunctionalTestSuite/GoogleSearch.robot","*This is sample test case","*<p>Google test\x3c/p>","*regression","*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.google.com/\">https://www.google.com/\x3c/a>'.","*Close Browser","*<p>Closes the current browser.\x3c/p>"]);
</script>
<script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:08","fail":0,"label":"All Tests","pass":1,"skip":0}],[{"elapsed":"00:00:08","fail":0,"label":"regression","pass":1,"skip":0}],[{"elapsed":"00:00:09","fail":0,"id":"s1","label":"GoogleSearch","name":"GoogleSearch","pass":1,"skip":0}]];
window.output["stats"] = [[{"elapsed":"00:00:20","fail":0,"label":"All Tests","pass":1,"skip":0}],[{"elapsed":"00:00:20","fail":0,"label":"regression","pass":1,"skip":0}],[{"elapsed":"00:00:20","fail":0,"id":"s1","label":"GoogleSearch","name":"GoogleSearch","pass":1,"skip":0}]];
</script>
<script type="text/javascript">
window.output["errors"] = [];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1697236289427;
window.output["baseMillis"] = 1697314610206;
</script>
<script type="text/javascript">
window.output["generated"] = 8735;
window.output["generated"] = 20499;
</script>
<script type="text/javascript">
window.output["expand_keywords"] = null;

View File

@ -1,23 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 6.1.1 (Python 3.11.4 on win32)" generated="20231014 00:31:29.419" rpa="false" schemaversion="4">
<robot generator="Robot 6.1.1 (Python 3.11.4 on win32)" generated="20231014 22:16:50.202" rpa="false" schemaversion="4">
<suite id="s1" name="GoogleSearch" source="C:\Users\lukas\Mega\Data\GitHub\Robot_Framework\RobotSelenium\Mentor\Tests\Google\FunctionalTestSuite\GoogleSearch.robot">
<test id="s1-t1" name="This is sample test case" line="9">
<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="20231014 00:31:29.915" level="INFO">Opening browser 'chrome' to base url 'https://www.google.com/'.</msg>
<status status="PASS" starttime="20231014 00:31:29.915" endtime="20231014 00:31:35.834"/>
<msg timestamp="20231014 22:16:50.901" level="INFO">Opening browser 'chrome' to base url 'https://www.google.com/'.</msg>
<status status="PASS" starttime="20231014 22:16:50.900" endtime="20231014 22:17:08.339"/>
</kw>
<kw name="Close Browser" library="SeleniumLibrary">
<doc>Closes the current browser.</doc>
<status status="PASS" starttime="20231014 00:31:35.835" endtime="20231014 00:31:38.141"/>
<status status="PASS" starttime="20231014 22:17:08.340" endtime="20231014 22:17:10.684"/>
</kw>
<doc>Google test</doc>
<tag>regression</tag>
<status status="PASS" starttime="20231014 00:31:29.912" endtime="20231014 00:31:38.143"/>
<status status="PASS" starttime="20231014 22:16:50.899" endtime="20231014 22:17:10.685"/>
</test>
<status status="PASS" starttime="20231014 00:31:29.427" endtime="20231014 00:31:38.145"/>
<status status="PASS" starttime="20231014 22:16:50.206" endtime="20231014 22:17:10.688"/>
</suite>
<statistics>
<total>

View File

@ -1629,7 +1629,7 @@ storage = function () {
window.output = {};
</script>
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[1,0,8718],[],[[4,0,5,[6],[1,485,8231],[]]],[],[1,1,0,0]];
window.output["suite"] = [1,2,3,0,[],[1,0,20482],[],[[4,0,5,[6],[1,693,19786],[]]],[],[1,1,0,0]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
@ -1638,13 +1638,13 @@ window.output["strings"] = [];
window.output["strings"] = window.output["strings"].concat(["*","*GoogleSearch","*C:\\Users\\lukas\\Mega\\Data\\GitHub\\Robot_Framework\\RobotSelenium\\Mentor\\Tests\\Google\\FunctionalTestSuite\\GoogleSearch.robot","*../Tests/Google/FunctionalTestSuite/GoogleSearch.robot","*This is sample test case","*<p>Google test\x3c/p>","*regression"]);
</script>
<script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:08","fail":0,"label":"All Tests","pass":1,"skip":0}],[{"elapsed":"00:00:08","fail":0,"label":"regression","pass":1,"skip":0}],[{"elapsed":"00:00:09","fail":0,"id":"s1","label":"GoogleSearch","name":"GoogleSearch","pass":1,"skip":0}]];
window.output["stats"] = [[{"elapsed":"00:00:20","fail":0,"label":"All Tests","pass":1,"skip":0}],[{"elapsed":"00:00:20","fail":0,"label":"regression","pass":1,"skip":0}],[{"elapsed":"00:00:20","fail":0,"id":"s1","label":"GoogleSearch","name":"GoogleSearch","pass":1,"skip":0}]];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1697236289427;
window.output["baseMillis"] = 1697314610206;
</script>
<script type="text/javascript">
window.output["generated"] = 8735;
window.output["generated"] = 20499;
</script>
<script type="text/javascript">
window.output["expand_keywords"] = null;

View File

@ -7,8 +7,8 @@ ${url} https://www.google.com/
*** Test Cases ***
This is sample test case
[documentation] Google test
[tags] regression
[Documentation] Google test
[Tags] regression
open browser ${url} ${browser}
close browser
*** Keywords ***

View File

@ -0,0 +1,20 @@
*** Settings ***
Documentation Basic Search Funcianality
Library SeleniumLibrary
*** Variables ***
${browser} chrome
${url} https://www.ebay.com/
*** Test Cases ***
Verify basic search functionality foe eBay
[Documentation] This test case verifins the basic search
[Tags] Functional
open browser ${url} ${browser}
input text //*[@id="gh-ac"] mobile
press key //*[@id="gh-btn"] [Return]
# ověříme že se zobrzí ve filtru mobily
page should contain
*** Keywords ***