Initial commit without large google-chrome.deb
This commit is contained in:
20
PO/Customers.robot
Normal file
20
PO/Customers.robot
Normal file
@@ -0,0 +1,20 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary
|
||||
|
||||
*** Variables ***
|
||||
${CUSTOMERS_HEADER_LABEL}= Our Happy Customers
|
||||
${CUSTOMERS_ADD_CUSTOMER_LINK}= id=new-customer
|
||||
${CUSTOMERS_CUSTOMER_SUCCESS_LABEL}= Success! New customer added
|
||||
|
||||
*** Keywords ***
|
||||
Verify Page Loaded
|
||||
Wait Until Page Contains ${CUSTOMERS_HEADER_LABEL}
|
||||
|
||||
Click Add Customer Link
|
||||
click link ${CUSTOMERS_ADD_CUSTOMER_LINK}
|
||||
|
||||
Verify Customer Added Successfully
|
||||
Wait Until Page Contains ${CUSTOMERS_CUSTOMER_SUCCESS_LABEL}
|
||||
|
||||
Verifiy Not Be Loaded
|
||||
Page Should Not Contain ${CUSTOMERS_HEADER_LABEL}
|
||||
Reference in New Issue
Block a user