summaryrefslogtreecommitdiff
path: root/testautomation/chart2/required/includes/ch2_toolbars.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/chart2/required/includes/ch2_toolbars.inc')
-rw-r--r--testautomation/chart2/required/includes/ch2_toolbars.inc13
1 files changed, 9 insertions, 4 deletions
diff --git a/testautomation/chart2/required/includes/ch2_toolbars.inc b/testautomation/chart2/required/includes/ch2_toolbars.inc
index 32eed54ee370..2ad6f3db7e46 100644
--- a/testautomation/chart2/required/includes/ch2_toolbars.inc
+++ b/testautomation/chart2/required/includes/ch2_toolbars.inc
@@ -48,11 +48,16 @@ testcase tDrawBar
EditObjectEdit
printlog " Verify that the drawbar is visible"
Kontext "DrawBar"
-
- qaerrorlog "#i107003# disabled because of bug in toolbars"
-' if Not DrawBar.Exists then
+
+ if Not DrawBar.Exists then
+ warnlog "Drawbar is not enabled"
+ Kontext "DocumentCalc"
+ DocumentCalc.TypeKeys "<Escape>"
+ printlog " Close document"
+ Call hCloseDocument
+ goto endsub
' Call hToolbarSelect("Drawing", true)
-' endif
+ endif
printlog " Check if all items on drawbar are available"
if DrawBar.GetItemCount <> 16 then