# End to End Automated for Analytics Testing

${AEM_DOMAIN} = link to the AEM instance. Ex https://aem-qa1-us.stcdev.com/

# Donation

# Designation legend for verifications

1620 - undes 1622 - undes 1684 - emer, + company name 1716 - undes 1934 - undes 1943 - des 2026 - br 2225 - p2p

# Single donation amount form

{donationUrl}:

  • https://lo-test.savethechildren.org/site/Donation2?df_id=1622
  • https://lo-test.savethechildren.org/site/Donation2?df_id=1684
  • https://lo-test.savethechildren.org/site/Donation2?df_id=1943
  • https://lo-test.savethechildren.org/site/Donation2?df_id=2026
  • https://lo-test.savethechildren.org/site/Donation2?df_id=2225&FR_ID=1130&PROXY_ID=2737224&PROXY_TYPE=20

# Single donation form new user test

  • Go to the {donationUrl}.
  • Enter previously unused email address in the billing step to be registered as a new user
  • Make a donation
  • Print out digitalData object.
  • Validate digitalData details on the thank you page

# Single donation form returning user test

  • Go to the {donationUrl}
  • Login with an existing user account
  • Make a donation
  • Print out digitalData object.
  • Validate digitalData details on the thank you page

# Monthly donation amount form

{donationUrl}:

  • https://lo-test.savethechildren.org/site/Donation2?df_id=1634

# Monthly donation form new user test

  • Go to the {donationUrl}.
  • Enter previously unused email address in the billing step to be registered as a new user
  • Make a donation
  • Print out digitalData object.
  • Validate digitalData details on the thank you page

# Monthly donation form returning user test

  • Go to the {donationUrl}.
  • Login with an existing user account
  • Make a donation
  • Print out digitalData object.
  • Validate digitalData details on the thank you page

# Combo donation amount form

{donationUrl}:

  • https://lo-test.savethechildren.org/site/Donation2?df_id=1620
  • https://lo-test.savethechildren.org/site/Donation2?df_id=1716

# Combo donation form one-time gift new user test

  • Go to the {donationUrl}.
  • Enter previously unused email address in the billing step to be registered as a new user
  • Make a one-time gift
  • Print out digitalData object.
  • Validate digitalData details on the thank you page

# Combo donation form one-time gift returning user test

  • Go to the {donationUrl}.
  • Login with an existing user account
  • Make a one-time gift
  • Print out digitalData object.
  • Validate digitalData details on the thank you page

# Combo donation form monthly gift new user test

  • Go to the {donationUrl}.
  • Enter previously unused email address in the billing step to be registered as a new user
  • Make a monthly gift
  • Print out digitalData object.
  • Validate digitalData details on the thank you page

# Combo donation form monthly gift returning user test

  • Go to the {donationUrl}.
  • Login with an existing user account
  • Make a monthly gift
  • Print out digitalData object.
  • Validate digitalData details on the thank you page

# eCommerce & Sponsorship

# eCommerce only new user test

  • Go to https://lo-test.savethechildren.org/site/Ecommerce?store_id=1241&FOLDER=0&SORT_ORDER=ascending
  • Buy a simple eCommerce product
  • Enter previously unused email address in the billing step to be registered as a new user.
  • Complete the transaction.
  • Print out digitalData object.
  • On the thank you page, validate that transaction information is in digitalData object, including product details: transaction.items transaction.transactionId

# eCommerce only returning user test

  • Go to https://lo-test.savethechildren.org/site/Ecommerce?store_id=1241&FOLDER=0&SORT_ORDER=ascending
  • Buy a simple eCommerce product
  • Login in the cart as an authorized user.
  • Complete the transaction.
  • Print out digitalData object.
  • On the thank you page, validate that transaction information is in digitalData object, including product & user details: transaction.items transaction.transactionId

# eCommerce + one-time donation new user test

  • Go to https://lo-test.savethechildren.org/site/Ecommerce?store_id=1241&FOLDER=0&SORT_ORDER=ascending
  • Buy a simple eCommerce product and make a one-time donation in the checkout
  • Enter previously unused email address in the billing step to be registered as a new user.
  • Complete the transaction.
  • Print out digitalData object.
  • On the thank you page, validate that transaction information is in digitalData object, including product details and donation details, transaction.items transaction.transactionId, donation

# eCommerce + one-time donation returning user test

  • Go to https://lo-test.savethechildren.org/site/Ecommerce?store_id=1241&FOLDER=0&SORT_ORDER=ascending
  • Buy a simple eCommerce product and make a one-time donation in the checkout
  • Login in the cart as an authorized user
  • Complete the transaction.
  • Print out digitalData object.
  • On the thank you page, validate that transaction information is in digitalData object, including product details and donation details, transaction.items transaction.transactionId, donation

# eCommerce + recurring donation new user test

  • Go to https://lo-test.savethechildren.org/site/Ecommerce?store_id=1241&FOLDER=0&SORT_ORDER=ascending
  • Buy a simple eCommerce product and make a recurring donation in the checkout
  • Enter previously unused email address in the billing step to be registered as a new user
  • Complete the transaction.
  • Print out digitalData object.
  • On the thank you page, validate that transaction information is in digitalData object, including product details and donation details, transaction.items transaction.transactionId, donation. Transaction id will have 2 values glued together

# eCommerce + recurring donation returning user test

  • Go to https://lo-test.savethechildren.org/site/Ecommerce?store_id=1241&FOLDER=0&SORT_ORDER=ascending
  • Buy a simple eCommerce product and make a recurring donation in the checkout
  • Login in the cart as an authorized user
  • Print out digitalData object.
  • On the thank you page, validate that transaction information is in digitalData object, including product details and donation details, transaction.items transaction.transactionId, donation. Transaction id will have 2 values glued together

