diff options
author | Mathias Bauer <mbauer@apache.org> | 2011-09-18 20:30:31 +0000 |
---|---|---|
committer | Mathias Bauer <mbauer@apache.org> | 2011-09-18 20:30:31 +0000 |
commit | ad39b880ae108cbb622fcbf6c6bda0dd3d4be783 (patch) | |
tree | 95c8695ec14fc8f7d08c57a481ffb0442d051875 /testautomation | |
parent | d64e9703d7da1c29f1502c3d1075709f001a1897 (diff) |
cws mba34issues01: fix some broken test cases
Diffstat (limited to 'testautomation')
-rw-r--r-- | testautomation/writer/optional/includes/formatpage/w_formatpage1.inc | 8 | ||||
-rw-r--r-- | testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc | 6 |
2 files changed, 8 insertions, 6 deletions
diff --git a/testautomation/writer/optional/includes/formatpage/w_formatpage1.inc b/testautomation/writer/optional/includes/formatpage/w_formatpage1.inc index ef6280b51cfd..3d8ec8f8e555 100644 --- a/testautomation/writer/optional/includes/formatpage/w_formatpage1.inc +++ b/testautomation/writer/optional/includes/formatpage/w_formatpage1.inc @@ -92,7 +92,7 @@ testcase tFormatPage_2 sTestString = "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQ" iRepectLength = 26 - iFormat = 2 'A4 paper + iFormat = 3 'A4 paper PrintLog "- Test Portrait in tabpage Page" '/// <b> Test Portrait in tabpage Page </b> /// @@ -142,7 +142,7 @@ testcase tFormatPage_3 '/// Format/Page , tabpage page , check 'Landscape' fFormatPageWriter("TabSeite") - Papierformat.Select 2 ' A4 Paper + Papierformat.Select 3 ' A4 Paper Wait 500 Quer.Check Wait 500 @@ -167,7 +167,7 @@ testcase tFormatPage_4 Dim sWidth as String Dim sHeight as String - iFormat = 2 'A4 paper + iFormat = 3 'A4 paper PrintLog "- Width and Height boxes must change after changing between Portrait and Landscape" '/// Width and Height boxes must change after changing between Portrait and Landscape @@ -223,7 +223,7 @@ testcase tFormatPage_5 Dim sLeft as String , sRight as String , sUp as String , sBottom as String ' set page size Dim sLeft1 as String , sRight1 as String , sUp1 as String , sBottom1 as String ' get page size - iFormat = 2 'A4 paper + iFormat = 3 'A4 paper sWidth = "20" + gSeperator + "00" + gMeasurementUnit sHeight = "25" + gSeperator + "00" + gMeasurementUnit diff --git a/testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc b/testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc index 2a161b2200d1..a72510b86764 100644 --- a/testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc +++ b/testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc @@ -903,7 +903,8 @@ testcase tInsertGraphic_29 fFormatGraphic("TabUmlauf") Sleep 1 - if Parallel.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !" + ' mba: bug in test case; "FormatWrapFirstParagraph" does *not* set wrapping to "parallel", it only sets the "FirstParagraph" flag +' if Parallel.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !" if ErsterAbsatz.IsChecked <> TRUE then Warnlog "first paragraph configuration is wrong !" TabUmlauf.Cancel @@ -1013,7 +1014,8 @@ testcase tInsertGraphic_30 fFormatGraphic("TabUmlauf") Sleep 1 - if Parallel.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !" + ' mba: bug in test case; hMenuSelect(4) is *not* Parallel, it's "WrapThrough" +' if Parallel.IsChecked <> TRUE then Warnlog "Graphic wrapping situation is wrong !" if ErsterAbsatz.IsChecked <> TRUE then Warnlog "first paragraph configuration is wrong !" TabUmlauf.Cancel |