# Selenium WebDriver

Naif92
1

I am using Selenium IDE and Selenium web driver testng in eclipse .. my testing is against ZK application ..

the test case works fine on Selenium IDE ..

but when I run it in eclipse with selenium web driver (testng) I got an error ..

the error come when I click in button then grid table comes .. then the webdriver can not find the element ..

selenium.open("xxx");
selenium.click("//li[2]/div/div/div/span");
selenium.doubleClick("//div[2]/div[2]");


the error was in this code ..

//div[2]/div[2]


the element not found .. its works fine with selenium IDE .. and I check with firepath .. the Xpath is correct !

delete retag edit
Be the first one to reply this discussion!
[hide preview]