Kaydet (Commit) 304ad530 authored tarafından Wolfram Garten [wg]'s avatar Wolfram Garten [wg]

i115985: [Automation]: wipe off last old comments

üst 5ef2347d
...@@ -41,15 +41,15 @@ testcase tiDatei_Fuer_Anordnen_Erstellen ...@@ -41,15 +41,15 @@ testcase tiDatei_Fuer_Anordnen_Erstellen
call hNewDocument call hNewDocument
if gApplication = "DRAW" then if gApplication = "DRAW" then
kontext "DocumentDraw" kontext "DocumentDraw"
DocumentDraw.UseMenu
else else
kontext "DocumentImpress" kontext "DocumentImpress"
DocumentImpress.UseMenu DocumentImpress.UseMenu
hMenuSelectNr(4)
hMenuSelectNr(13)
call sSelectEmptyLayout
end if end if
hMenuSelectNr(4)
hMenuSelectNr(13)
call sSelectEmptyLayout
if Dir(Datei)<>"" then app.Kill(Datei) ' kill old file if Dir(Datei)<>"" then app.Kill(Datei) ' kill old file
printlog "create 3 overlapping objects " printlog "create 3 overlapping objects "
for Zaehler = 1 to 3 for Zaehler = 1 to 3
......
...@@ -136,7 +136,6 @@ testcase tiEditUndo ...@@ -136,7 +136,6 @@ testcase tiEditUndo
else else
warnlog "File is missing." warnlog "File is missing."
endif endif
Call hCloseDocument
printlog "Close document" printlog "Close document"
Call hCloseDocument Call hCloseDocument
......
...@@ -40,6 +40,9 @@ dim iItemIndex AS integer 'Counter for/next ...@@ -40,6 +40,9 @@ dim iItemIndex AS integer 'Counter for/next
testcase tiInsertTableUsingMenu testcase tiInsertTableUsingMenu
qaerrorlog "#i116013# No table toolbar when inserting table via insert/table"
goto endsub
printlog "Inserting table into doc using the menu." printlog "Inserting table into doc using the menu."
Call hNewDocument Call hNewDocument
printlog "Switching between Draw/Impress" printlog "Switching between Draw/Impress"
...@@ -60,6 +63,7 @@ testcase tiInsertTableUsingMenu ...@@ -60,6 +63,7 @@ testcase tiInsertTableUsingMenu
Kontext "InsertTableImpress" Kontext "InsertTableImpress"
if InsertTableImpress.Exists then if InsertTableImpress.Exists then
printlog "InsertTable Dialog is up." printlog "InsertTable Dialog is up."
InsertTableImpress.OK
else else
warnlog "InsertTableDialog did not come up!" warnlog "InsertTableDialog did not come up!"
endif endif
...@@ -125,6 +129,9 @@ endcase 'tiInsertTableUsingMenu ...@@ -125,6 +129,9 @@ endcase 'tiInsertTableUsingMenu
testcase tiInsertTableUsingButton testcase tiInsertTableUsingButton
qaerrorlog "#i116013# No table toolbar when inserting table via insert/table"
goto endsub
printlog " Inserting table using the button in standard toolbar." printlog " Inserting table using the button in standard toolbar."
Call hNewDocument Call hNewDocument
printlog "Open New Document." printlog "Open New Document."
...@@ -204,6 +211,9 @@ endcase 'tiInsertTableUsingToolbarbutton ...@@ -204,6 +211,9 @@ endcase 'tiInsertTableUsingToolbarbutton
'------------------------------------------------------------------------------- '-------------------------------------------------------------------------------
testcase tiTableObjectBar testcase tiTableObjectBar
qaerrorlog "#i116013# No table toolbar when inserting table via insert/table"
goto endsub
printlog "Testing TableObjectBar." printlog "Testing TableObjectBar."
printlog "Inserting table into doc using the menu." printlog "Inserting table into doc using the menu."
Call hNewDocument Call hNewDocument
...@@ -244,6 +254,7 @@ testcase tiTableObjectBar ...@@ -244,6 +254,7 @@ testcase tiTableObjectBar
printlog "Table bar visible." printlog "Table bar visible."
else else
warnlog "Table bar is not up!" warnlog "Table bar is not up!"
ViewToolbarsTable
endif endif
printlog "Checking LinienStil." printlog "Checking LinienStil."
......
...@@ -459,11 +459,16 @@ endcase 'tiToolsHyphenation2 ...@@ -459,11 +459,16 @@ endcase 'tiToolsHyphenation2
'------------------------------------------------------------------------------- '-------------------------------------------------------------------------------
testcase tToolsMacro testcase tToolsMacro
qaerrorlog( "#i116017# - [Automation]: TypeKeys executes wrong commands" )
goto endsub
Dim i as integer Dim i as integer
Dim j as integer Dim j as integer
Dim Zaehler as integer Dim Zaehler as integer
Dim ZaehlerListe as integer Dim ZaehlerListe as integer
printlog "New document"
Call hNewDocument Call hNewDocument
ToolsMacro ToolsMacro
...@@ -474,7 +479,9 @@ testcase tToolsMacro ...@@ -474,7 +479,9 @@ testcase tToolsMacro
Zaehler=MakroAus.GetItemCount Zaehler=MakroAus.GetItemCount
MakroAus.typeKeys "<end>" MakroAus.typeKeys "<end>"
for i = 1 to Zaehler for i = 1 to Zaehler
MakroAus.typeKeys "<+><up>" MakroAus.typeKeys "<+>"
sleep 1
MakroAus.typeKeys "<up>"
next i next i
next j next j
Zaehler=MakroAus.GetItemCount Zaehler=MakroAus.GetItemCount
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment