Author: vrockai
Date: 2008-11-06 09:00:10 -0500 (Thu, 06 Nov 2008)
New Revision: 12254
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java
Log:
even more debug3
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java 2008-11-06
12:06:54 UTC (rev 12253)
+++
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java 2008-11-06
14:00:10 UTC (rev 12254)
@@ -145,6 +145,7 @@
protected void waitForElement(String locator) {
for (int second = 0;; second++) {
if (second >= ELEM_TIMEOUT) {
+ selenium.captureScreenshot("err.jpg");
Assert.fail("Element " + locator + " not found.");
}
try {