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 a way that based on argument passed respective browser is selected.
- Browse to https://in.ebay.com/ website.
- Enter a product in the search box on the homepage (say Apple Watches).
- From categories dropdown, select category of your product (say Electronics).
- Click the Search button.
- Write a method to print the result of the product.
- Write a method to print Nth product say 10th Product. (This should be a generic method)
- 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 firstname.lastname@example.org.
Happy Learning and keep reading QA Tech Hub 🙂
Here is the link to the Fifth Assignment.