commit 9e982332b3a40f06bb7ad6b485c7d74e51439583 Author: Ssyleric Date: Thu Nov 6 12:09:50 2025 +0100 Initial commit without large google-chrome.deb diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6681910 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +google-chrome.deb +results/log.html +results/report.html +results/output.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/crm.iml b/.idea/crm.iml new file mode 100644 index 0000000..86bcdc6 --- /dev/null +++ b/.idea/crm.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..5e2bc93 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d899523 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/PO/AddCustomers.robot b/PO/AddCustomers.robot new file mode 100644 index 0000000..fdc546a --- /dev/null +++ b/PO/AddCustomers.robot @@ -0,0 +1,42 @@ +*** Settings *** +Library SeleniumLibrary + + +*** Variables *** +${ADDCUSTOMER_HEADER_LABEL}= Add Customer +${ADDCUSTOMER_SUBMIT_BUTTON}= Submit +${ADDCUSTOMER_EMAILADDRESS}= id=EmailAddress +${ADDCUSTOMER_FIRSTNAME}= id=FirstName +${ADDCUSTOMER_LASTNAME}= id=LastName +${ADDCUSTOMER_CITY}= id=City +${ADDCUSTOMER_REGION}= id=StateOrRegion +${ADDCUSTOMER_GENDER}= gender +${SELECT_CHECK_BOX}= promos-name +${VALID_LOGIN_EMAIL}= contact@gmail.com +${VALID_LOGIN_PASSWORD}= password12345 +${INPUT_EMAILADDRESS}= jane.doe@gmail.com +${INPUT_FIRSTNAME}= Jane +${INPUT_LASTNAME}= Doe +${INPUT_CITY}= Marseille +${INPUT_REGION}= TX +${INPUT_GENDER}= female + +*** Keywords *** +Verify Page Loaded + Wait Until Page Contains ${ADDCUSTOMER_HEADER_LABEL} + +Add New Customer + Fill Custumer Fields + Click Submit Button + +Fill Custumer Fields + input text ${ADDCUSTOMER_EMAILADDRESS} ${INPUT_EMAILADDRESS} + input text ${ADDCUSTOMER_FIRSTNAME} ${INPUT_FIRSTNAME} + input text ${ADDCUSTOMER_LASTNAME} ${INPUT_LASTNAME} + input text ${ADDCUSTOMER_CITY} ${INPUT_CITY} + select from list by value ${ADDCUSTOMER_REGION} ${INPUT_REGION} + select radio button ${ADDCUSTOMER_GENDER} ${INPUT_GENDER} + select checkbox ${SELECT_CHECK_BOX} + +Click Submit Button + click button ${ADDCUSTOMER_SUBMIT_BUTTON} \ No newline at end of file diff --git a/PO/Customers.robot b/PO/Customers.robot new file mode 100644 index 0000000..c5ecc17 --- /dev/null +++ b/PO/Customers.robot @@ -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} \ No newline at end of file diff --git a/PO/Home.robot b/PO/Home.robot new file mode 100644 index 0000000..2864d60 --- /dev/null +++ b/PO/Home.robot @@ -0,0 +1,14 @@ +*** Settings *** +Library SeleniumLibrary + +*** Variables *** +${HOME_HEADER_LABEL}= Customers Are Priority One! +${URL}= https://automationplayground.com/crm/ + + +*** Keywords *** +Navigate To + Go To ${URL} + +Verify Page Loaded + Wait Until Page Contains ${HOME_HEADER_LABEL} diff --git a/PO/LoggerOut.robot b/PO/LoggerOut.robot new file mode 100644 index 0000000..f50b270 --- /dev/null +++ b/PO/LoggerOut.robot @@ -0,0 +1,12 @@ +*** Settings *** +Library SeleniumLibrary + +*** Variables *** +${LOGGEDOUT_HEADER-LABEL}= Signed Out + + +*** Keywords *** +Verify Page Loaded + Wait Until Page Contains ${LOGGEDOUT_HEADER-LABEL} + + diff --git a/PO/SignIn.robot b/PO/SignIn.robot new file mode 100644 index 0000000..35a1686 --- /dev/null +++ b/PO/SignIn.robot @@ -0,0 +1,53 @@ +*** Settings *** +Library SeleniumLibrary + +*** Variables *** +${SIGNIN_HEADER_LABEL}= Login +${SIGNIN_EMAIL_TEXTBOX}= id=email-id +${SIGNIN_PASSWORD_TEXTBOX}= id=password +${SIGNIN_SUBMIT_BUTTON}= id=submit-id +${EMAIL_ERROR_POPUP}= @ +${SELECT_REMEMBER_BOX}= id=remember + +*** Keywords *** +Verify Page Loaded + Wait Until Page Contains ${SIGNIN_HEADER_LABEL} + +Login With Valid Credentials + [Arguments] ${Email} ${Password} + Fill Email Field ${Email} + Fill Password Field ${Password} + Click Submit Field + +Login With remember checkbox + [Arguments] ${Email} ${Password} + Fill Email Field ${Email} + Fill Password Field ${Password} + Click Checkbox + Click Submit Field + +Verify Page Loaded Credentials + Wait Until Page Contains ${SIGNIN_HEADER_LABEL} + +Login With Invalid Credentials + [Arguments] ${Email} + Fill Email Field ${Email} + Click Submit Field + Wait Until Element Is Visible ${SIGNIN_EMAIL_TEXTBOX} + ${email_check}= Get Value ${SIGNIN_EMAIL_TEXTBOX} + Should Not Contain ${email_check} @ + + +Fill Email Field + [Arguments] ${Email} + Input Text ${SIGNIN_EMAIL_TEXTBOX} ${Email} + +Fill Password Field + [Arguments] ${Password} + Input Text ${SIGNIN_PASSWORD_TEXTBOX} ${Password} + +Click Submit Field + Click Button ${SIGNIN_SUBMIT_BUTTON} + +Click Checkbox + Select Checkbox ${SELECT_REMEMBER_BOX} diff --git a/PO/TopNav.robot b/PO/TopNav.robot new file mode 100644 index 0000000..183018b --- /dev/null +++ b/PO/TopNav.robot @@ -0,0 +1,13 @@ +*** Settings *** +Library SeleniumLibrary + +*** Variables *** +${TOPNAV_SIGNIN_LINK}= Sign In +${TOPNAV_SIGNOUT_LINK}= Sign Out + +*** Keywords *** +Click Sign In Link + click link ${TOPNAV_SIGNIN_LINK} + +Click Sign Out Link + click link ${TOPNAV_SIGNOUT_LINK} \ No newline at end of file diff --git a/Resources/Common.robot b/Resources/Common.robot new file mode 100644 index 0000000..e982c7e --- /dev/null +++ b/Resources/Common.robot @@ -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 diff --git a/Resources/crmApp.robot b/Resources/crmApp.robot new file mode 100644 index 0000000..139b792 --- /dev/null +++ b/Resources/crmApp.robot @@ -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 \ No newline at end of file diff --git a/Results/log.html b/Results/log.html new file mode 100644 index 0000000..2358ee6 --- /dev/null +++ b/Results/log.html @@ -0,0 +1,2457 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework log failed

