Robot_Framework/RobotSelenium/Techie/TestCases/TC1.robot

22 lines
478 B
Plaintext
Raw Normal View History

2023-10-13 12:32:41 +00:00
*** Settings ***
Library SeleniumLibrary
2023-10-14 07:28:27 +00:00
Test Timeout 2 minute
2023-10-13 12:32:41 +00:00
*** Variables ***
2023-10-14 07:28:27 +00:00
${browser} chrome
${url} https://demo.nopcommerce.com/
2023-10-13 12:32:41 +00:00
*** Test Cases ***
LoginTest
2023-10-14 07:28:27 +00:00
open browser ${url} ${browser}
loginToApplication
2023-10-13 12:32:41 +00:00
close browser
*** Keywords ***
2023-10-14 07:28:27 +00:00
loginToApplication
click link xpath://a[@class="ico-login"]
input text id:Email testing@gmail.com
input text id:Password Test@123
click element xpath://button[@class='button-1 login-button']