Hi All
How can I avoid Jwebunit appending / at the end of url
http://localhost:8080/cc/MyApp.do works however when url is changes to
http://localhost:8080/cc/MyApp.do/ it does not.
Here is my program. Now i get http status 404 because of / appended at end.
public void setUp() {
setTestingEngineKey(TestingEngineRegistry.TESTING_ENGINE_HTMLUNIT);
getTestContext().setBaseUrl("http://localhost:8080/cc/MyApp.do");
}
public void testSearch() throws Exception {
beginAt("/");
assertFormPresent("mainForm");
setTextField("user", "su");
setTextField("pass", "pass");
clickButtonWithText("Login");
Please let me know.
Thanks
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users