Hi,
I am using Jwebunit1.4 RC2. I have a webpage(w1) which has an iframe in it.
This iframe has it's source in another webpage(w2). (like an included file)
This webpage, w2 has a form in it and the form has some form elements. I used
the "goToFrame()" method to access the iframe. I am getting a null pointer
exception while trying to use any methods on this form. The exception trace is
as below.
java.lang.NullPointerException
at
net.sourceforge.jwebunit.htmlunit.HtmlUnitDialog.getForm(HtmlUnitDialog.java:814)
at
net.sourceforge.jwebunit.htmlunit.HtmlUnitDialog.hasForm(HtmlUnitDialog.java:337)
at
net.sourceforge.jwebunit.junit.WebTester.assertFormPresent(WebTester.java:697)
at
net.sourceforge.jwebunit.junit.WebTestCase.assertFormPresent(WebTestCase.java:516)
Regards
Anitha
-------------------------------------------------------------------------
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