Author: vmolotkov
Date: 2008-06-06 07:15:48 -0400 (Fri, 06 Jun 2008)
New Revision: 8930
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumTestBaseNew.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/Templates.java
Log:
selenium tests functionality
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumTestBaseNew.java
===================================================================
---
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumTestBaseNew.java 2008-06-06
10:58:26 UTC (rev 8929)
+++
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumTestBaseNew.java 2008-06-06
11:15:48 UTC (rev 8930)
@@ -23,6 +23,7 @@
import org.ajax4jsf.bean.Configurator;
import org.ajax4jsf.javascript.ScriptUtils;
+import org.ajax4jsf.template.Template;
import org.openqa.selenium.server.SeleniumServer;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/Templates.java
===================================================================
---
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/Templates.java 2008-06-06
10:58:26 UTC (rev 8929)
+++
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/Templates.java 2008-06-06
11:15:48 UTC (rev 8930)
@@ -4,7 +4,7 @@
-public class Templates implements Template {
+public class Templates {
private String template = null;
@@ -18,6 +18,10 @@
public static Templates MODALPANEL = new Templates("modalPanel");
+ public static final String COMPONENT_PREFIX_INSIDE_TABLE =
"_Selenium_Test_DataTable:0:";
+
+ public static final String COMPONENT_PREFIX_SIMPLE = "";
+
private void setParentId(SeleniumTestBase test) {
if ("dataTable".equals(template)) {
test.setParentId(COMPONENT_PREFIX_INSIDE_TABLE);
Show replies by date