Assignment 4: Automate Google search using Selenium Webdriver (Ajax Handling)

Automate Google search. By automating google search, you would learn to handle ajax elements.

  1. Open google.
  2. Enter keyword “techlistic selenium tutorials”
  3. It will show some options in dropdowns.
  4. Get text of each option and match with “techlistic selenium tutorials”.
  5. Select the option which matches.
  6. After that, validate that is the first option present.
  7. Click on search result displayed for
  8. Validate the page title.
First try your own logic and automate it without any help. Few hints are, use Explicit wait command to handle google search options. If you still find it difficult to automate then follow reference links. 

Reference Links for Solution:

Assignment 3- Automate 'About Me' <<  Previous | Next  >> Assignment 5- Automate User Registration

Read - Selenium Webdriver Tutorials Series

Join Telegram channel at
Feel free to ask queries or share your thoughts in comments or email me.


Popular Posts

10 Best Demo Websites for Automation Testing Practice

Assignment 5: Automate "User Registration" Process for E-commerce Website using Selenium

Assignment 1: Automate Browser Actions - Launch Browser, maximize window, validate title & close browser

Selenium WebDriver - Browser and Navigation Commands

Assignment 7: Automate Product Search Functionality of an E-Commerce Website using Selenium