I've got the following XPath expression's working in firebug, that returns the correct element(s):
$x("(//input[@class='intervalInput timeInput'])")
returns two elements.
$x("(//input[@class='intervalInput timeInput'])[1]")
$x("(//input[@class='intervalInput timeInput'])[2]")
Each of the above return the correct element.
However; when I run the following code:
var matchedElements = this._selenium.GetXpathCount("(//input[@class='intervalInput timeInput'])");
The matched elements is 0.
I have also tried:
var matchedElements = this._selenium.GetXpathCount("xpath=(//input[@class='intervalInput timeInput'])");
Any Help will be greatly appreciated.