Revision: 645
http://svn.sourceforge.net/jwebunit/?rev=645&view=rev
Author: henryju
Date: 2007-01-02 01:11:10 -0800 (Tue, 02 Jan 2007)
Log Message:
-----------
Test form inside inline frame.
Modified Paths:
--------------
branches/1.x/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java
Modified:
branches/1.x/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java
===================================================================
---
branches/1.x/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java
2007-01-02 08:37:26 UTC (rev 644)
+++
branches/1.x/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FramesAndWindowsTest.java
2007-01-02 09:11:10 UTC (rev 645)
@@ -149,13 +149,19 @@
assertFormPresent();
setTextField("color", "red");
submit("submit");
- // TODO should it be necessary to select frame again?
- gotoRootWindow();
+ assertTextPresent("color=red ");
+ }
+
+ public void testFormInputInInlineFrame() {
+ beginAt("InlineFrame.html");
gotoFrame("ContentFrame");
- assertTextPresent(" color=red ");
+ assertFormPresent();
+ setTextField("color", "red");
+ submit("submit");
+ assertTextPresent("color=red ");
}
- //TODO this just posts to a new frameset inside the frame, is the test
needed?
+ //TODO this just posts to a new frameset inside the frame, is the test
needed?
public void testFormInputInFrameToFrame() {
beginAt("Frames.html");
gotoFrame("ContentFrame");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
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-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development