Tagged Questions

XPath (XML Path Language) is a query language to address nof an XML document, designed to be used by both XSLT and XPointer. It also provides basic facilities for manipulation of strings, numbers and booleans. XPath uses a compact, non-XML syntax. XPath operates on the abstract, logical structure of ...

I am planning to run my existing Selenium 1.x tests in IE 8.0.
After checking few blogs and reading this, I tried to run my tests using jQuery locators with the method mentioned here. My tests uses ...

I know that WebDriver can locate links through their text, using find_element_by_link_text or find_element_by_partial_link_text.
Is it possible to locate any element (such as li, div, span, ...) by ...

I have heard that, when using Selenium, the CSS Locator has better performance than the XPath Locator. Which Locator do you use in your tests? Have you seen a great performance improvement when using ...

I am working in a ERP where the elements id are changing/rotating randomly. so if I am writing a code to locate a id, next time I run the selenium code it gets me error as the id changes by that time
...

I am working on a project where I have to locate a button. I have used XPath for that, but the button's id changes on every refresh, so I am facing a problem with that. Below is a HTML excerpt. Let me ...

There is a lot of cursors in the map. Every time you refresh the map you will get another different cursors with different IDs, o I can't use the IDs.
I want to click at any cursor, a tooltip should ...

I am using Selenium 2/WebDriver for automation. I have a table and am trying to select a row in it. When the test runs, I can see the row become highlighted as if it is clicked, but then immediately I ...

Our UI designers would like to validate that the HTML they specify should appear on a page does, in fact appear on the page as generated by a .jsp. They need to specify a particular set of HTML nodes ...

I have tested the Gmail login page and was trying to verify the Sign in label in the Gmail login page above the user name field. I am using FirePath to generate the Xpath. When I inspect the element ...