If you are running selenium RC test with IE a site which already has invalid certificate then IE will give a warning for "invalid certificate". You can have selenium
automatically click on "Continue" link in it(which has ID of overridelink) by adding
below command in your IE specific test case.
if ((selenium.isElementPresent("//a[@id='overridelink']"))) {
selenium.click("//a[@id='overridelink']");
//selenium.waitForPageToLoad(MAX_WAIT_TIME_IN_MS);
selenium.waitForPageToLoad("30000");
}
please can you write some post related to selenium ide.............also......by d way.....selenium rc post are very helpfull...
ReplyDeleteSure Pappu I will . In fact this blogs for all (IDE, Selenium RC, TestNG, Junit) all combination of all frameworks where you find yourself comfortable.
ReplyDeleteThanks