All Questions

227
votes
41answers
241657 views

Debugging "Element is not clickable at point" error

I see this only in Chrome. The full error message reads: "org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675). Other element would receive the click: ..." The e...
128
votes
18answers
222407 views

Selenium c# Webdriver: Wait Until Element is Present

I want to make sure that an element is present before the webdriver starts doing stuff. I'm trying to get something like this to work: WebDriverWait wait = new WebDriverWait(driver, new TimeSpan(0...
121
votes
31answers
215850 views

Scroll Element into View with Selenium

Is there any way in either Selenium 1.x or 2.x to scroll the browser window so that a particular element identified by an XPath is in view of the browser? There is a focus method in Selenium, but it d...
275
votes
12answers
239773 views

Get HTML Source of WebElement in Selenium WebDriver using Python

I'm using the Python bindings to run Selenium WebDriver. from selenium import webdriver wd = webdriver.Firefox() I know I can grab a webelement like so... elem = wd.find_element_by_css_selector('#...
134
votes
7answers
198070 views

Running Selenium WebDriver python bindings in chrome

I ran into a problem while working with Selenium. For my project, I have to use Chrome. However, I can't connect to that browser after launching it with Selenium. For some reason, Selenium can't find...
34
votes
12answers
62090 views

Selenium waitForElement

How do I write the function for Selenium to wait for a table with just a class identifier in Python? I'm having a devil of a time learning to use Selenium's Python webdriver functions.
171
votes
26answers
334440 views

Typing Enter/Return key in Selenium

I'm looking for a quick way to type and Enter or Return key in Selenium. Unfortunately the form I'm trying to test (not my own code so I can't modify) doesn't have a Submit button. When working with i...
42
votes
15answers
9671 views

Should one test internal implementation, or only test public behaviour?

Given software where ... The system consists of a few subsystems Each subsystem consists of a few components Each component is implemented using many classes ... I like to write automated tests of...
4
votes
3answers
14817 views

How to run a test many times with data read from .csv file (data driving)

I am trying to automate some testing for one of our web applications and I need to know how I can make my Coded UI project read data from a CSV file. Lets say I want to test a log in screen. My CSV fi...
22
votes
5answers
25909 views

How to create and run Apache JMeter Test Scripts from a Java program?

I want to use the API provided by Apache JMeter to create and run test scripts from a Java program. I have understood the basics of ThreadGroup and Samplers. I can create those in my Java class by usi...

Previous Next