Author: arthurpeltier
Date: 2010-03-12 02:26:00 -0500 (Fri, 12 Mar 2010)
New Revision: 2196
Modified:
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java
Log:
GTNPORTAL-741 : * added "refreshAndWait" action to
SeleniumTestCaseGenerator.java
Modified:
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java 2010-03-12
07:25:13 UTC (rev 2195)
+++
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java 2010-03-12
07:26:00 UTC (rev 2196)
@@ -386,6 +386,9 @@
sb.append("}\n");
} else if (param1.equals("refresh")) {
sb.append("selenium.refresh();\n");
+ } else if (param1.equals("refreshAndWait")) {
+ sb.append("selenium.refresh();\n");
+ sb.append("selenium.waitForPageToLoad(timeout);\n");
} else if (param1.equals("storeXpathCount")) {
sb.append("String ").append(param3).append(" =
selenium.getXpathCount(\"").append(param2).append(
"\").toString();\n");
Show replies by date