1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
|
'encoding UTF-8 Do not remove or change this line!
'**************************************************************************
'* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
'*
'* Copyright 2008 by Sun Microsystems, Inc.
'*
'* OpenOffice.org - a multi-platform office productivity suite
'*
'* $RCSfile: id_005.inc,v $
'*
'* $Revision: 1.1 $
'*
'* last change: $Author: jsi $ $Date: 2008-06-16 10:42:41 $
'*
'* This file is part of OpenOffice.org.
'*
'* OpenOffice.org is free software: you can redistribute it and/or modify
'* it under the terms of the GNU Lesser General Public License version 3
'* only, as published by the Free Software Foundation.
'*
'* OpenOffice.org is distributed in the hope that it will be useful,
'* but WITHOUT ANY WARRANTY; without even the implied warranty of
'* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'* GNU Lesser General Public License version 3 for more details
'* (a copy is included in the LICENSE file that accompanied this code).
'*
'* You should have received a copy of the GNU Lesser General Public License
'* version 3 along with OpenOffice.org. If not, see
'* <http://www.openoffice.org/license.html>
'* for a copy of the LGPLv3 License.
'*
'/************************************************************************
'*
'* Owner : wolfram.garten@sun.com
'*
'* short description :
'*
'***********************************************************************************
' #1 tiFormatDefault
' #1 tiFormatLine
' #1 tdFormatArea
' #1 tiFormatText
' #1 tiFormatPositionAndSize
' #1 tiFormatCharacter
' #1 tiFormatControlForm
' #1 tiFormatDimensions
' #1 tiFormatConnector
' #1 tiFormat3D_Effects
' #1 tiFormatNumberingBullets
' #1 tiFormatCaseCharacter
' #1 tiFormatParagraph
' #1 tiFormatPage
' #1 tiFormatStylesAndFormatting
' #1 tiFormatStylesSlideDesign
' #1 tiFormatFontwork
' #1 tiFormatGroup
' #1 hWalkTheStyles
'\**********************************************************************************
testcase tiFormatDefault
Call hNewDocument
gMouseClick 50,50
Call hRechteckErstellen ( 10, 10, 20, 40 )
FormatStandardDraw
Call hCloseDocument
endcase
testcase tiFormatLine
hNewDocument
gMouseClick 50,50
Call hRechteckErstellen ( 10, 10, 20, 40 )
FormatLine
Kontext
Messagebox.SetPage TabLinie
kontext "TabLinie"
Call DialogTest ( TabLinie )
Kontext
Messagebox.SetPage TabLinienstile
kontext "TabLinienstile"
Call DialogTest ( TabLinienstile )
Hinzufuegen.click
Kontext "NameDLG"
Call DialogTest ( NameDlg )
NameDlg.Cancel
kontext "TabLinienstile"
Aendern.Click
Kontext "NameDlg"
Call DialogTest ( NameDlg )
NameDlg.Cancel
kontext "TabLinienstile"
Loeschen.Click
Kontext "Messagebox"
Messagebox.no
kontext "TabLinienstile"
Oeffnen.click
Kontext "OeffnenDLG"
call Dialogtest (OeffnenDLG)
OeffnenDLG.Cancel
kontext "TabLinienstile"
Speichern.click
Kontext "SpeichernDLG"
call Dialogtest (SpeichernDLG)
SpeichernDLG.Cancel
Kontext
Messagebox.SetPage TabLinienenden
kontext "TabLinienenden"
Call DialogTest ( TabLinienenden )
Hinzufuegen.Click
Kontext "NameDLG"
Call DialogTest ( NameDlg )
NameDlg.Cancel
kontext "TabLinienenden"
Aendern.Click
Kontext "Messagebox"
try
Messagebox.OK
catch
'print "TabLinienenden"
endcatch
kontext "NameDlg"
Call DialogTest ( NameDlg )
NameDlg.Cancel
kontext "TabLinienenden"
Loeschen.Click
Kontext "Messagebox"
Messagebox.no
kontext "TabLinienenden"
Oeffnen.click
Kontext "OeffnenDLG"
call Dialogtest (OeffnenDLG)
OeffnenDLG.Cancel
kontext "TabLinienenden"
Speichern.click
Kontext "SpeichernDLG"
call Dialogtest (SpeichernDLG)
SpeichernDlg.Cancel
kontext "TabLinienenden"
TabLinienenden.cancel
Call hCloseDocument
endcase
testcase tdFormatArea
Call hNewDocument
gMouseClick 50,50
Call hRechteckErstellen (15,15,65,65)
gMouseClick 30,30
FormatArea
WaitSlot (1000)
Kontext
Messagebox.SetPage TabArea
Kontext "TabArea"
Call DialogTest ( TabArea )
Kontext
Messagebox.SetPage TabSchatten
kontext "TabSchatten"
Anzeigen.Check
Call DialogTest ( TabSchatten )
Kontext
Messagebox.SetPage TabFarben
kontext "TabFarben"
Farbe.select 1
Farbmodell.Select 1
Call DialogTest ( TabFarben,1 )
Farbmodell.Select 2
Call DialogTest ( TabFarben,2 )
Hinzufuegen.click
Kontext "Messagebox"
Messagebox.OK
kontext "NameDlg"
Call DialogTest ( NameDlg )
NameDlg.Cancel
kontext "TabFarben"
Loeschen.click
Kontext "Messagebox"
Messagebox.no
kontext "TabFarben"
sleep 1
Speichern.click
Kontext "SpeichernDLG"
call Dialogtest (SpeichernDLG)
SpeichernDlg.Cancel
sleep 1
kontext "TabFarben"
Oeffnen.click
Kontext "OeffnenDLG"
call Dialogtest (OeffnenDLG)
OeffnenDLG.Cancel
Kontext "TabFarben"
Kontext
Messagebox.SetPage TabFarbverlaeufe
kontext "TabFarbverlaeufe"
Call DialogTest ( TabFarbverlaeufe )
Hinzufuegen.click
Kontext "NameDlg"
Call DialogTest ( NameDlg )
NameDlg.Cancel
kontext "TabFarbverlaeufe"
Aendern.Click
Kontext "NameDlg"
Call DialogTest ( NameDlg )
NameDlg.Cancel
kontext "TabFarbverlaeufe"
loeschen.click
try
kontext "Messagebox"
Messagebox.no
catch
warnlog "nobody cares about deleting a gradient :-("
endcatch
kontext "TabFarbverlaeufe"
Oeffnen.click
Kontext "OeffnenDLG"
call Dialogtest (OeffnenDLG)
OeffnenDLG.Cancel
kontext "TabFarbverlaeufe"
Speichern.click
Kontext "SpeichernDLG"
call Dialogtest (SpeichernDLG)
SpeichernDLG.Cancel
Kontext
Messagebox.SetPage TabSchraffuren
kontext "TabSchraffuren"
Call DialogTest ( TabSchraffuren)
Hinzufuegen.click
Kontext "NameDlg"
Call DialogTest ( NameDlg )
NameDlg.Cancel
kontext "TabSchraffuren"
Aendern.Click
Kontext "NameDlg"
Call DialogTest ( NameDlg )
NameDlg.Cancel
kontext "TabSchraffuren"
Loeschen.click
kontext "Messagebox"
Messagebox.no
kontext "TabSchraffuren"
Oeffnen.click
Kontext "OeffnenDLG"
call Dialogtest (OeffnenDLG)
OeffnenDLG.Cancel
kontext "TabSchraffuren"
Speichern.click
Kontext "SpeichernDLG"
call Dialogtest (SpeichernDLG)
SpeichernDLG.Cancel
Kontext
Messagebox.SetPage TabBitmap
kontext "TabBitmap"
Call DialogTest ( TabBitmap )
zurueck.click
sleep 1
hinzufuegen.click
Kontext "NameDlg"
Call DialogTest ( NameDlg )
NameDlg.cancel
kontext "TabBitmap"
try
Aendern.Click
Kontext "NameDlg"
Call DialogTest ( NameDlg )
NameDlg.cancel
catch
WarnLog "Control is disabled - modify bitmap"
endcatch
kontext "TabBitmap"
Import.Click
try
Kontext "GrafikEinfuegenDlg"
Call DialogTest ( GrafikEinfuegenDlg )
Kontext "GrafikEinfuegenDlg"
GrafikEinfuegenDlg.Cancel
catch
Warnlog "Insert graphic does not work"
endcatch
kontext "TabBitmap"
loeschen.click
kontext "Messagebox"
Messagebox.no
kontext "TabBitmap"
Oeffnen.click
Kontext "OeffnenDLG"
call Dialogtest (OeffnenDLG)
OeffnenDLG.Cancel
kontext "TabBitmap"
Speichern.click
Kontext "SpeichernDLG"
call Dialogtest (SpeichernDLG)
SpeichernDLG.Cancel
kontext "TabBitmap"
TabBitmap.Cancel
Call hCloseDocument
endcase
testcase tiFormatText
Call hNewDocument
FormatTextDraw
Kontext
Messagebox.SetPage TabText
Kontext "TabText"
DialogTest ( TabText )
Kontext
Messagebox.SetPage TabLauftext
Kontext "TabLauftext"
DialogTest ( TabLauftext )
TabLauftext.Cancel
Call hCloseDocument
endcase
testcase tiFormatPositionAndSize
Call hNewDocument
Call hRechteckErstellen ( 10, 10, 20, 40 )
ContextPositionAndSize
Kontext
Messagebox.setpage TabPositionAndSize
Kontext "TabPositionAndSize"
call Dialogtest ( TabPositionAndSize )
kontext "PositionPosition"
PositionPosition.TypeKeys ("<right>", 2)
kontext "SizePosition"
SizePosition.TypeKeys ("<down>", 2)
Kontext
Messagebox.setPage TabDrehung
Kontext "TabDrehung"
call Dialogtest ( TabDrehung )
Kontext
Messagebox.setpage TabSchraegstellen
Kontext "TabSchraegstellen"
call Dialogtest ( TabSchraegstellen )
TabSchraegstellen.cancel
Call hCloseDocument
endcase
testcase tiFormatCharacter
Call hNewDocument
FormatCharacter
WaitSlot (1000)
Kontext
Messagebox.SetPage TabFont
kontext "TabFont"
sleep 1
Call DialogTest ( TabFont )
Kontext
Messagebox.SetPage TabFontEffects
kontext "TabFontEffects"
sleep 1
Call DialogTest ( TabFontEffects )
sleep 1
Kontext
Messagebox.SetPage TabFontPosition
Kontext "TabFontPosition"
sleep 1
Call DialogTest ( TabFontPosition )
sleep 2
TabFontPosition.Cancel
Call hCloseDocument
endcase
testcase tiFormatControlForm
printlog "testcase: check if controls are available"
printlog "open new document"
Call hNewDocument
'click in the document to get the focus into the document
if ( UCase(gApplication) = "DRAW" ) then
Kontext "DocumentDraw"
DocumentDraw.MouseDown(50,50)
DocumentDraw.MouseUp(50,50)
else 'Impress
Kontext "DocumentImpress"
DocumentImpress.MouseDown(50,50)
DocumentImpress.MouseUp(50,50)
endif
printlog "open the form controls toolbar"
call hToolbarSelect("FormControls",true)
kontext "FormControls"
printlog "insert a PushButton"
Pushbutton.Click
Sleep 1
gMouseMove (50, 20,70, 40)
printlog "open the control properties dialog"
FormatControl
Kontext "ControlPropertiesDialog"
WaitSlot (1000)
printlog "close the control properties dialog"
ControlPropertiesDialog.Close
printlog "open the form properties dialog"
FormatForm
Kontext "ControlPropertiesDialog"
WaitSlot (1000)
printlog "close the form properties dialog"
ControlPropertiesDialog.Close
printlog "close the form control toolbar"
call hToolbarSelect("FormControls",false)
printlog "close application"
Call hCloseDocument
endcase
testcase tiFormatDimensions
Call hNewDocument
FormatDimensioning
Kontext "Bemassung"
DialogTest ( Bemassung )
Bemassung.Cancel
Call hCloseDocument
endcase
testcase tiFormatConnector
Call hNewDocument
FormatConnector
Kontext "Verbinder"
DialogTest ( Verbinder )
Verbinder.Cancel
Call hCloseDocument
endcase
testcase tiFormat3D_Effects
Call hNewDocument
Format3D_Effects
Kontext "Drei_D_Effekte"
Call DialogTest ( Drei_D_Effekte,1 )
Geometrie.Click
Call DialogTest ( Drei_D_Effekte,2 )
Darstellung.Click
Call DialogTest ( Drei_D_Effekte,3 )
Beleuchtung.Click
Call DialogTest ( Drei_D_Effekte,4 )
Texturen.Click
Call DialogTest ( Drei_D_Effekte,5 )
Material.Click
Call DialogTest ( Drei_D_Effekte,6 )
Kontext "Drei_D_Effekte"
Drei_D_Effekte.Close
Call hCloseDocument
endcase
'---------------------------------------------------------------------------------------
testcase tiFormatNumberingBullets
Call hNewDocument
WaitSlot (2000)
FormatNumberingBulletsDraw
WaitSlot (2000)
Kontext
Messagebox.SetPage TabBullet
Kontext "TabBullet"
Call DialogTest ( TabBullet )
Kontext
Messagebox.SetPage TabNumerierungsart
Kontext "TabNumerierungsart"
Call DialogTest ( TabNumerierungsart )
Kontext
Messagebox.SetPage TabGrafiken
Kontext "TabGrafiken"
Call DialogTest ( TabGrafiken )
Kontext
Messagebox.SetPage TabPositionNumerierung
Kontext "TabPositionNumerierung"
Call DialogTest ( TabPositionNumerierung )
Kontext
Messagebox.SetPage TabOptionenNumerierung
Kontext "TabOptionenNumerierung"
Call DialogTest ( TabOptionenNumerierung )
Numerierung.Select 9 ' last one always ? -> graphics
TabOptionenNumerierung.MouseDown 50,60
TabOptionenNumerierung.MouseUp 50,60
Auswahl.TypeKeys "<SPACE>"
hMenuSelectNr (1)
sleep 3
Kontext "OeffnenDlg"
OeffnenDlg.Cancel
sleep 1
sleep 1
Kontext
Messagebox.SetPage TabOptionenNumerierung
Kontext "TabOptionenNumerierung"
sleep 1
try
Auswahl.TypeKeys "<SPACE>"
hMenuSelectNr (2)
hMenuSelectNr (3)
Sleep 2
catch
warnlog "couldn't do something :-) (1)"
Exceptlog
Call hMenuClose
endcatch
TabOptionenNumerierung.Cancel
sleep 1
Call hCloseDocument
endcase
'---------------------------------------------------------------------------------------
testcase tiFormatCaseCharacter
Call hNewDocument
Call hTextrahmenErstellen ("testit",20,20,50,30)
sleep 1
hTypeKeys "<left>"
FormatChangeCaseUpper
WaitSlot (1000)
FormatChangeCaseLower
WaitSlot (2000)
if bAsianLan then
if not gAsianSup then
qaerrorlog "This is an asian language-office, but asian support was disabled in a previous test?"
end if
try
FormatChangeCaseHalfWidth
catch
Warnlog "Format / Change Case / Half Width does not work."
endcatch
WaitSlot (1000)
try
FormatChangeCaseFullWidth
catch
Warnlog "Format / Change Case / Full Width does not work!"
endcatch
sleep 1
try
FormatChangeCaseHiragana
catch
Warnlog "Format / Change Case / Hiragana does not work."
endcatch
sleep 1
try
FormatChangeCaseKatagana
catch
Warnlog "Format / Change Case / Katagana does not work."
endcatch
end if
Call hCloseDocument
endcase
'---------------------------------------------------------------------------------------
testcase tiFormatParagraph
Call hNewDocument
FormatParagraph
Kontext
Messagebox.SetPage TabEinzuegeUndAbstaende
kontext "TabEinzuegeUndAbstaende"
Call DialogTest ( TabEinzuegeUndAbstaende )
Kontext
Messagebox.SetPage TabAusrichtungAbsatz
Kontext "TabAusrichtungAbsatz"
Call DialogTest ( TabAusrichtungAbsatz )
Kontext
Messagebox.SetPage TabTabulator
kontext "TabTabulator"
Call DialogTest ( TabTabulator )
TabTabulator.Cancel
Call hCloseDocument
endcase
'---------------------------------------------------------------------------------------
testcase tiFormatPage
Call hNewDocument
FormatSlideDraw
kontext
if Messagebox.exists (5) then
Messagebox.SetPage TabSeite
Kontext "TabSeite"
if TabSeite.exists (5) then
Call Dialogtest (TabSeite)
else
warnlog "nope :-(1"
endif
sleep 1
kontext
Messagebox.SetPage TabArea
sleep 1
kontext
if messagebox.GetRT = 304 then
printlog "active about pagesize != printersettings, will say NO: " + Messagebox.GetText
try
Messagebox.No
catch
warnlog messagebox.getText
Messagebox.ok ' should be Error loading BASIC of document ##?
kontext
if messagebox.GetRT = 304 then
try
warnlog messagebox.getText
Messagebox.ok
catch
printlog "not expected state."
endcatch
endif
endcatch
endif
sleep 1
kontext
Messagebox.SetPage TabArea
Kontext "TabArea"
if TabArea.exists (5) then
Call Dialogtest (TabArea)
endif
sleep 1
TabArea.Cancel
else
warnlog "FormatPage doesn't come up with dialog :-("
endif
Call hCloseDocument
endcase
'---------------------------------------------------------------------------------------
testcase tiFormatStylesAndFormatting
Dim sTemp as String
dim sSettings(20,3) ' Control_name; control_type; value
dim i as integer
dim abctemp
Call hNewDocument
sleep 5
hTextrahmenErstellen ("I love Wednesdays...",20,20,80,40)
sleep 1
printlog "Checking if TextObjectBar is up"
Kontext "TextObjectbar"
if TextObjectbar.Exists Then
printlog "TextObjectbar.Exists = " + TextObjectbar.Exists
else
ViewToolbarsTextFormatting
endif
FormatStylist
WaitSlot (1000)
Kontext "Stylist"
if (Stylist.NotExists) then
qaErrorLog "There is no stylist open, trying again now"
FormatStylist
end if
WaitSlot (1000)
Vorlagenliste.TypeKeys "<End>"
Vorlagenliste.TypeKeys "<Up>"
Vorlagenliste.TypeKeys "<Up>"
sleep 1
Vorlagenliste.OpenContextMenu
sleep 1
hMenuSelectNr (1)
sleep 1
Kontext
if Messagebox.exists (5) then
try
Messagebox.SetPage TabVerwalten
Kontext "TabVerwalten"
TabVerwalten.TypeKeys "<TAB>"
VorlagenName.setText("1Test")
sTemp = VorlagenName.getText
VerknuepftMit.getSelText
Bereich.getSelText
TabVerwalten.OK
catch
warnlog "Under Gnome we have a focus problem here."
endcatch
end if
sleep 1
Kontext "Stylist"
Vorlagenliste.TypeKeys "<Home>" 'to go to the style we've created ourselves.
sleep 1
Vorlagenliste.OpenContextMenu
sleep 1
hMenuSelectNr (2) 'modify...
sleep 1
Kontext
if Messagebox.exists (5) then
try
Messagebox.SetPage TabVerwalten
Kontext "TabVerwalten"
VorlagenName.setText("2Test")
TabVerwalten.OK
catch
warnlog "Under Gnome we have a focus problem here."
endcatch
end if
sleep 3
Kontext "Stylist"
Vorlagenliste.TypeKeys "<Home>" 'to go to the style we've created ourselves.
sleep 1
try
Vorlagenliste.TypeKeys "<Delete>" 'To delete the style.
Kontext "Active" 'do you really wish to delete?
Active.YES
sleep 2
catch
Warnlog "Couldnt delete the new Style, or maybe wrong position?"
endcatch
Kontext "Stylist"
if (Stylist.NotExists) then
ErrorLog "There was no Stylist open, should be."
else
hTypekeys "<F11>"
Kontext "Stylist"
if (Stylist.Exists) then
ErrorLog "The Stylist should be closed now."
endif
endif
Call hCloseDocument
endcase
'---------------------------------------------------------------------------------------
testcase tiFormatFontwork
Call hNewDocument
Call hTextrahmenErstellen ("Flightplanning via www.aua.com is hard!",20,20,50,30)
sleep 1
FormatFontwork
Kontext "FontWork"
if FontWork.exists (5) then
DialogTest ( FontWork )
sleep 1
FontWork.Close
else
warnlog "FontWork didn't came up :-("
endif
Call hCloseDocument
endcase
'---------------------------------------------------------------------------------------
testcase tiFormatGroup
Call hNewDocument
hRechteckErstellen ( 10, 10, 20, 20 )
hRechteckErstellen ( 30, 30, 40, 40 )
EditSelectAll
FormatGroupDraw
WaitSlot (1000)
FormatEditGroupDraw
WaitSlot (1000)
FormatExitGroupDraw
WaitSlot (1000)
FormatUngroupDraw
WaitSlot (1000)
Call hCloseDocument
endcase
'---------------------------------------------------------------------------------------
testcase tiFormatStylesSlideDesign
' create recktanglr; click outside ?
Call hNewDocument
WaitSlot (3000)
FormatModifyLayout ' is OK : Format->Styles->Slide Design; 27064; SID_PRESENTATION_LAYOUT
WaitSlot (1000)
Kontext "Seitenvorlage"
Call DialogTest ( Seitenvorlage )
HintergrundseiteAustauschen.check
DeleteUnusedBackgrounds.check
Laden.Click
kontext "Neu"
Zusaetze.click
sleep 1
kontext "Neu"
try
Vorschau.check
catch
printlog "Preview wasn't checkable :-( hopfully now:"
Zusaetze.click
sleep 1
Vorschau.check
printlog "... OK :-)"
endcatch
Neu.cancel
Kontext "Seitenvorlage"
Seitenvorlage.Cancel
sleep 2
Call hCloseDocument
endcase
'---------------------------------------------------------------------------------------
|