harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r631911 - /harmony/enhanced/buildtest/branches/2.0/tests/ega/ega_eclipse_3.2.1.pl
Date Thu, 28 Feb 2008 10:11:08 GMT
Author: smishura
Date: Thu Feb 28 02:11:05 2008
New Revision: 631911

URL: http://svn.apache.org/viewvc?rev=631911&view=rev
Log:
Apply patch from HARMONY-5546:
[buildtest][EGA] EGAx48 Linux x86 64 failed, scenario can't recognize FireFox Help window
due to browser has no name identifier

Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/ega/ega_eclipse_3.2.1.pl

Modified: harmony/enhanced/buildtest/branches/2.0/tests/ega/ega_eclipse_3.2.1.pl
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/ega/ega_eclipse_3.2.1.pl?rev=631911&r1=631910&r2=631911&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/ega/ega_eclipse_3.2.1.pl (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/ega/ega_eclipse_3.2.1.pl Thu Feb 28 02:11:05
2008
@@ -24,6 +24,7 @@
     FindWindowLike
     
     GetWindowName
+    SetWindowName
 
     SetInputFocus
     GetInputFocus
@@ -653,6 +654,11 @@
  Sleep(6000);
  LogWrite("\tSelect Help->Help Contents \n");
  WinSendKeys("%(h)h", "Java - Eclipse SDK");
+ Sleep(6000);
+ if (!WaitWindowViewable('Help - Eclipse SDK', 0, 5)) {
+  # workaround for Linux x86_64
+  SetWindowName(GetInputFocus(),'Help - Eclipse SDK');
+ }
  Sleep(6000);
  my @winIds = FindWindowLike('Select User Profile');
  if (scalar(@winIds) > 0) {



Mime
View raw message