+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Results/output.xml b/Results/output.xml new file mode 100644 index 0000000..f98fae3 --- /dev/null +++ b/Results/output.xml @@ -0,0 +1,232 @@ + + + + + +.25s +Sets the delay that is waited after each Selenium command. + + + +10s +Sets the timeout that is used by various keywords. + + + +Starting the test case! +Starting the test case! +Logs the given message with the given level. + + + +Opening browser 'chrome' to base url 'https://automationplayground.com/crm/'. +https://automationplayground.com/crm/ +chrome +Opens a new browser instance to the optional ``url``. + + + + +Executing JavaScript: +document.body.style.zoom = "80%" +Without any arguments. +document.body.style.zoom = "80%" +Executes the given JavaScript code with possible arguments. + + + + + +x=0 +y=0 +Sets window position using ``x`` and ``y`` coordinates. + + + +width=1280 +height=1080 +Sets current windows size to given ``width`` and ``height``. + + + +Current page contains text 'Customers Are Priority One!'. +Customers Are Priority One! +Verifies that current page contains ``text``. + + + +Clicking link 'id=SignIn'. +id=SignIn +Clicks a link identified by ``locator``. + + + +Current page contains text 'Login'. +Login +Verifies that current page contains ``text``. + + + +Typing text 'contact@gmail.com' into text field 'id=email-id'. +id=email-id +contact@gmail.com +Types the given ``text`` into the text field identified by ``locator``. + + + +Typing password into text field 'id=password'. +Temporally setting log level to: NONE +id=password +password12345 +Types the given password into the text field identified by ``locator``. + + + +Selecting checkbox 'remember'. +remember +Selects the checkbox identified by ``locator``. + + + +Slept 2 seconds. +2s +Pauses the test executed for the given time. + + + +Clicking button 'id=submit-id'. +id=submit-id +Clicks the button identified by ``locator``. + + + +Current page contains text 'Our Happy Customers'. +Our Happy Customers +Verifies that current page contains ``text``. + + + +Clicking link 'id=new-customer'. +id=new-customer +Clicks a link identified by ``locator``. + + + +Current page contains text 'Add Customer'. +Add Customer +Verifies that current page contains ``text``. + + + +Typing text 'jane.doe@gmail.com' into text field 'id=EmailAddress'. +id=EmailAddress +jane.doe@gmail.com +Types the given ``text`` into the text field identified by ``locator``. + + + +Typing text 'Jane' into text field 'id=FirstName'. +id=FirstName +Jane +Types the given ``text`` into the text field identified by ``locator``. + + + +Typing text 'Doe' into text field 'id=LastName'. +id=LastName +Doe +Types the given ``text`` into the text field identified by ``locator``. + + + +Typing text 'Marseille' into text field 'id=City'. +id=City +Marseille +Types the given ``text`` into the text field identified by ``locator``. + + + +Selecting options from selection list 'id=StateOrRegion' by value TX. +id=StateOrRegion +TX +Selects options from selection list ``locator`` by ``values``. + + + +Selecting 'female' from radio button 'gender'. +gender +female +Sets the radio button group ``group_name`` to ``value``. + + + +Selecting checkbox 'promos-name'. +promos-name +Selects the checkbox identified by ``locator``. + + + +Slept 2 seconds. +2s +Pauses the test executed for the given time. + + + +Clicking button 'Submit'. +Submit +Clicks the button identified by ``locator``. + + + +Clicking element 'css:a[href='two.html']'. +css:a[href='two.html'] +Click the element identified by ``locator``. + + + +Slept 3 seconds. +3s +Pauses the test executed for the given time. + + + +Clicking element 'css:a[href='three.html']'. +css:a[href='three.html'] +Click the element identified by ``locator``. + + + +Slept 3 seconds. +3s +Pauses the test executed for the given time. + + + +Closes the current browser. + + +This is some basic info about the test +1006 +Contacts +Smoke + + +This is some basic info about the whole suite + + + + +All Tests + + +1006 +Contacts +Smoke + + +Crm + + + + + diff --git a/Results/report.html b/Results/report.html new file mode 100644 index 0000000..3e38301 --- /dev/null +++ b/Results/report.html @@ -0,0 +1,2735 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework report failed

