Author: vrockai
Date: 2009-04-02 09:53:41 -0400 (Thu, 02 Apr 2009)
New Revision: 13114
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java
Log:
[selenium] - max window before debug shot
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java
===================================================================
---
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java 2009-04-02
13:03:59 UTC (rev 13113)
+++
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java 2009-04-02
13:53:41 UTC (rev 13114)
@@ -266,8 +266,10 @@
}
protected void debugScreenshot(String filename) {
- if (JBossSeleniumTestListener.debug)
+ if (JBossSeleniumTestListener.debug){
+ selenium.windowMaximize();
selenium.captureScreenshot(debugDir + "/" + filename);
+ }
}
}
Show replies by date