summaryrefslogtreecommitdiff
path: root/testautomation/writer/required
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/writer/required')
-rwxr-xr-xtestautomation/writer/required/includes/w_005b_.inc37
-rwxr-xr-xtestautomation/writer/required/includes/w_020_.inc14
-rwxr-xr-xtestautomation/writer/required/w_updt.bas2
3 files changed, 12 insertions, 41 deletions
diff --git a/testautomation/writer/required/includes/w_005b_.inc b/testautomation/writer/required/includes/w_005b_.inc
index 0e4f8ea17f23..ce7ce264e3b1 100755
--- a/testautomation/writer/required/includes/w_005b_.inc
+++ b/testautomation/writer/required/includes/w_005b_.inc
@@ -892,16 +892,9 @@ testcase tFormatAlignmentArea
Call hNewDocument
printlog " Paste a rectangle from draw via clipboard"
- if gPlatgroup = "unx" then
- Call wZeichenobjektEinfuegen ( "Rechteck", 10, 30, 20, 45 )
- sleep (1)
- gMouseClick ( 15, 38 )
- else
- Call wZeichenobjektEinfuegen ( "Rechteck", 45, 30, 55, 45 )
- sleep (1)
- Call wObjektSelektieren ( 43, 25, 60, 50 )
- endif
-
+ Call wZeichenobjektEinfuegen ( "Rechteck", 45, 30, 55, 45 )
+ sleep (1)
+ Call wObjektSelektieren ( 43, 25, 60, 50 )
Sleep 1
try
printlog " Format / Anchor / As Character"
@@ -1158,11 +1151,7 @@ testcase tFormatStyleEdit
printlog " Insert a textobject from toolbar"
Sleep 2
- if gPlatgroup = "unx" then
- Call gMouseMove(10, 20, 30, 40)
- else
- Call gMouseMove(50, 20, 70, 40)
- endif
+ Call gMouseMove(50, 20, 70, 40)
hUseAsyncSlot( "FormatStyleBold" )
printlog " Format / Style / Bold"
@@ -1231,11 +1220,7 @@ testcase tFormatAlignmentEdit
Textobjekt.Click
printlog " Insert a textbox via 'Draw functions' toolbar"
- if gPlatgroup = "unx" then
- Call gMouseMove(10, 20, 30, 40)
- else
- Call gMouseMove(50, 20, 70, 40)
- endif
+ Call gMouseMove(50, 20, 70, 40)
printlog " Insert some text in document"
Call wTypeKeys ("Ein Wort")
@@ -1274,11 +1259,7 @@ testcase tFormatLineSpacing
Textobjekt.Click
printlog " In a textbox via 'Draw Functions' toolbox"
- if gPlatgroup = "unx" then
- Call gMouseMove(10, 20, 30, 40)
- else
- Call gMouseMove(50, 20, 70, 40)
- endif
+ Call gMouseMove(50, 20, 70, 40)
Sleep 1
printlog " Format / Spacing / Single line"
@@ -1319,11 +1300,7 @@ testcase tFormatParagraphEdit
Textobjekt.Click
printlog " In a textbox via 'Draw Functions' toolbox"
- if gPlatgroup = "unx" then
- Call gMouseMove(10, 20, 30, 40)
- else
- Call gMouseMove(50, 20, 70, 40)
- endif
+ Call gMouseMove(50, 20, 70, 40)
printlog " Format / Paragraph "
hUseAsyncSlot( "FormatParagraph" )
diff --git a/testautomation/writer/required/includes/w_020_.inc b/testautomation/writer/required/includes/w_020_.inc
index 05d11681efe7..df888de1b429 100755
--- a/testautomation/writer/required/includes/w_020_.inc
+++ b/testautomation/writer/required/includes/w_020_.inc
@@ -417,15 +417,11 @@ testcase t_TB_Form
Call sMenufunktionen("-Checkbox-")
Kontext "FormControls"
- if Ucase(gApplication) <> "HTML" then
+ if gApplication <> "HTML" then
wait 500
Label.Click
printlog " Insert a textbox from toolbox"
- if gplatgroup = "unx" then
- Call hMalZeichnenMitSelektion ( 10, 40, 21, 25 )
- else
- Call hMalZeichnenMitSelektion ( 57, 20, 68, 25 )
- endif
+ Call hMalZeichnenMitSelektion ( 57, 20, 68, 25 )
printlog "+ Open Control Properties"
Call sMenufunktionen("-Textbox-")
end if
@@ -454,11 +450,7 @@ testcase t_TB_Form
Combobox.Click
printlog " Insert a Combobox from toolbox"
Wait 500
- if gPlatgroup = "unx" then
- Call hMalZeichnenMitSelektion ( 41, 40, 52, 35 )
- else
- Call hMalZeichnenMitSelektion ( 57, 30, 68, 35 )
- endif
+ Call hMalZeichnenMitSelektion ( 57, 30, 68, 35 )
printlog "+ Step through pages of upcoming Autopilot"
Call sAutopilot_ListboxCombobox("Combo")
printlog "+ Open Control Properties"
diff --git a/testautomation/writer/required/w_updt.bas b/testautomation/writer/required/w_updt.bas
index 77c8d5350e00..992a4cc9f194 100755
--- a/testautomation/writer/required/w_updt.bas
+++ b/testautomation/writer/required/w_updt.bas
@@ -61,6 +61,8 @@ sub main
Printlog "******* Ressource-Test Writer Document *******"
+ Call wChangeDefaultView()
+
Call hStatusIn ( "writer", "w_updt.bas" )
Call w_001_ ' Menu File
Call w_001a_ ' Menu File