Robot_Framework/RobotSelenium/Mentor/Tests/eBay/BasicSearch.robot

31 lines
739 B
Plaintext
Raw Permalink Normal View History

2023-10-15 03:16:50 +00:00
*** 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
2023-10-15 19:56:06 +00:00
Start test
Verify Search Results
Finnish TestCase
2023-10-15 03:16:50 +00:00
2023-10-15 19:56:06 +00:00
*** Keywords ***
Start test
2023-10-15 04:01:31 +00:00
open browser ${url} ${browser}
2023-10-15 19:56:06 +00:00
maximize browser window
Verify Search Results
2023-10-15 04:01:31 +00:00
input text //*[@id="gh-ac"] mobile
2023-10-16 18:57:54 +00:00
# kliknout na tlačítko můžeme více způsoby
2023-10-15 19:56:06 +00:00
#click button xpath://*[@id="gh-btn"]
press keys xpath://*[@id="gh-btn"] RETURN
2023-10-15 04:01:31 +00:00
page should contain výsledků mobile
2023-10-15 03:16:50 +00:00
2023-10-15 19:56:06 +00:00
Finnish TestCase
close browser