Assignment 4: Automate Google search (handle ajax elements) using Selenium with Java

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 Techlistic.com is the first option present.
  7. Click on search result displayed for Techlistic.com.
  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 refer the below link.

Read - Selenium Webdriver Tutorials Series with real time code examples


Join Telegram channel at https://t.me/techlistic
Feel free to ask queries or share your thoughts in comments or email me.

Comments

Popular Posts

Top 10 Demo Websites to Practice Selenium Webdriver Online

Future of Selenium Automation Testing as a Career Option

How to learn Selenium Webdriver on your own online

Selenium WebDriver - Take Screenshot and Partial Screenshot Commands

Selenium Webdriver - Overview & Features