Kaydet (Commit) e000f5e7 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS greenstate30ver3_DEV300 (1.1.32.1.10); FILE MERGED

2008/09/03 12:13:10 fredrikh 1.1.32.1.10.2: i93376
2008/09/02 09:47:57 fredrikh 1.1.32.1.10.1: Adding spacer.
üst 9fdec10c
......@@ -8,9 +8,9 @@
'*
'* $RCSfile: w_002_.inc,v $
'*
'* $Revision: 1.2 $
'* $Revision: 1.3 $
'*
'* last change: $Author: vg $ $Date: 2008-08-18 12:40:51 $
'* last change: $Author: rt $ $Date: 2008-09-04 09:21:21 $
'*
'* This file is part of OpenOffice.org.
'*
......@@ -645,18 +645,25 @@ testcase tEditAutotext
Dim CurrentEntryNr as integer
Dim unxAutotextCategorie as integer
Call hNewDocument
PrintLog "Open new document"
EditAutotext
Call hNewDocument
PrintLog "Edit / Autotext"
EditAutotext
Kontext "AutoText"
DialogTest ( AutoText )
Kontext "AutoText"
PrintLog "Click Categories"
Bereiche.Click
Sleep 1
Printlog "If it exists: Delete DummyAutotext."
if wDeleteAutotext("DummyAutotext") = true then
qaerrorlog "DummyAutotext from previous testrun found, now deleted."
end if
Kontext "BereicheBearbeitenAutoText"
if BereicheBearbeitenAutoText.Exists then
DialogTest ( BereicheBearbeitenAutoText )
......@@ -854,8 +861,8 @@ testcase tEditAutotext
Sleep 1
PrintLog "Enter some text in document and close it"
Call wTypeKeys("Hallo")
if GetDocumentCount = 2 then
QAErrorlog "#116138#The autotext has been edited in current document!"
if GetDocumentCount = 1 then
Warnlog "The autotext has been edited in current document!"
else
FileClose
WaitSlot (1000)
......@@ -872,7 +879,6 @@ testcase tEditAutotext
end if
Kontext "Autotext"
if Autotext.Exists then Autotext.Close
Call hCloseDocument
catch
Warnlog "Menu Autotext->'Edit' disabled !"
Kontext "Active"
......@@ -1337,3 +1343,6 @@ testcase tEditObjectEdit
Call hCloseDocument
PrintLog "Close active document"
endcase
'----------------------------------------------------------------
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