Hi Srinivas,
You've actually managed to land on the WebDriver support group.
WebDriver will be part of Selenium 2, but for now the two projects are
just good friends. I'll do my best to answer your question, though
I'll answer it for WebDriver first, and then with the equivalent
Selenium commands :)
WebElement image = driver.findElement(By.id("id12233445"));
String src = image.getAttribute("src");
return src.endsWith("image_true.png");
And now with Selenium.
String src = Selenium.getAttribute("id=id12233445@src");
return src.endsWith("image_true.png");
Hope that's useful to you!
Regards,
Simon