XPath (XML Path Language) is language for addressing parts of 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 ...

learn more… | top users | synonyms

1
vote
3answers
42 views

Selenium- Unable to save dynamic paths in the list..list shows 0 as size

import java.util.List; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import ...
0
votes
3answers
445 views

Selenium Webdriver - finding element on IE 11

I'm trying to assert a 'name' on my page, to assure the right name is displayed: public static OpenQA.Selenium.By Name = (By.CssSelector("p")); Assert.AreEqual("Name", ...
0
votes
1answer
47 views

How to locate an element which is inside the iframe?

I'm new to automation testing (I'm using TestNG framework and Java language) I'm having trouble in locating an element which is inside iframe. WebElement iframeSwitch= ...
-1
votes
1answer
3k views

How to click on Canvas element?

How do I click on a Canvas element by using Selenium Web Driver and Java? I have searched Google but didn't find what I needed. A marker/pin is on the Google map and I have to click on the ...
0
votes
0answers
64 views

How can I shorten the following Xpath

I am restricted to use ID. So that's why I am using Xpath without ID. This is what i am using as xpath and want to shorten it please help me. I have to find value of the following span- <span ...