Initial commit without large google-chrome.deb
This commit is contained in:
61
Tests/crm.robot
Normal file
61
Tests/crm.robot
Normal file
@@ -0,0 +1,61 @@
|
||||
*** Settings ***
|
||||
Documentation This is some basic info about the whole suite
|
||||
Resource ../Resources/Common.robot
|
||||
Resource ../Resources/crmApp.robot
|
||||
Test Setup Begin Web Test
|
||||
Test Teardown End Web Test
|
||||
|
||||
|
||||
#Run script
|
||||
#robot -d results Tests
|
||||
|
||||
*** Variables ***
|
||||
${BROWSER}= chrome
|
||||
${URL}= https://automationplayground.com/crm/
|
||||
${VALID_LOGIN_EMAIL}= contact@gmail.com
|
||||
${VALID_LOGIN_PASSWORD}= password12345
|
||||
${INVALID_LOGIN_EMAIL}= contactgmail.com
|
||||
|
||||
*** Test Cases ***
|
||||
Should be able to Load the Home Page
|
||||
[Documentation] Test the Home Page
|
||||
[Tags] 1001 Home Smoke
|
||||
crmApp.Go to "Home" Page
|
||||
|
||||
Should be able to Login With Valid Credentials
|
||||
[Documentation] Test the Login
|
||||
[Tags] 1002 Login Smoke
|
||||
crmApp.Go to "Home" Page
|
||||
crmApp.Login With Valid Credentials ${VALID_LOGIN_EMAIL} ${VALID_LOGIN_PASSWORD}
|
||||
|
||||
Should not be able to Login With Invalid Email
|
||||
[Documentation] This is some basic info about the test
|
||||
[Tags] 1002 notLogin Smoke
|
||||
crmApp.Go to "Home" Page
|
||||
crmApp.Login With Invalid Credentials ${INVALID_LOGIN_EMAIL}
|
||||
Sleep 3
|
||||
|
||||
Should be able to select the remember Checkbox
|
||||
[Documentation] Test the remember Checkbox
|
||||
[Tags] 1003 Select Smoke
|
||||
crmApp.Go to "Home" Page
|
||||
crmApp.Login With remember checkbox ${VALID_LOGIN_EMAIL} ${VALID_LOGIN_PASSWORD}
|
||||
Sleep 3
|
||||
|
||||
Should be able to log out
|
||||
[Documentation] Test the Log out
|
||||
[Tags] 1004 Logout Smoke
|
||||
crmApp.Go to "Home" Page
|
||||
crmApp.Login With Valid Credentials ${VALID_LOGIN_EMAIL} ${VALID_LOGIN_PASSWORD}
|
||||
crmApp.Sign Out
|
||||
|
||||
Should be able to add new customer
|
||||
[Documentation] Test the Log out
|
||||
[Tags] 1004 Logout Smoke
|
||||
crmApp.Go to "Home" Page
|
||||
crmApp.Login With Valid Credentials ${VALID_LOGIN_EMAIL} ${VALID_LOGIN_PASSWORD}
|
||||
crmApp.Add New Customer
|
||||
Sleep 3
|
||||
crmApp.Sign Out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user