Initial commit
This commit is contained in:
13
Resources/FrontOffice/PO/About.robot
Normal file
13
Resources/FrontOffice/PO/About.robot
Normal file
@@ -0,0 +1,13 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary
|
||||
Resource ../PO/FrontOffice.TopNav.robot
|
||||
|
||||
*** Variables ***
|
||||
${ABOUT_HEADER} About
|
||||
|
||||
*** Keywords ***
|
||||
Click on Team Element
|
||||
Click Element ${TOP_NAV_ABOUT_LINK}
|
||||
|
||||
Verify Page
|
||||
Wait Until Page Contains ${ABOUT_HEADER}
|
||||
13
Resources/FrontOffice/PO/Contact.robot
Normal file
13
Resources/FrontOffice/PO/Contact.robot
Normal file
@@ -0,0 +1,13 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary
|
||||
Resource ../PO/FrontOffice.TopNav.robot
|
||||
|
||||
*** Variables ***
|
||||
${CONTACT_US} Contact Us
|
||||
|
||||
*** Keywords ***
|
||||
Click on Team Element
|
||||
Click Element ${TOP_NAV_CONTACT_LINK}
|
||||
|
||||
Verify Page
|
||||
Wait Until Page Contains ${CONTACT_US}
|
||||
16
Resources/FrontOffice/PO/FrontOffice.Landing.robot
Normal file
16
Resources/FrontOffice/PO/FrontOffice.Landing.robot
Normal file
@@ -0,0 +1,16 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary
|
||||
Resource ../FrontOfficeApp.robot
|
||||
|
||||
|
||||
*** Variables ***
|
||||
${FRONT_OFFICE_HOME_PAGE_HEADER} Welcome To Our Studio!
|
||||
${FRONT_OFFICE_URL} https://automationplayground.com/front-office/
|
||||
|
||||
*** Keywords ***
|
||||
Home Page
|
||||
Go To ${FRONT_OFFICE_URL}
|
||||
|
||||
Verify Page
|
||||
Wait Until Page Contains ${FRONT_OFFICE_HOME_PAGE_HEADER}
|
||||
|
||||
30
Resources/FrontOffice/PO/FrontOffice.TopNav.robot
Normal file
30
Resources/FrontOffice/PO/FrontOffice.TopNav.robot
Normal file
@@ -0,0 +1,30 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary
|
||||
|
||||
*** Variables ***
|
||||
${TOP_NAV_ABOUT_LINK} xpath=//*[@id="bs-example-navbar-collapse-1"]/ul/li[4]/a
|
||||
${TOP_NAV_CONTACT_LINK} xpath=//*[@id="bs-example-navbar-collapse-1"]/ul/li[6]/a
|
||||
${TOP_NAV_PORTOFOLIO_LINK} xpath=//*[@id="bs-example-navbar-collapse-1"]/ul/li[3]/a
|
||||
${TOP_NAV_SERVICES_LINK} xpath=//*[@id="bs-example-navbar-collapse-1"]/ul/li[2]/a
|
||||
${TOP_NAV_TEAM_LINK} xpath=//*[@id="bs-example-navbar-collapse-1"]/ul/li[5]/a
|
||||
|
||||
*** Keywords ***
|
||||
Select "About" Page
|
||||
Click Element ${TOP_NAV_ABOUT_LINK}
|
||||
Sleep 2
|
||||
|
||||
Select "Contact" Page
|
||||
Click Element ${TOP_NAV_CONTACT_LINK}
|
||||
Sleep 2
|
||||
|
||||
Select "Portofolio" Page
|
||||
Click Element ${TOP_NAV_PORTOFOLIO_LINK}
|
||||
Sleep 2
|
||||
|
||||
Select "Services" Page
|
||||
Click Element ${TOP_NAV_SERVICES_LINK}
|
||||
Sleep 2
|
||||
|
||||
Select "Team" Page
|
||||
Click Element ${TOP_NAV_TEAM_LINK}
|
||||
Sleep 2
|
||||
13
Resources/FrontOffice/PO/Portofolio.robot
Normal file
13
Resources/FrontOffice/PO/Portofolio.robot
Normal file
@@ -0,0 +1,13 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary
|
||||
Resource ../PO/FrontOffice.TopNav.robot
|
||||
|
||||
*** Variables ***
|
||||
${PORTOFOLIO} Portfolio
|
||||
|
||||
*** Keywords ***
|
||||
Click on Team Element
|
||||
Click Element ${TOP_NAV_PORTOFOLIO_LINK}
|
||||
|
||||
Verify Page
|
||||
Wait Until Page Contains ${PORTOFOLIO}
|
||||
12
Resources/FrontOffice/PO/Services.robot
Normal file
12
Resources/FrontOffice/PO/Services.robot
Normal file
@@ -0,0 +1,12 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary
|
||||
Resource ../PO/FrontOffice.TopNav.robot
|
||||
*** Variables ***
|
||||
${SERVICES} Services
|
||||
|
||||
*** Keywords ***
|
||||
Click on Team Element
|
||||
Click Element ${TOP_NAV_SERVICES_LINK}
|
||||
|
||||
Verify Page
|
||||
Wait Until Page Contains ${SERVICES}
|
||||
13
Resources/FrontOffice/PO/Team.robot
Normal file
13
Resources/FrontOffice/PO/Team.robot
Normal file
@@ -0,0 +1,13 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary
|
||||
Resource ../PO/FrontOffice.TopNav.robot
|
||||
|
||||
*** Variables ***
|
||||
${AMAZING_TEAM} Our Amazing Team
|
||||
|
||||
*** Keywords ***
|
||||
Click on Team Element
|
||||
Click Element ${TOP_NAV_TEAM_LINK}
|
||||
|
||||
Verify Page
|
||||
Wait Until Page Contains ${AMAZING_TEAM}
|
||||
Reference in New Issue
Block a user