Selenium Assignment – 4
Ebay search product project:
- Open any Browser of your choice (Mozilla firefox, Chrome, Internet Explorer or Safari). Write the code in such way that based on argument passed respective browser is selected.
- Browse to Ebay website.
- Write a method which do following:
- 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.
- 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 scroll down.
PS: Try this scenario and for feedback or any query, mail it to us at email@example.com. Soon we will publish its source code as well.
Happy Learning and keep reading QA Tech Hub 🙂