diff options
-rwxr-xr-x | testautomation/framework/required/includes/window_functions.inc | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/testautomation/framework/required/includes/window_functions.inc b/testautomation/framework/required/includes/window_functions.inc index acc5e7a5219d..10116245cccd 100755 --- a/testautomation/framework/required/includes/window_functions.inc +++ b/testautomation/framework/required/includes/window_functions.inc @@ -196,6 +196,9 @@ end sub testcase tCheckWindowTitle( sApplication as string, sReference as string ) + if ( sApplication = "soffice" ) then + + printlog( "Update test for the office window titles" ) const BASIC_MODULE = "tCheckWindowTitle" @@ -217,21 +220,12 @@ testcase tCheckWindowTitle( sApplication as string, sReference as string ) printlog( "Application: " & sApplication & "; Title should be: " & sReference ) printlog( "Open the work windows (documents)" ) hInitSingleDoc() - hCreateDocument() printlog( "Verify that the correct window is open" ) select case sApplication - case "swriter" : - case "sglobal" : - case "sweb" : - case "scalc" : - case "simpress": - case "sdraw" : - case "smath" : case "basic" : hInitBasicIDE( BASIC_MODULE ) - case "chart" : - case "database": case "soffice" : hFileCloseAll() + case else : hCreateDocument() end select ' Note: The Testtool connection string does not belong to the window caption @@ -290,16 +284,7 @@ testcase tCheckWindowTitle( sApplication as string, sReference as string ) printlog( "Cleanup after test" ) select case sApplication - case "swriter" : - case "sglobal" : - case "sweb" : - case "scalc" : - case "simpress": - case "sdraw" : - case "smath" : case "basic" : hDestroyDocument() - case "chart" : - case "database": case "soffice" : hCreateDocument() end select |