Selenium Assignment – 4

August 15, 2016

Here is the fourth assignment in the series of real-time scenarios. In this assignment, you will practise various features of Selenium WebDriver like selecting from a dropdown, writing dynamic xpath for lists, iterating lists, invoking JavaScript etc.

Ebay Project:

Scenario:

  • Open any Browser (Mozilla firefox, Chrome, Internet Explorer or Safari).
  • Browse to Ebay Website.
  • On the homepage, there is a search box, type some product (say Apple Watches).
  • From categories dropdown, select the category of your product (say Watches).
  • Click Search button.

1

  • Write a method to print the result of the product.
  • Write a method to print Nth product say 10th Product.
  • Write a method to print all products from 1st page.
  • Write a method to print all products along with scrolling down.

PS: Try this scenario and for feedback or any query, mail it to us at qatechhub@gmail.com. Soon we will publish its source code as well.

Happy Learning and  keep reading QA Tech Hub 🙂

Saurabh

About the Author

Saurabh

Follow Saurabh:

Leave a Comment: