Initial commit

This commit is contained in:
2025-11-06 12:05:49 +01:00
commit 5ee86c1d10
68 changed files with 6184 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
*** Settings ***
Resource ./PO/BackOffice.Landing.robot
Resource ./PO/BackOffice.TopNav.robot
*** Variables ***
*** Keywords ***
Go to "Home" page
BackOffice.Landing.Home Page
BackOffice.Landing.Verify Page

View File

@@ -0,0 +1,16 @@
*** Settings ***
Library SeleniumLibrary
Resource ../BackOfficeApp.robot
*** Variables ***
${BACK_OFFICE_HOME_PAGE-HEADER} Dashboard
${BACK_OFFICE_URL} https://automationplayground.com/back-office/
*** Keywords ***
Home Page
Go To ${BACK_OFFICE_URL}
Verify Page
Wait Until Page Contains ${BACK_OFFICE_HOME_PAGE-HEADER}

View File

@@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary
Resource ../BackOfficeApp.robot
*** 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

View File

@@ -0,0 +1,15 @@
*** Settings ***
Library SeleniumLibrary
Resource ../BackOffice/BackOfficeApp.robot
Resource ../FrontOffice/FrontOfficeApp.robot
*** Variables ***
${BROWSER} chrome
*** Keywords ***
Begin Web Test
Open Browser about:blank ${BROWSER}
Maximize Browser Window
End Web Test
Close All Browsers

View File

@@ -0,0 +1,36 @@
*** Settings ***
Resource ./PO/FrontOffice.Landing.robot
Resource ./PO/About.robot
Resource ./PO/Contact.robot
Resource ./PO/Portofolio.robot
Resource ./PO/Services.robot
Resource ./PO/Team.robot
Resource ./PO/FrontOffice.TopNav.robot
*** Variables ***
*** Keywords ***
Go to "Home" page
FrontOffice.Landing.Home Page
FrontOffice.Landing.Verify Page
GO to "About" Page
FrontOffice.TopNav.Select "About" Page
About.Verify Page
GO to "Contact" Page
FrontOffice.TopNav.Select "Contact" Page
Contact.Verify Page
GO to "Portofolio" Page
FrontOffice.TopNav.Select "Portofolio" Page
Portofolio.Verify Page
GO to "Services" Page
FrontOffice.TopNav.Select "Services" Page
Services.Verify Page
GO to "Team" Page
FrontOffice.TopNav.Select "Team" Page
Team.Verify Page

View 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}

View 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}

View 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}

View 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

View 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}

View 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}

View 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}