Initial commit without large google-chrome.deb
This commit is contained in:
21
Resources/Common.robot
Normal file
21
Resources/Common.robot
Normal file
@@ -0,0 +1,21 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary
|
||||
|
||||
*** Variables ***
|
||||
${BROWSER}= chrome
|
||||
${URL}= https://automationplayground.com/crm/
|
||||
|
||||
|
||||
*** Keywords ***
|
||||
Begin Web Test
|
||||
# set selenium speed .2s
|
||||
set selenium timeout 10s
|
||||
open browser ${URL} ${BROWSER}
|
||||
|
||||
#resize browser window for recording
|
||||
set window position x=0 y=0
|
||||
set window size width=1280 height=1040
|
||||
|
||||
|
||||
End Web Test
|
||||
Close All Browsers
|
||||
46
Resources/crmApp.robot
Normal file
46
Resources/crmApp.robot
Normal file
@@ -0,0 +1,46 @@
|
||||
*** Settings ***
|
||||
Resource ../PO/Home.robot
|
||||
Resource ../PO/AddCustomers.robot
|
||||
Resource ../PO/Customers.robot
|
||||
Resource ../PO/LoggerOut.robot
|
||||
Resource ../PO/SignIn.robot
|
||||
Resource ../PO/TopNav.robot
|
||||
|
||||
*** Variables ***
|
||||
|
||||
|
||||
*** Keywords ***
|
||||
Go to "Home" Page
|
||||
Home.Navigate To
|
||||
Home.Verify Page Loaded
|
||||
|
||||
Login With Valid Credentials
|
||||
[Arguments] ${Email} ${Password}
|
||||
TopNav.Click Sign In Link
|
||||
SignIn.Verify Page Loaded
|
||||
SignIn.Login With Valid Credentials ${Email} ${Password}
|
||||
Customers.Verify Page Loaded
|
||||
|
||||
Login With remember checkbox
|
||||
[Arguments] ${Email} ${Password}
|
||||
TopNav.Click Sign In Link
|
||||
SignIn.Verify Page Loaded
|
||||
SignIn.Login With remember checkbox ${Email} ${Password}
|
||||
Customers.Verify Page Loaded
|
||||
|
||||
Login With Invalid Credentials
|
||||
[Arguments] ${Email}
|
||||
TopNav.Click Sign In Link
|
||||
SignIn.Verify Page Loaded Credentials
|
||||
SignIn.Login With Invalid Credentials ${Email}
|
||||
Customers.Verifiy Not Be Loaded
|
||||
|
||||
Add New Customer
|
||||
Customers.Click Add Customer Link
|
||||
AddCustomers.Verify Page Loaded
|
||||
AddCustomers.Add New Customer
|
||||
Customers.Verify Customer Added Successfully
|
||||
|
||||
Sign Out
|
||||
TopNav.Click Sign Out Link
|
||||
LoggerOut.Verify Page Loaded
|
||||
Reference in New Issue
Block a user