Update of /cvsroot/jwebunit/jWebUnit/fitplugin/src/net/sourceforge/jwebunit/fit
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29109/fitplugin/src/net/sourceforge/jwebunit/fit
Modified Files:
WebFixture.java
Log Message:
jw: some fit documentation
Index: WebFixture.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/fitplugin/src/net/sourceforge/jwebunit/fit/WebFixture.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** WebFixture.java 28 Jul 2004 17:24:32 -0000 1.21
--- WebFixture.java 19 Nov 2004 16:08:43 -0000 1.22
***************
*** 74,78 ****
public void window() {
! tester.gotoWindow(cells.more.text());
}
--- 74,83 ----
public void window() {
! String windowIdOrTitle = cells.more.text();
! if (tester.getDialog().getWindow(windowIdOrTitle) != null) {
! tester.gotoWindow(cells.more.text());
! } else {
! tester.gotoWindowByTitle(cells.more.text());
! }
}
***************
*** 80,83 ****
--- 85,92 ----
tester.gotoRootWindow();
}
+
+ public void page() {
+ tester.gotoPage(cells.more.text());
+ }
public void enter() throws Exception {
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Jwebunit-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development