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

0
votes
3answers
164 views

how to use xpath for the following case

.//*[@id='colDiv_Apr282014']/div[5]/div[1] .//*[@id='colDiv_Apr282014']/div[9]/div[1] .//*[@id='colDiv_Apr282014']/div[11]/div[1] In the xpath above, you can see the value inside the first div-is ...
0
votes
0answers
57 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 ...
0
votes
2answers
355 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
454 views

Find text using Xpath with class (vb.net)

Hey guys ! This is on what I'm working on : Dim url As String = "http://brayket.byethost9.com/index.php?/shoutbox/" Dim web As New HtmlWeb() Dim doc As HtmlDocument = web.Load(url) Dim ...
-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 ...