Selenium Web Test Tool Training Using Ruby Language Kavin School Presents: Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Presented by: Kangeyan Passoubady (Kangs) Copy Right: 2008, All rights reserved by Kangeyan Passoubady (Kangs). Republishing requires author’s permission
Day 1 Exercises Discover the automating power of Selenium Copyright © 2008-2010 by Kangeyan Passoubady (Kangs)
Exercise #1 Open (www.google.com) Type “energy efficient” in the Google Search Input Box Click outside on an empty spot Click Google Search Button Verify the Text Present as “energy efficient” Assert the Title as “energy efficient - Google Search” Discover the automating power of Selenium Copyright © 2008-2010 by Kangeyan Passoubady (Kangs)
Exercise #2 Open (http://m.www.yahoo.com/) Type “energy efficient” in the Yahoo Search Input Box Click Search Button Verify the Text Present as “energy efficient” Assert the Title as “energy efficient - Google Search” Discover the automating power of Selenium Copyright © 2008-2010 by Kangeyan Passoubady (Kangs)
Exercise #3 Open a specific URL (www.amazon.com) Select “Books” under Search Select List Search for a specific text (“selenium IDE”) in #1 page Sort by “Prize: Low to high” Check whether the windows title matches “Amazon.com: selenium IDE: Books” Check whether the result set contains “Selenium IDE” text Click the link #2 Discover the automating power of Selenium Copyright © 2008-2010 by Kangeyan Passoubady (Kangs)
Open a specific URL (http://www.barnesandnoble.com/) Exercise #5 Open a specific URL (http://www.barnesandnoble.com/) Search for a specific text (“Javascript”) in #1 page Sort by “Prize^” How do you check “Online Price: $$$” is in sorted order? Discover the automating power of Selenium Copyright © 2008-2010 by Kangeyan Passoubady (Kangs)