-
Recent Posts
Recent Comments
jvsantoshsarma on Replace XPath with Css se… Amit Patil on Replace XPath with Css se… Avanthi on Get Date..! santoshsarma jayanth… on Get Date..! Avanthi on Get Date..! Archives
Categories
- Actions
- Assert
- auto population
- Automation
- By
- By.xpath
- Calendar
- Capture/replay
- career
- Challenges
- ConvertToString
- Css Selector
- Data Driven
- Date
- DateFormat
- divide and conquer
- Doodle
- Drag and Drop
- Exception
- findElements
- Firebug
- Firefox
- FluentWait
- Framework
- GetTime
- GoogleSearchResult
- hurdles
- id
- ImplicitlyWait
- ImplicitWait
- Index
- isElementPresent
- IsTextPresent
- Java
- JUnit
- Junit3
- JUnit4
- Learning
- linkText
- Locators
- Mouse over
- MouseOver
- NoSuchElementException
- pageLoadTimeout
- Parallel Running
- parameters
- Popup
- QTP
- ScreenShot
- Select
- Seleneium
- selenium
- Selenium IDE
- Selenium-rc
- Software testing
- StackTrace
- Testing
- Testing automation
- TestNg
- Uncategorized
- Unit testing
- UnitTest
- Upload
- Wait
- WebDriver
- WebDriverBackedSelenium
- WebDriverWait
- WebElement
- Xpath
Meta
Category Archives: auto population
How to get auto populated Google search result?
Getting auto populated Google search result Using below logic you can get the auto populated search result (Google search) for your search word Logic driver.get(“http://www.google.co.in”); driver.findElement(By.name(“q”)).sendKeys(“Test”); List autoPopulatedList=driver.findElements(By.cssSelector(“tr>td>span”)); for(WebElement ele:autoPopulatedList) { System.out.println(e.getText()); } Example Output of given code for above … Continue reading