I'm trying to perform very simple automated test. I created XPath selector in a FirePath, here it is:
//a[@href='http://i.yandex.ru/'][span[contains(.,'[email protected]')]]
But Selenium-RC can't locate this element. Code is:
final String StrEmailToTest = "[email protected]";
String linkEmailSelector = "//a[@href='http://i.yandex.ru/'][span[contains(.,'"+ StrEmailToTest + "')]]";
selenium.isElementPresent(linkEmailSelector);
and it returns "false"
Could you tell me, what am I doing wrong?
UPD. I've uploaded the *.maft - file here: http://depositfiles.com/files/lhcdh2wtl Don't be afraid, there are some russian characters on the screen.