summaryrefslogtreecommitdiff
path: root/testautomation/chart2/optional/includes/ch2_lvl1a.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/chart2/optional/includes/ch2_lvl1a.inc')
-rwxr-xr-xtestautomation/chart2/optional/includes/ch2_lvl1a.inc13
1 files changed, 9 insertions, 4 deletions
diff --git a/testautomation/chart2/optional/includes/ch2_lvl1a.inc b/testautomation/chart2/optional/includes/ch2_lvl1a.inc
index e012dd0253c8..e7154d3820cf 100755
--- a/testautomation/chart2/optional/includes/ch2_lvl1a.inc
+++ b/testautomation/chart2/optional/includes/ch2_lvl1a.inc
@@ -174,10 +174,15 @@ testcase tChartShapes
printlog " Verify that the drawbar is visible"
Kontext "DrawBar"
- qaerrorlog "#i107003# disabled because of bug in toolbars"
- ' if Not DrawBar.Exists then
- ' Call hToolbarSelect("Drawing", true)
- ' endif
+ 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
printlog " Insert a shape to the chart by <STRG-RETURN>"
Kontext "DocumentChart"