From 0d459634af586f5bcf747c3a595057eff3a0b198 Mon Sep 17 00:00:00 2001 From: Release Engineers Date: Mon, 10 Aug 2009 11:06:58 +0000 Subject: CWS-TOOLING: integrate CWS jskhgpilot 2009-07-31 skotti #i96753 - added just another 500ms wait - sad, that is 2009-07-31 skotti #i96753 - cleanup, documentation 2009-07-31 skotti #i96753 - fix 2009-07-31 skotti #i96753 - OK, another approach for testing on different hardware... 2009-07-31 skotti #i96753 - small adjustments, back to .click() method 2009-07-29 skotti #i96753 - invented new dynamic function to deal with the menubutton which - as a nice sideefect allows to disable all sleep() statements within the test. This is good for -330 seconds of sleeping and in combination with a few optimizations makes the test run less than 20 minutes, about 8 minutes faster than before 2009-07-28 skotti #i96753 - use MenuBtn.OpenMenu() instead of .click() as this appears to work better and is used in other places successfully as well 2009-07-28 skotti #i103065 - fileopen dialog shows Mercurial and SVN directories which must be skipped 2009-07-28 skotti #i103065 - Added mercurial hidden directory to the excludes list in global routine 2009-07-28 skotti Rebase oder so... 2009-07-28 skotti #i96753 - insert wait statements --- testautomation/extensions/optional/includes/fileopen.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'testautomation/extensions') diff --git a/testautomation/extensions/optional/includes/fileopen.inc b/testautomation/extensions/optional/includes/fileopen.inc index 6d457df6d58e..ad700a404005 100755 --- a/testautomation/extensions/optional/includes/fileopen.inc +++ b/testautomation/extensions/optional/includes/fileopen.inc @@ -70,12 +70,16 @@ testcase tExtensionFileOpen printlog( "Reopen Extension Manager UI, click Add.. and check the directory" ) ToolsPackageManager + kontext "PackageManager" if ( PackageManager.exists( 3 ) ) then Add.click() + Kontext "OeffnenDlg" if ( OeffnenDlg.exists( 2 ) ) then - DateiAuswahl.select( DateiAuswahl.getItemCount() ) + + printlog( "Select the last item in the list which should be the extension" ) + DateiAuswahl.select( Dateiauswahl.getItemCount() ) cString = DateiAuswahl.getSelText() if ( cString <> EXTENSION_NAME ) then warnlog( "Incorrect extension listed. Please check path and filename" ) @@ -85,11 +89,13 @@ testcase tExtensionFileOpen else printlog( "Found correct extension, the dialog remembers the path" ) endif + kontext "OeffnenDlg" OeffnenDlg.cancel() else warnlog( "Could not access Add Extensions Dialog" ) endif + kontext "PackageManager" PackageManager.close() else -- cgit