Hey, do you know if 0.9.0 works, or do we need the 0.9.2-SNAPSHOT?

If so, any idea when that will be released?

--jason


On 5 May 2007 08:21:11 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


 Revision 4035 Author vmassol Date 2007-05-05 03:21:10 -0500 (Sat, 05 May
2007)
Log Message MOJO-784: Add support for multiWindow

Modified Paths

trunk/mojo/selenium-maven-plugin/src/main/java/org/codehaus/mojo/selenium/StartServerMojo.java
trunk/mojo/selenium-maven-plugin/src/site/apt/usage.apt

Diff
Modified:
trunk/mojo/selenium-maven-plugin/src/main/java/org/codehaus/mojo/selenium/StartServerMojo.java
(4034 => 4035) ---
trunk/mojo/selenium-maven-plugin/src/main/java/org/codehaus/mojo/selenium/StartServerMojo.java
2007-05-05 08:20:05 UTC (rev 4034)
+++
trunk/mojo/selenium-maven-plugin/src/main/java/org/codehaus/mojo/selenium/StartServerMojo.java
2007-05-05 08:21:10 UTC (rev 4035)
@@ -137,6 +137,15 @@
 */
 private boolean background = false;

+ /**
+ * Flag to control if we start Selenium RC in multiWindow mode or not. The
multiWindow mode
+ * is useful for applications using frames/iframes which otherwise cannot
be tested as the
+ * same window is used for displaying both the Selenium tests and the AUT.
+ *
+ * @parameter default-value="false"
+ */
+ private boolean multiWindow = false;
+ //
 // MojoSupport Hooks
 //
@@ -241,6 +250,11 @@
 java.createArg().setValue( String.valueOf( timeout ) );
 }

+ if ( multiWindow )
+ {
+ java.createArg().setValue( "-multiwindow" );
+ }
+ File userExtentionsFile = getUserExtentionsFile();
 if ( userExtentionsFile != null )
 {


Modified:
trunk/mojo/selenium-maven-plugin/src/site/apt/usage.apt
(4034 => 4035) ---
trunk/mojo/selenium-maven-plugin/src/site/apt/usage.apt
2007-05-05 08:20:05 UTC (rev 4034)
+++ trunk/mojo/selenium-maven-plugin/src/site/apt/usage.apt
2007-05-05 08:21:10 UTC (rev 4035)
@@ -116,3 +116,30 @@
 mvn selenium:start-server -Ddebug=true
 +----------+
 +* Running in mulitWindow mode
+
+ Selenium has the ability to open 2 windows: one for displaying the
Selenium tests and another one
+ for displaying the Application Under Test (AUT). This is very useful for
applications using
+ Frames/IFrames, which otherwise cannot be tested. To enable the
multiWindow mode use the following:
+
++----------+
+<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>start-selenium</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>start-server</goal>
+ </goals>
+ <configuration>
+ <multiWindow>true</multiWindow>
+ </configuration>
+ </execution>
+ </executions>
+</plugin>
++----------+
+
+ Note: by default, the multiWindow mode is off.
+
\ No newline at end of file


 ________________________________


 To unsubscribe from this list please visit:

 http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to