Need a code help for Selenium !!!!

Hi All,

I am new to software testing as well as i am new to this forum. I am looking for a help.
I need your help to write a code for Selenium. Here below is my scenario:

1.Go to
2.Copy the word from 1st row of excel sheet present in system
3.Paste the word in google’s search box
4.Click on Search Tools below the search text field
5.Click the dropdown of “Anytime”
6.Select “Past Year” and click Search button
7.Get the domain url present in first result’s link
8.Go to another excel sheet and find if the same domain name is present in sheet or not
9.If present then ignore this and move to next result of google search result
10.If not present then paste the whole link in new excel sheet’s first row
11.Now move to next result and repeat steps 7 to 9 and if present then paste the whole link in next row of excel sheet
12.Repeat the steps 7-11
13.Click “next” page button on the results page at the bottom
14.Repeat the steps from 7-13 till the pages ends
15.Repeat the steps till all the words should be searched in google

(1st and 2nd step can be interchanged)

Default Asked on November 14, 2016 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.