Author: dsvyatobatsko
Date: 2008-08-06 14:43:50 -0400 (Wed, 06 Aug 2008)
New Revision: 9960
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumTestBase.java
Log:
from here AUT always will be run in embedded frame
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumTestBase.java
===================================================================
---
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumTestBase.java 2008-08-06
16:42:32 UTC (rev 9959)
+++
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumTestBase.java 2008-08-06
18:43:50 UTC (rev 9960)
@@ -27,6 +27,7 @@
import org.ajax4jsf.bean.Configurator;
import org.ajax4jsf.javascript.ScriptUtils;
import org.ajax4jsf.template.Template;
+import org.openqa.selenium.server.RemoteControlConfiguration;
import org.openqa.selenium.server.SeleniumServer;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
@@ -93,7 +94,9 @@
@BeforeSuite
public void startSeleniumServer() throws Exception {
- seleniumServer = new SeleniumServer();
+ RemoteControlConfiguration config = new RemoteControlConfiguration();
+ config.setMultiWindow(false);
+ seleniumServer = new SeleniumServer(false, config);
seleniumServer.start();
}
Show replies by date