hello guys,
I'm new here. I'm trying to use Selenium Remote Control for a Webapplication in an embedded Tomcat using the Maven Plugin Cargo. My problem is that some tests, which shouldn't run through, do so. I tried to use *firefox, but for some reasons this didn't work. So I tried *iexplore, which also didn't work and I decided to use *iehta. This worked 1 times, but not for the second time and I just do not why. I'm trying to solve the problem since several days, but I just couldn't. I hope that one of you guys can help me.
I'm creating a new DefaultSelenium("localhost", 4444, "*iehta", "
http://localhost:8080/");
starting the selenium.
thats my testmethod, which should definitely fail:
selenium.open("war/application/index.xhtml");\\ selenium.waitForPageToLoad("300000");\\ verifyTrue(selenium.isTextPresent("gffabdfgdfcfjgdfgf"));
A new Browser opens, but everything happens so fast, dass I cannot follow with my eyes. When I try it with other Websites on localhost, it works without any problems. Do anyone know where the problem could be?
Greetings
Jack