summaryrefslogtreecommitdiff
path: root/testautomation/framework/required
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-08-10 09:57:22 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-08-10 09:57:22 +0200
commit3054d3c4cf1e50812966eb4595d5712ced92c26b (patch)
treee221961edb3d48bf49a1363f08614222d4e2ace3 /testautomation/framework/required
parent2719d50de4f3f53fb283c7e7ee11fc7f69797716 (diff)
automationooo330m3: #i113761# - Product name missing for backing window (#i113760#)
Diffstat (limited to 'testautomation/framework/required')
-rwxr-xr-xtestautomation/framework/required/includes/window_functions.inc25
1 files changed, 7 insertions, 18 deletions
diff --git a/testautomation/framework/required/includes/window_functions.inc b/testautomation/framework/required/includes/window_functions.inc
index acc5e7a5219d..7afbdb6e30b2 100755
--- a/testautomation/framework/required/includes/window_functions.inc
+++ b/testautomation/framework/required/includes/window_functions.inc
@@ -198,6 +198,13 @@ testcase tCheckWindowTitle( sApplication as string, sReference as string )
printlog( "Update test for the office window titles" )
+ ' This is a Testtool-only problem that the product name is not displayed
+ ' after calling hCloseDocument() on the last document.
+ if ( sApplication = "soffice" ) then
+ qaerrorlog( "#i113760# - Product name missing for backing window" )
+ goto endsub
+ endif
+
const BASIC_MODULE = "tCheckWindowTitle"
const STRING_NOT_FOUND = 0
const STRING_LEFTMOST = 1
@@ -221,16 +228,7 @@ testcase tCheckWindowTitle( sApplication as string, sReference as string )
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()
end select
@@ -290,16 +288,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