diff options
author | Thorsten Bosbach <tbo@OpenOffice.org> | 2010-08-03 10:30:51 +0200 |
---|---|---|
committer | Thorsten Bosbach <tbo@OpenOffice.org> | 2010-08-03 10:30:51 +0200 |
commit | a566400dedb8f4bd5bb4461a3d06999e523891c9 (patch) | |
tree | fe1935f684afc234e17e07c92afd20067201279d /testautomation/graphics/required | |
parent | cc754cb95ab7ec530a08eb139c326d08e9db18d1 (diff) |
#i113609# no graphic function toolbar visible - workaround
Diffstat (limited to 'testautomation/graphics/required')
-rw-r--r-- | testautomation/graphics/required/includes/impress/im_003_.inc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/testautomation/graphics/required/includes/impress/im_003_.inc b/testautomation/graphics/required/includes/impress/im_003_.inc index 6e6bc0b82dd6..64f24f43687c 100644 --- a/testautomation/graphics/required/includes/impress/im_003_.inc +++ b/testautomation/graphics/required/includes/impress/im_003_.inc @@ -210,8 +210,9 @@ testcase tiViewToolbar_1 Dim NumberOfGraphicModes as integer Dim iCurrentGraphicsMode as integer - dim TestFile as string + dim i as integer + TestFile = ConvertPath (gTesttoolPath + "global\input\graf_inp\desp.bmp") printlog "open application " @@ -240,8 +241,17 @@ testcase tiViewToolbar_1 printlog "select graphic " hUseAsyncSlot( "EditSelectAll" ) - Kontext "GraphicObjectbar" printlog "The Graphics Toolbar has to be visible now; If not -> ERROR " + ' workaround for i113609; there should have been a style selected without elements on creating the document - what failed; the elements should have been deleted before inserting the grafik in this test - which failed; so the workaround is to use <tab> to travel to the graphic selection here: + for i=1 to 3 + Kontext "GraphicObjectbar" + if ( not GraphicObjectbar.Exists( DEFAULT_DELAY ) ) Then + hTypeKeys("<tab>") + qaerrorlog "delete default content failed" + end if + next i + + Kontext "GraphicObjectbar" if ( GraphicObjectbar.Exists( DEFAULT_DELAY ) ) Then Printlog "- graphic object toolbar exists" |