# Sponsorship only new user test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/sponsorship.html
  • Search for children in Africa
  • Validate that search values are set in digitalData object
  • Click on a child profile
  • Validate that child details are set in digitalData object
  • Add a child to the cart
  • Enter previously unused email address in the billing step to be registered as a new user
  • Checkout
  • Print out digitalData object.
  • Validate transaction information, including child details

# Sponsorship only returning user test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/sponsorship.html
  • Search for children in Africa
  • Validate that search values are set in digitalData object
  • Click on a child profile
  • Validate that child details are set in digitalData object
  • Add a child to the cart
  • Click to Checkout
  • Login in the cart as an authorized user
  • Complete the transaction.
  • Print out digitalData object.
  • Validate transaction information, including child details

# Gift Sponsorship new user test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/sponsorship.html
  • Add a child to the cart
  • In the cart select gift sponsorship
  • Enter previously unused email address in the billing step to be registered as a new user
  • Checkout
  • Print out digitalData object.
  • Validate transaction information, including child details

# Gift Sponsorship returning user test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/sponsorship.html
  • Add a child to the cart
  • In the cart select gift sponsorship
  • Login in the cart as an authorized user
  • Checkout
  • Print out digitalData object.
  • Validate transaction information, including child details

# Combo Cart new user test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/sponsorship.html
  • Add a child to the cart
  • Navigate to the gift catalog
  • Add a product to the cart
  • Enter previously unused email address in the billing step to be registered as a new user
  • Checkout
  • Print out digitalData object.
  • Validate transaction information, including child details

# Combo Cart returning user test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/sponsorship.html
  • Add a child to the cart
  • Navigate to the gift catalog
  • Add a product to the cart
  • Login in the cart as an authorized user
  • Checkout
  • Print out digitalData object.
  • Validate transaction information, including child details

# Combo Cart + additional recurring donation new user test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/sponsorship.html
  • Add a child to the cart
  • Navigate to the gift catalog
  • Add a product to the cart
  • Add a monthly donation in the cart
  • Enter previously unused email address in the billing step to be registered as a new user
  • Checkout
  • Print out digitalData object.
  • Validate transaction information, including child details. Transaction id should be a composite of 3 transactions.

# Combo Cart + additional recurring donation returning user test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/sponsorship.html
  • Add a child to the cart
  • Navigate to the gift catalog
  • Add a product to the cart
  • Add a monthly donation in the cart
  • Login in the cart as an authorized user
  • Checkout
  • Print out digitalData object.
  • Validate transaction information, including child details. Transaction id should be a composite of 3 transactions.

# Login

# Login error test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/login.html
  • Login with invalid credentials
  • Print out digitalData object.

# Login success test

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/login.html
  • Login with valid credentials
  • Wait 1 second
  • Print out digitalData object.

# Newsletter

# Newsletter new user sign up

  • Go to ${AEM_DOMAIN}
  • Sign up as a new user - email address never have been used before.
  • Print out digitalData object.

# Newsletter returning user sign up

  • Go to ${AEM_DOMAIN}
  • Sign up as a new user - use an email that has been registered before.
  • Print out digitalData object.

# Linktracking test

  • Go to: ${AEM_DOMAIN}
  • Print out digitalData object after 3 seconds.
  • Click on 'About Us' in the main menu.
  • Click on 'What We Do' in the main menu.
  • Click on 'Legal Disclosure' in the footer.

# Pageview test

  • Go to: ${AEM_DOMAIN}
  • Print out digitalData object after 3 seconds.

# Supporter Center

# Supporter Center Profile Update

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/login.html
  • Login with valid credentials
  • Click on Manage My Profile
  • Click Edit under Contact Information and then Save
  • Click Edit under Address Information and then Save
  • Click Edit under My Username and then Save
  • Print out digitalData object.

# Supporter Center Donation Upgrade

  • Go to https://lo-test.savethechildren.org/site/SPageNavigator/login.html
  • Login with valid credentials from a recurring donation test
  • Go to Manage My Giving
  • Click on Edit Payment Amount under Recurring Gifts
  • Increase the amount by $0.01
  • Click Save
  • Print out digitalData object.

# Teamraiser

# Teamraiser free registration only new user test

  • Go to http://lo-test.savethechildren.org/site/TR?fr_id=1130&pg=entry
  • Register as a new user
  • Do not add an additional donation
  • Validate transaction data on the thank you page, make sure it includes Teamraiser information as well

# Teamraiser free registration with donation new user test

  • Go to http://lo-test.savethechildren.org/site/TR?fr_id=1130&pg=entry
  • Register as a new user.
  • Add an additional donation.
  • Complete the transaction.
  • Print out digitalData object.
  • Validate transaction data on the thank you page, make sure it includes Teamraiser information as well

# Teamraiser paid registration only new user test

  • Go to http://lo-test.savethechildren.org/site/TR?fr_id=1120&pg=entry
  • Register as a new user
  • Do not add an additional donation
  • Complete the transaction.
  • Print out digitalData object.
  • Validate transaction data on the thank you page, make sure it includes Teamraiser information as well

# Teamraiser paid registration with donation new user test

  • Go to http://lo-test.savethechildren.org/site/TR?fr_id=1120&pg=entry
  • Register as a new user
  • Do not add an additional donation
  • Complete the transaction.
  • Print out digitalData object.
  • Validate transaction data on the thank you page, make sure it includes Teamraiser information as well