[richfaces-svn-commits] JBoss Rich Faces SVN: r13518 - trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Sun Apr 12 15:12:49 EDT 2009
Author: nbelaevski
Date: 2009-04-12 15:12:48 -0400 (Sun, 12 Apr 2009)
New Revision: 13518
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java
Log:
AjaxLogTest updated
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java 2009-04-12 16:34:18 UTC (rev 13517)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java 2009-04-12 19:12:48 UTC (rev 13518)
@@ -50,7 +50,9 @@
selenium.windowFocus();
//writeStatus("Type smth. All typing is being logged");
- type(inputElemId, "typing");
+
+ //http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Selenium%20FAQ#section-Selenium+FAQ-WhyDoYouUseTheTypeKeysCommandAndThenFollowThatCommandUpWithTypeWithTheExactSameTextInAdditionINoticedSomeTyposWhenYouWroteTheValuesForTheTypeKeysCommands
+ selenium.typeKeys(inputElemId, "taping");
try {
selenium.selectWindow("logWindow");
@@ -84,7 +86,8 @@
writeStatus("Type smth. All typing is being logged");
- type(inputElemId, "typing");
+ http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Selenium%20FAQ#section-Selenium+FAQ-WhyDoYouUseTheTypeKeysCommandAndThenFollowThatCommandUpWithTypeWithTheExactSameTextInAdditionINoticedSomeTyposWhenYouWroteTheValuesForTheTypeKeysCommands
+ selenium.typeKeys(inputElemId, "taping");
waitForAjaxCompletion();
writeStatus("test that log element is present");
@@ -108,7 +111,8 @@
writeStatus("Type smth. All typing is being logged");
- type(inputElemId, "typing");
+ http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Selenium%20FAQ#section-Selenium+FAQ-WhyDoYouUseTheTypeKeysCommandAndThenFollowThatCommandUpWithTypeWithTheExactSameTextInAdditionINoticedSomeTyposWhenYouWroteTheValuesForTheTypeKeysCommands
+ selenium.typeKeys(inputElemId, "taping");
waitForAjaxCompletion();
writeStatus("test that log element is present");
More information about the richfaces-svn-commits
mailing list