+ +
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/crm.robot b/Tests/crm.robot new file mode 100644 index 0000000..c22d306 --- /dev/null +++ b/Tests/crm.robot @@ -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 + + diff --git a/results/log.html b/results/log.html new file mode 100644 index 0000000..0760640 --- /dev/null +++ b/results/log.html @@ -0,0 +1,2457 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework log failed

+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/results/output.xml b/results/output.xml new file mode 100644 index 0000000..76946e5 --- /dev/null +++ b/results/output.xml @@ -0,0 +1,897 @@ + + + + + + + + +10s +Sets the timeout that is used by various keywords. + + + +Opening browser 'chrome' to base url 'https://automationplayground.com/crm/'. +${URL} +${BROWSER} +Opens a new browser instance to the optional ``url``. + + + +x=0 +y=0 +Sets window position using ``x`` and ``y`` coordinates. + + + +width=1280 +height=1040 +Sets current windows size to given ``width`` and ``height``. + + + + + + + +Opening url 'https://automationplayground.com/crm/' +${URL} +Navigates the current browser window to the provided ``url``. + + + + + + +${HOME_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + + +Closes all open browsers and resets the browser cache. + + + + +Test the Home Page +1001 +Home +Smoke + + + + + +10s +Sets the timeout that is used by various keywords. + + + +Opening browser 'chrome' to base url 'https://automationplayground.com/crm/'. +${URL} +${BROWSER} +Opens a new browser instance to the optional ``url``. + + + +x=0 +y=0 +Sets window position using ``x`` and ``y`` coordinates. + + + +width=1280 +height=1040 +Sets current windows size to given ``width`` and ``height``. + + + + + + + +Opening url 'https://automationplayground.com/crm/' +${URL} +Navigates the current browser window to the provided ``url``. + + + + + + +${HOME_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + + + +Clicking link 'Sign In'. +${TOPNAV_SIGNIN_LINK} +Clicks a link identified by ``locator``. + + + + + + +${SIGNIN_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + +Typing text 'contact@gmail.com' into text field 'id=email-id'. +${SIGNIN_EMAIL_TEXTBOX} +${Email} +Types the given ``text`` into the text field identified by ``locator``. + + +${Email} + + + + +Typing text 'password12345' into text field 'id=password'. +${SIGNIN_PASSWORD_TEXTBOX} +${Password} +Types the given ``text`` into the text field identified by ``locator``. + + +${Password} + + + + +Clicking button 'id=submit-id'. +${SIGNIN_SUBMIT_BUTTON} +Clicks the button identified by ``locator``. + + + + +${Email} +${Password} + + + + +${CUSTOMERS_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + +${VALID_LOGIN_EMAIL} +${VALID_LOGIN_PASSWORD} + + + + +Closes all open browsers and resets the browser cache. + + + + +Test the Login +1002 +Login +Smoke + + + + + +10s +Sets the timeout that is used by various keywords. + + + +Opening browser 'chrome' to base url 'https://automationplayground.com/crm/'. +${URL} +${BROWSER} +Opens a new browser instance to the optional ``url``. + + + +x=0 +y=0 +Sets window position using ``x`` and ``y`` coordinates. + + + +width=1280 +height=1040 +Sets current windows size to given ``width`` and ``height``. + + + + + + + +Opening url 'https://automationplayground.com/crm/' +${URL} +Navigates the current browser window to the provided ``url``. + + + + + + +${HOME_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + + + +Clicking link 'Sign In'. +${TOPNAV_SIGNIN_LINK} +Clicks a link identified by ``locator``. + + + + + + +${SIGNIN_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + +Typing text 'contactgmail.com' into text field 'id=email-id'. +${SIGNIN_EMAIL_TEXTBOX} +${Email} +Types the given ``text`` into the text field identified by ``locator``. + + +${Email} + + + + +Clicking button 'id=submit-id'. +${SIGNIN_SUBMIT_BUTTON} +Clicks the button identified by ``locator``. + + + + + +${SIGNIN_EMAIL_TEXTBOX} +Waits until the element ``locator`` is visible. + + + +${email_check} = contactgmail.com +${email_check} +${SIGNIN_EMAIL_TEXTBOX} +Returns the value attribute of the element identified by ``locator``. + + + +${email_check} +@ +Fails if ``container`` contains ``item`` one or more times. + + +${Email} + + + + +Current page does not contain text 'Our Happy Customers'. +${CUSTOMERS_HEADER_LABEL} +Verifies the current page does not contain ``text``. + + + + +${INVALID_LOGIN_EMAIL} + + + +Slept 3 seconds. +3 +Pauses the test executed for the given time. + + + + +Closes all open browsers and resets the browser cache. + + + + +This is some basic info about the test +1002 +notLogin +Smoke + + + + + +10s +Sets the timeout that is used by various keywords. + + + +Opening browser 'chrome' to base url 'https://automationplayground.com/crm/'. +${URL} +${BROWSER} +Opens a new browser instance to the optional ``url``. + + + +x=0 +y=0 +Sets window position using ``x`` and ``y`` coordinates. + + + +width=1280 +height=1040 +Sets current windows size to given ``width`` and ``height``. + + + + + + + +Opening url 'https://automationplayground.com/crm/' +${URL} +Navigates the current browser window to the provided ``url``. + + + + + + +${HOME_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + + + +Clicking link 'Sign In'. +${TOPNAV_SIGNIN_LINK} +Clicks a link identified by ``locator``. + + + + + + +${SIGNIN_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + +Typing text 'contact@gmail.com' into text field 'id=email-id'. +${SIGNIN_EMAIL_TEXTBOX} +${Email} +Types the given ``text`` into the text field identified by ``locator``. + + +${Email} + + + + +Typing text 'password12345' into text field 'id=password'. +${SIGNIN_PASSWORD_TEXTBOX} +${Password} +Types the given ``text`` into the text field identified by ``locator``. + + +${Password} + + + + +Selecting checkbox 'id=remember'. +${SELECT_REMEMBER_BOX} +Selects the checkbox identified by ``locator``. + + + + + + +Clicking button 'id=submit-id'. +${SIGNIN_SUBMIT_BUTTON} +Clicks the button identified by ``locator``. + + + + +${Email} +${Password} + + + + +${CUSTOMERS_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + +${VALID_LOGIN_EMAIL} +${VALID_LOGIN_PASSWORD} + + + +Slept 3 seconds. +3 +Pauses the test executed for the given time. + + + + +Closes all open browsers and resets the browser cache. + + + + +Test the remember Checkbox +1003 +Select +Smoke + + + + + +10s +Sets the timeout that is used by various keywords. + + + +Opening browser 'chrome' to base url 'https://automationplayground.com/crm/'. +${URL} +${BROWSER} +Opens a new browser instance to the optional ``url``. + + + +x=0 +y=0 +Sets window position using ``x`` and ``y`` coordinates. + + + +width=1280 +height=1040 +Sets current windows size to given ``width`` and ``height``. + + + + + + + +Opening url 'https://automationplayground.com/crm/' +${URL} +Navigates the current browser window to the provided ``url``. + + + + + + +${HOME_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + + + +Clicking link 'Sign In'. +${TOPNAV_SIGNIN_LINK} +Clicks a link identified by ``locator``. + + + + + + +${SIGNIN_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + +Typing text 'contact@gmail.com' into text field 'id=email-id'. +${SIGNIN_EMAIL_TEXTBOX} +${Email} +Types the given ``text`` into the text field identified by ``locator``. + + +${Email} + + + + +Typing text 'password12345' into text field 'id=password'. +${SIGNIN_PASSWORD_TEXTBOX} +${Password} +Types the given ``text`` into the text field identified by ``locator``. + + +${Password} + + + + +Clicking button 'id=submit-id'. +${SIGNIN_SUBMIT_BUTTON} +Clicks the button identified by ``locator``. + + + + +${Email} +${Password} + + + + +${CUSTOMERS_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + +${VALID_LOGIN_EMAIL} +${VALID_LOGIN_PASSWORD} + + + + + +Clicking link 'Sign Out'. +${TOPNAV_SIGNOUT_LINK} +Clicks a link identified by ``locator``. + + + + + + +${LOGGEDOUT_HEADER-LABEL} +Waits until ``text`` appears on the current page. + + + + + + + + +Closes all open browsers and resets the browser cache. + + + + +Test the Log out +1004 +Logout +Smoke + + + + + +10s +Sets the timeout that is used by various keywords. + + + +Opening browser 'chrome' to base url 'https://automationplayground.com/crm/'. +${URL} +${BROWSER} +Opens a new browser instance to the optional ``url``. + + + +x=0 +y=0 +Sets window position using ``x`` and ``y`` coordinates. + + + +width=1280 +height=1040 +Sets current windows size to given ``width`` and ``height``. + + + + + + + +Opening url 'https://automationplayground.com/crm/' +${URL} +Navigates the current browser window to the provided ``url``. + + + + + + +${HOME_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + + + +Clicking link 'Sign In'. +${TOPNAV_SIGNIN_LINK} +Clicks a link identified by ``locator``. + + + + + + +${SIGNIN_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + +Typing text 'contact@gmail.com' into text field 'id=email-id'. +${SIGNIN_EMAIL_TEXTBOX} +${Email} +Types the given ``text`` into the text field identified by ``locator``. + + +${Email} + + + + +Typing text 'password12345' into text field 'id=password'. +${SIGNIN_PASSWORD_TEXTBOX} +${Password} +Types the given ``text`` into the text field identified by ``locator``. + + +${Password} + + + + +Clicking button 'id=submit-id'. +${SIGNIN_SUBMIT_BUTTON} +Clicks the button identified by ``locator``. + + + + +${Email} +${Password} + + + + +${CUSTOMERS_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + +${VALID_LOGIN_EMAIL} +${VALID_LOGIN_PASSWORD} + + + + + +Clicking link 'id=new-customer'. +${CUSTOMERS_ADD_CUSTOMER_LINK} +Clicks a link identified by ``locator``. + + + + + + +${ADDCUSTOMER_HEADER_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + +Typing text 'jane.doe@gmail.com' into text field 'id=EmailAddress'. +${ADDCUSTOMER_EMAILADDRESS} +${INPUT_EMAILADDRESS} +Types the given ``text`` into the text field identified by ``locator``. + + + +Typing text 'Jane' into text field 'id=FirstName'. +${ADDCUSTOMER_FIRSTNAME} +${INPUT_FIRSTNAME} +Types the given ``text`` into the text field identified by ``locator``. + + + +Typing text 'Doe' into text field 'id=LastName'. +${ADDCUSTOMER_LASTNAME} +${INPUT_LASTNAME} +Types the given ``text`` into the text field identified by ``locator``. + + + +Typing text 'Marseille' into text field 'id=City'. +${ADDCUSTOMER_CITY} +${INPUT_CITY} +Types the given ``text`` into the text field identified by ``locator``. + + + +Selecting options from selection list 'id=StateOrRegion' by value TX. +${ADDCUSTOMER_REGION} +${INPUT_REGION} +Selects options from selection list ``locator`` by ``values``. + + + +Selecting 'female' from radio button 'gender'. +${ADDCUSTOMER_GENDER} +${INPUT_GENDER} +Sets the radio button group ``group_name`` to ``value``. + + + +Selecting checkbox 'promos-name'. +${SELECT_CHECK_BOX} +Selects the checkbox identified by ``locator``. + + + + + + +Clicking button 'Submit'. +${ADDCUSTOMER_SUBMIT_BUTTON} +Clicks the button identified by ``locator``. + + + + + + + + +${CUSTOMERS_CUSTOMER_SUCCESS_LABEL} +Waits until ``text`` appears on the current page. + + + + + + + +Slept 3 seconds. +3 +Pauses the test executed for the given time. + + + + + +Clicking link 'Sign Out'. +${TOPNAV_SIGNOUT_LINK} +Clicks a link identified by ``locator``. + + + + + + +${LOGGEDOUT_HEADER-LABEL} +Waits until ``text`` appears on the current page. + + + + + + + + +Closes all open browsers and resets the browser cache. + + + + +Test the Log out +1004 +Logout +Smoke + + +This is some basic info about the whole suite + + + + + + + + +All Tests + + +1001 +1002 +1003 +1004 +Home +Login +Logout +notLogin +Select +Smoke + + +Crm +Crm.Tests +Crm.Tests.Crm + + + + + diff --git a/results/report.html b/results/report.html new file mode 100644 index 0000000..bb5a7c8 --- /dev/null +++ b/results/report.html @@ -0,0 +1,2735 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework report failed

+ +
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/results/selenium-screenshot-1.png b/results/selenium-screenshot-1.png new file mode 100644 index 0000000..2989521 Binary files /dev/null and b/results/selenium-screenshot-1.png differ diff --git a/results/selenium-screenshot-10.png b/results/selenium-screenshot-10.png new file mode 100644 index 0000000..b0ed272 Binary files /dev/null and b/results/selenium-screenshot-10.png differ diff --git a/results/selenium-screenshot-11.png b/results/selenium-screenshot-11.png new file mode 100644 index 0000000..a8aaf9f Binary files /dev/null and b/results/selenium-screenshot-11.png differ diff --git a/results/selenium-screenshot-12.png b/results/selenium-screenshot-12.png new file mode 100644 index 0000000..8ccd8f9 Binary files /dev/null and b/results/selenium-screenshot-12.png differ diff --git a/results/selenium-screenshot-13.png b/results/selenium-screenshot-13.png new file mode 100644 index 0000000..ce66e19 Binary files /dev/null and b/results/selenium-screenshot-13.png differ diff --git a/results/selenium-screenshot-14.png b/results/selenium-screenshot-14.png new file mode 100644 index 0000000..d38d818 Binary files /dev/null and b/results/selenium-screenshot-14.png differ diff --git a/results/selenium-screenshot-15.png b/results/selenium-screenshot-15.png new file mode 100644 index 0000000..7701743 Binary files /dev/null and b/results/selenium-screenshot-15.png differ diff --git a/results/selenium-screenshot-16.png b/results/selenium-screenshot-16.png new file mode 100644 index 0000000..f8bb5fc Binary files /dev/null and b/results/selenium-screenshot-16.png differ diff --git a/results/selenium-screenshot-17.png b/results/selenium-screenshot-17.png new file mode 100644 index 0000000..07c5832 Binary files /dev/null and b/results/selenium-screenshot-17.png differ diff --git a/results/selenium-screenshot-18.png b/results/selenium-screenshot-18.png new file mode 100644 index 0000000..98c3ca2 Binary files /dev/null and b/results/selenium-screenshot-18.png differ diff --git a/results/selenium-screenshot-19.png b/results/selenium-screenshot-19.png new file mode 100644 index 0000000..adb1994 Binary files /dev/null and b/results/selenium-screenshot-19.png differ diff --git a/results/selenium-screenshot-2.png b/results/selenium-screenshot-2.png new file mode 100644 index 0000000..7701743 Binary files /dev/null and b/results/selenium-screenshot-2.png differ diff --git a/results/selenium-screenshot-20.png b/results/selenium-screenshot-20.png new file mode 100644 index 0000000..2989521 Binary files /dev/null and b/results/selenium-screenshot-20.png differ diff --git a/results/selenium-screenshot-21.png b/results/selenium-screenshot-21.png new file mode 100644 index 0000000..98c3ca2 Binary files /dev/null and b/results/selenium-screenshot-21.png differ diff --git a/results/selenium-screenshot-22.png b/results/selenium-screenshot-22.png new file mode 100644 index 0000000..c403d7d Binary files /dev/null and b/results/selenium-screenshot-22.png differ diff --git a/results/selenium-screenshot-23.png b/results/selenium-screenshot-23.png new file mode 100644 index 0000000..98c3ca2 Binary files /dev/null and b/results/selenium-screenshot-23.png differ diff --git a/results/selenium-screenshot-24.png b/results/selenium-screenshot-24.png new file mode 100644 index 0000000..80608e7 Binary files /dev/null and b/results/selenium-screenshot-24.png differ diff --git a/results/selenium-screenshot-25.png b/results/selenium-screenshot-25.png new file mode 100644 index 0000000..2989521 Binary files /dev/null and b/results/selenium-screenshot-25.png differ diff --git a/results/selenium-screenshot-3.png b/results/selenium-screenshot-3.png new file mode 100644 index 0000000..f9c274b Binary files /dev/null and b/results/selenium-screenshot-3.png differ diff --git a/results/selenium-screenshot-4.png b/results/selenium-screenshot-4.png new file mode 100644 index 0000000..de49b60 Binary files /dev/null and b/results/selenium-screenshot-4.png differ diff --git a/results/selenium-screenshot-5.png b/results/selenium-screenshot-5.png new file mode 100644 index 0000000..f0f98ac Binary files /dev/null and b/results/selenium-screenshot-5.png differ diff --git a/results/selenium-screenshot-6.png b/results/selenium-screenshot-6.png new file mode 100644 index 0000000..2519794 Binary files /dev/null and b/results/selenium-screenshot-6.png differ diff --git a/results/selenium-screenshot-7.png b/results/selenium-screenshot-7.png new file mode 100644 index 0000000..de900fb Binary files /dev/null and b/results/selenium-screenshot-7.png differ diff --git a/results/selenium-screenshot-8.png b/results/selenium-screenshot-8.png new file mode 100644 index 0000000..1e4ad07 Binary files /dev/null and b/results/selenium-screenshot-8.png differ diff --git a/results/selenium-screenshot-9.png b/results/selenium-screenshot-9.png new file mode 100644 index 0000000..4b80c7a Binary files /dev/null and b/results/selenium-screenshot-9.png differ