Skip to content

anandkiran2007/Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is sample project which uses sahi pro for automating the following flow

  1. Go to Amazon.com.

  2. Search for "bose", which will show a page like this.

  3. Click on the first product that comes up. This will take you to a product page, that looks like this.

  4. Use the Share by email to send a mail to your gmail.

  5. Login to your Gmail and verify if the right product information has been to your email. Use different techniques such as comparison of information present in the email versus what's present in the actual page to validate the information.

Pre -requsities

  1. Sahi pro
  2. Ant

Steps to run the scripts

  1. Install Sahi pro
  2. Copy "AmazonDemo" folder and place them under /userdata/scripts folder
  3. Place "userdata.properties" file in /userdata/config
  4. Place "build.xml" file under the sahi folder
  5. Copy the AmazonDemo and place it under /userdata/scripts folder
  6. Go to AmazonDemo/PageObjects/CommonPageObjects/config.sah , provide the valid credentials for testing the code
  7. Now cd to sahi folder and run the command ant -f build.xml

About

Demo Project on Amazon Search and Email Check

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published