tag:blogger.com,1999:blog-543267854941927967.post1794119732028807379..comments2024-02-24T15:40:28.077+05:30Comments on My Thoughts: Getting google search auto suggestions using Webdriver(Selenium 2)Unknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-543267854941927967.post-19149650734465482892014-05-29T12:15:45.874+05:302014-05-29T12:15:45.874+05:30Your information about Selenium scripts is really
...Your information about Selenium scripts is really<br />interesting. Also I want to know the latest new techniques which are<br />implemented in selenium. Can you please update it in your website?<br /><br /><a href="http://www.fita.in/selenium-training-in-chennai/" rel="nofollow">Selenium<br />training Chennai</a>Peter Sonnoreply@blogger.comtag:blogger.com,1999:blog-543267854941927967.post-7878474924649041812013-10-17T15:20:35.164+05:302013-10-17T15:20:35.164+05:30Again searching for Auto suggestion program and fo...Again searching for Auto suggestion program and found u r blog ...!and successfully run the program just in 1 hit.<br />@vamshi u r really a genius :) 3 claps 4 u .....!Niyati Soninoreply@blogger.comtag:blogger.com,1999:blog-543267854941927967.post-4982824220603101012013-09-15T17:28:18.160+05:302013-09-15T17:28:18.160+05:30Hi Vamshi!
Nice Posting. The above code needs sli...Hi Vamshi!<br /><br />Nice Posting. The above code needs slight changes. Pls address here.....<br /><br />driver.get("https://www.google.co.in/");<br />driver.findElement(By.id("gbqfq")).sendKeys("vam"); <br />driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); <br /><br />WebElement table = driver.findElement(By.className("gssb_m")); <br />List rows = table.findElements(By.tagName("span")); <br />System.out.println("Total no. of rows: "+ rows.size());<br />Iterator i = rows.iterator(); <br />while(i.hasNext()) { <br />WebElement row = i.next(); <br />System.out.println(row.getText());<br />}<br /><br />_<br /><br />Sams<br /><br />http://seleniumworks.blogspot.in/Prashanth samsnoreply@blogger.comtag:blogger.com,1999:blog-543267854941927967.post-22553673724261048862013-09-01T01:52:08.408+05:302013-09-01T01:52:08.408+05:30Thanks for using the tag names instead of the xpat...Thanks for using the tag names instead of the xpath in the example, this helped me in solving an automation issue related to suggestions.anoreply@blogger.comtag:blogger.com,1999:blog-543267854941927967.post-20529739095648075432012-08-22T22:25:32.380+05:302012-08-22T22:25:32.380+05:30This post helped. Thanks!This post helped. Thanks!jaynoreply@blogger.com