1 'encoding UTF-8 Do not remove or change this line!
2 '**************************************************************************
3 '* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 '* Copyright 2008 by Sun Microsystems, Inc.
7 '* OpenOffice.org - a multi-platform office productivity suite
9 '* $RCSfile: ch2_format1.inc,v $
13 '* last change: $Author: jsi $ $Date: 2008-06-13 14:27:01 $
15 '* This file is part of OpenOffice.org.
17 '* OpenOffice.org is free software: you can redistribute it and/or modify
18 '* it under the terms of the GNU Lesser General Public License version 3
19 '* only, as published by the Free Software Foundation.
21 '* OpenOffice.org is distributed in the hope that it will be useful,
22 '* but WITHOUT ANY WARRANTY; without even the implied warranty of
23 '* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 '* GNU Lesser General Public License version 3 for more details
25 '* (a copy is included in the LICENSE file that accompanied this code).
27 '* You should have received a copy of the GNU Lesser General Public License
28 '* version 3 along with OpenOffice.org. If not, see
29 '* <http://www.openoffice.org/license.html>
30 '* for a copy of the LGPLv3 License.
32 '/************************************************************************
34 '* owner : oliver.craemer@sun.com
36 '* short description : Continue Chart resource test - Menu FORMAT
38 '************************************************************************
40 ' #1 tFormatXAxisMainGrid
41 ' #1 tFormatYAxisMainGrid
42 ' #1 tFormatZAxisMainGrid
43 ' #1 tFormatXAxisMinorGrid
44 ' #1 tFormatYAxisMinorGrid
45 ' #1 tFormatZAxisMinorGrid
46 ' #1 tFormatAllAxesGrids
49 ' #1 tFormatChartFloor
52 ' #1 tFormatDataRanges
55 '\************************************************************************
57 testcase tFormatXAxisMainGrid
58 '///<u><b>Dialog test after invoking Format::Grid::X Axis Main Grid</b></u>
61 '///+<li>Load simple chart document</li>
62 if fLoadVerySimpleChartAndSaveLocal() > 0 then
63 warnlog "Loading test document seems to have failed -> Check this out!"
66 '///+<li>Select chart using navigator</li>
68 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
71 '///+<li>Invoke Format::Chart Type</li>
72 if fInvokeChartTypeDialog() > 0 then
73 warnlog "Something went wrong trying to invoke the Chart Types dialog -> Check this out! (Previous log may help you)"
77 '///+<li>Change Chart type to STOCK</li>
78 if fSetChartType( "stock" ) > 0 then
79 warnlog "Something went wrong setting chart type to STOCK -> Check this out! (Previous log may help you)"
83 '///+<li>Close Chart Type dialog</li>
84 if fCloseChartTypeDialogOK() > 0 then
85 warnlog "Something went wrong trying to close the Chart Type dialog -> Check this out! (Previous log may help you)"
89 '///+<li>Invoke Insert::Grids</li>
90 if fInvokeGridsDialog() > 0 then
91 warnlog "Something went wrong trying to invoke the Grids dialog -> Check this out! (Previous log may help you)"
95 Kontext "InsertGridsDialog"
96 '///+<li>Check Main Grid X Axis</li>
97 if fSetGrid( MainGridXAxis , TRUE ) > 0 then
98 warnlog "Something went wrong enabling Main Grid X Axis -> Check this out! (Previous log may help you)"
102 '///+<li>Close Grids dialog</li>
103 if fCloseGridsDialogOK() > 0 then
104 warnlog "Something went wrong trying to close the Grids dialog -> Check this out! (Previous log may help you)"
108 '///+<li>Invoke Format::Grid::X Axis Main Grid</li>
109 FormatGridXAxisMainGrid
110 '///+<li>Check if tab-page Line exists</li>
111 Kontext "TabFormatChartLine"
112 call DialogTest ( TabFormatChartLine )
113 '///+<li>Close dialog</li>
114 TabFormatChartLine.Cancel
115 '///+<li>Close document</li>
116 Kontext "DocumentCalc"
117 DocumentCalc.TypeKeys "<Escape>"
122 '-------------------------------------------------------------
123 testcase tFormatYAxisMainGrid
124 '///<u><b>Dialog test after invoking Format::Grid::Y Axis Main Grid</b></u>
127 '///+<li>Load simple chart document</li>
128 if fLoadVerySimpleChartAndSaveLocal() > 0 then
129 warnlog "Loading test document seems to have failed -> Check this out!"
132 '///+<li>Select chart using navigator</li>
134 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
137 '///+<li>Invoke Format::Chart Type</li>
138 if fInvokeChartTypeDialog() > 0 then
139 warnlog "Something went wrong trying to invoke the Chart Types dialog -> Check this out! (Previous log may help you)"
143 '///+<li>Change Chart type to AREA</li>
144 if fSetChartType( "area" ) > 0 then
145 warnlog "Something went wrong setting chart type to AREA -> Check this out! (Previous log may help you)"
149 '///+<li>Close Chart Type dialog</li>
150 if fCloseChartTypeDialogOK() > 0 then
151 warnlog "Something went wrong trying to close the Chart Type dialog -> Check this out! (Previous log may help you)"
155 '///+<li>Invoke Format::Grid::Y Axis Main Grid</li>
156 FormatGridYAxisMainGrid
157 '///+<li>Check if tab-page Line exists</li>
158 Kontext "TabFormatChartLine"
159 call DialogTest ( TabFormatChartLine )
160 '///+<li>Close dialog</li>
161 TabFormatChartLine.Cancel
162 '///+<li>Close document</li>
163 Kontext "DocumentCalc"
164 DocumentCalc.TypeKeys "<Escape>"
169 '-------------------------------------------------------------
170 testcase tFormatZAxisMainGrid
171 '///<u><b>Dialog test after invoking Format::Grid::Z Axis Main Grid</b></u>
174 '///+<li>Load simple chart document</li>
175 if fLoadVerySimpleChartAndSaveLocal() > 0 then
176 warnlog "Loading test document seems to have failed -> Check this out!"
179 '///+<li>Select chart using navigator</li>
181 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
184 '///+<li>Invoke Format::Chart Type</li>
185 if fInvokeChartTypeDialog() > 0 then
186 warnlog "Something went wrong trying to invoke the Chart Types dialog -> Check this out! (Previous log may help you)"
190 '///+<li>Change Chart type to LINE</li>
191 if fSetChartType( "line" ) > 0 then
192 warnlog "Something went wrong setting chart type to LINE -> Check this out! (Previous log may help you)"
196 '///+<li>Change Chart type Variant to #4 (3D Variant)</li>
197 if fSetChartTypeVariant( 4 ) > 0 then
198 warnlog "Something went wrong selecting 4th chart type variant -> Check this out! (Previous log may help you)"
202 '///+<li>Close Chart Type dialog</li>
203 if fCloseChartTypeDialogOK() > 0 then
204 warnlog "Something went wrong trying to close the Chart Type dialog -> Check this out! (Previous log may help you)"
208 '///+<li>Invoke Insert::Grids</li>
209 if fInvokeGridsDialog() > 0 then
210 warnlog "Something went wrong trying to invoke the Grids dialog -> Check this out! (Previous log may help you)"
214 Kontext "InsertGridsDialog"
215 '///+<li>Check Main Grid Z Axis</li>
216 if fSetGrid( MainGridZAxis , TRUE ) > 0 then
217 warnlog "Something went wrong enabling Main Grid X Axis -> Check this out! (Previous log may help you)"
221 '///+<li>Close Grids dialog</li>
222 if fCloseGridsDialogOK() > 0 then
223 warnlog "Something went wrong trying to close the Grids dialog -> Check this out! (Previous log may help you)"
227 '///+<li>Invoke Format::Grid::Z Axis Main Grid</li>
228 FormatGridZAxisMainGrid
229 '///+<li>Check if tab-page Line exists</li>
230 Kontext "TabFormatChartLine"
231 call DialogTest ( TabFormatChartLine )
232 '///+<li>Close dialog</li>
233 TabFormatChartLine.Cancel
234 '///+<li>Close document</li>
235 Kontext "DocumentCalc"
236 DocumentCalc.TypeKeys "<Escape>"
242 '-------------------------------------------------------------------------------
244 testcase tFormatXAxisMinorGrid
245 '///<u><b>Dialog test after invoking Format::Grid::X Axis Minor Grid</b></u>
246 '/// Load simple chart document
247 if fLoadVerySimpleChartAndSaveLocal() > 0 then
248 warnlog "Loading test document seems to have failed -> Check this out!"
251 '/// Select chart using navigator
253 '/// Invoke Edit::Object::Edit to enter Inplace Mode
256 '/// Invoke Format::Chart Type
257 if fInvokeChartTypeDialog() > 0 then
258 warnlog "Something went wrong trying to invoke the Chart Types dialog -> Check this out! (Previous log may help you)"
262 '/// Change Chart type to xy chart
263 if fSetChartType( "xy" ) > 0 then
264 warnlog "Something went wrong setting chart type to xy chart -> Check this out! (Previous log may help you)"
268 '/// Close Chart Type dialog
269 if fCloseChartTypeDialogOK() > 0 then
270 warnlog "Something went wrong trying to close the Chart Type dialog -> Check this out! (Previous log may help you)"
274 '/// Invoke Insert::Grids
275 if fInvokeGridsDialog() > 0 then
276 warnlog "Something went wrong trying to invoke the Grids dialog -> Check this out! (Previous log may help you)"
280 Kontext "InsertGridsDialog"
281 '/// Check Minor Grid X Axis
282 if fSetGrid( MinorGridXAxis , TRUE ) > 0 then
283 warnlog "Something went wrong enabling Minor Grid Y Axis -> Check this out! (Previous log may help you)"
287 '/// Close Grids dialog
288 if fCloseGridsDialogOK() > 0 then
289 warnlog "Something went wrong trying to close the Grids dialog -> Check this out! (Previous log may help you)"
293 '/// Invoke Format::Grid::X Axis Minor Grid
294 FormatGridXAxisMinorGrid
295 '/// Check if tab-page Line exists
296 Kontext "TabFormatChartLine"
297 call DialogTest ( TabFormatChartLine )
299 TabFormatChartLine.Cancel
301 Kontext "DocumentCalc"
302 DocumentCalc.TypeKeys "<Escape>"
306 '-------------------------------------------------------------------------------
308 testcase tFormatYAxisMinorGrid
309 '///<u><b>Dialog test after invoking Format::Grid::Y Axis Minor Grid</b></u>
312 '///+<li>Load simple chart document</li>
313 if fLoadVerySimpleChartAndSaveLocal() > 0 then
314 warnlog "Loading test document seems to have failed -> Check this out!"
317 '///+<li>Select chart using navigator</li>
319 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
322 '///+<li>Invoke Format::Chart Type</li>
323 if fInvokeChartTypeDialog() > 0 then
324 warnlog "Something went wrong trying to invoke the Chart Types dialog -> Check this out! (Previous log may help you)"
328 '///+<li>Change Chart type to NET</li>
329 if fSetChartType( "net" ) > 0 then
330 warnlog "Something went wrong setting chart type to NET -> Check this out! (Previous log may help you)"
334 '///+<li>Close Chart Type dialog</li>
335 if fCloseChartTypeDialogOK() > 0 then
336 warnlog "Something went wrong trying to close the Chart Type dialog -> Check this out! (Previous log may help you)"
340 '///+<li>Invoke Insert::Grids</li>
341 if fInvokeGridsDialog() > 0 then
342 warnlog "Something went wrong trying to invoke the Grids dialog -> Check this out! (Previous log may help you)"
346 Kontext "InsertGridsDialog"
347 '///+<li>Check Minor Grid Y Axis</li>
348 if fSetGrid( MinorGridYAxis , TRUE ) > 0 then
349 warnlog "Something went wrong enabling Minor Grid Y Axis -> Check this out! (Previous log may help you)"
353 '///+<li>Close Grids dialog</li>
354 if fCloseGridsDialogOK() > 0 then
355 warnlog "Something went wrong trying to close the Grids dialog -> Check this out! (Previous log may help you)"
359 '///+<li>Invoke Format::Grid::Y Axis Minor Grid</li>
360 FormatGridYAxisMinorGrid
361 '///+<li>Check if tab-page Line exists</li>
362 Kontext "TabFormatChartLine"
363 call DialogTest ( TabFormatChartLine )
364 '///+<li>Close dialog</li>
365 TabFormatChartLine.Cancel
366 '///+<li>Close document</li>
367 Kontext "DocumentCalc"
368 DocumentCalc.TypeKeys "<Escape>"
374 '-------------------------------------------------------------------------------
376 testcase tFormatAllAxesGrids
377 '///<u><b>Dialog test after invoking Format::Grid::All Grids</b></u>
380 '///+<li>Load simple chart document</li>
381 if fLoadVerySimpleChartAndSaveLocal() > 0 then
382 warnlog "Loading test document seems to have failed -> Check this out!"
385 '///+<li>Select chart using navigator</li>
387 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
390 '///+<li>Invoke Format::Chart Type</li>
391 if fInvokeChartTypeDialog() > 0 then
392 warnlog "Something went wrong trying to invoke the Chart Types dialog -> Check this out! (Previous log may help you)"
396 '///+<li>Change Chart type to XY</li>
397 if fSetChartType( "xy" ) > 0 then
398 warnlog "Something went wrong setting chart type to XY -> Check this out! (Previous log may help you)"
402 '///+<li>Change Chart type Variant to #4 (3D Variant)</li>
403 if fSetChartTypeVariant( 4 ) > 0 then
404 warnlog "Something went wrong selecting 4th chart type variant -> Check this out! (Previous log may help you)"
408 '///+<li>Close Chart Type dialog</li>
409 if fCloseChartTypeDialogOK() > 0 then
410 warnlog "Something went wrong trying to close the Chart Type dialog -> Check this out! (Previous log may help you)"
414 '///+<li>Invoke Format::Grid::All Grids</li>
415 FormatGridAllAxisGrids
416 '///+<li>Check if tab-page Line exists</li>
417 Kontext "TabFormatChartLine"
418 call DialogTest ( TabFormatChartLine )
419 '///+<li>Close dialog</li>
420 TabFormatChartLine.Cancel
421 '///+<li>Close document</li>
422 Kontext "DocumentCalc"
423 DocumentCalc.TypeKeys "<Escape>"
428 '-------------------------------------------------------------
429 testcase tFormatLegend
430 '///<u><b>Dialog test after invoking Format::Legend</b></u>
433 '///+<li>Load simple chart document</li>
434 if fLoadVerySimpleChartAndSaveLocal() > 0 then
435 warnlog "Loading test document seems to have failed -> Check this out!"
438 '///+<li>Select chart using navigator</li>
440 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
443 '///+<li>Invoke Format::Chart Type</li>
444 if fInvokeChartTypeDialog() > 0 then
445 warnlog "Something went wrong trying to invoke the Chart Types dialog -> Check this out! (Previous log may help you)"
449 '///+<li>Change Chart type to PIE</li>
450 if fSetChartType( "pie" ) > 0 then
451 warnlog "Something went wrong setting chart type to PIE -> Check this out! (Previous log may help you)"
455 '///+<li>Close Chart Type dialog</li>
456 if fCloseChartTypeDialogOK() > 0 then
457 warnlog "Something went wrong trying to close the Chart Type dialog -> Check this out! (Previous log may help you)"
461 '///+<li>Invoke Format::Legend</li>
463 '///+<li>Goto tab-page Borders</li>
465 active.SetPage TabFormatChartBorders
466 '///+<li>Check if tab-page Borders exists</li>
467 Kontext "TabFormatChartBorders"
468 call DialogTest ( TabFormatChartBorders )
470 '///+<li>Goto tab-page Area</li>
472 active.SetPage TabArea
473 '///+<li>Check if tab-page Area exists</li>
475 call DialogTest ( TabArea )
477 '///+<li>Goto tab-page Transparency</li>
479 active.SetPage TabTransparency
480 '///+<li>Check if tab-page Transparency exists</li>
481 Kontext "TabTransparency"
482 call DialogTest ( TabTransparency )
484 '///+<li>Goto tab-page Characters</li>
486 active.SetPage TabFont
487 '///+<li>Check if tab-page Characters exists</li>
489 call DialogTest ( TabFont )
491 '///+<li>Goto tab-page Font Effects</li>
493 active.SetPage TabFontEffects
494 '///+<li>Check if tab-page Font Effects exists</li>
495 Kontext "TabFontEffects"
496 call DialogTest ( TabFontEffects )
498 '///+<li>Goto tab-page Position</li>
500 active.SetPage TabLegendPosition
501 '///+<li>Check if tab-page Alignment exists</li>
502 Kontext "TabLegendPosition"
503 call DialogTest ( TabLegendPosition )
505 if gAsianSup = true then
507 Active.SetPage TabAsianTypography
508 Kontext "TabAsianTypography"
509 call DialogTest ( TabAsianTypography )
510 TabAsianTypography.Cancel
512 '///+<li>Close dialog</li>
513 TabLegendPosition.Cancel
515 '///+<li>Close document</li>
516 Kontext "DocumentCalc"
517 DocumentCalc.TypeKeys "<Escape>"
522 '-------------------------------------------------------------
523 testcase tFormatChartWall
524 '///<u><b>Dialog test after invoking Format::Chart Wall</b></u>
527 '///+<li>Load simple chart document</li>
528 if fLoadVerySimpleChartAndSaveLocal() > 0 then
529 warnlog "Loading test document seems to have failed -> Check this out!"
532 '///+<li>Select chart using navigator</li>
534 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
537 '///+<li>Invoke Format::Chart Wall</li>
539 '///+<li>Goto tab-page Borders</li>
541 active.SetPage TabFormatChartBorders
542 '///+<li>Check if tab-page Borders exists</li>
543 Kontext "TabFormatChartBorders"
544 call DialogTest ( TabFormatChartBorders )
546 '///+<li>Goto tab-page Area</li>
548 active.SetPage TabArea
549 '///+<li>Check if tab-page Area exists</li>
551 call DialogTest ( TabArea )
553 '///+<li>Goto tab-page Transparency</li>
555 active.SetPage TabTransparency
556 '///+<li>Check if tab-page Transparency exists</li>
557 Kontext "TabTransparency"
558 call DialogTest ( TabTransparency )
560 '///+<li>Close dialog</li>
561 TabTransparency.Cancel
562 '///+<li>Close document</li>
563 Kontext "DocumentCalc"
564 DocumentCalc.TypeKeys "<Escape>"
569 '-------------------------------------------------------------
570 testcase tFormatChartFloor
571 '///<u><b>Dialog test after invoking Format::Chart Floor</b></u>
574 '///+<li>Load simple chart document</li>
575 if fLoadVerySimpleChartAndSaveLocal() > 0 then
576 warnlog "Loading test document seems to have failed -> Check this out!"
579 '///+<li>Select chart using navigator</li>
581 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
584 '///+<li>Convert chart to 3D (this will enable the Chart Floor)</li>
585 if NOT fConvertChartTo3D() then
586 warnlog "Conversion of chart to 3D failed -> Quit testcase"
590 '///+<li>Invoke Format::Chart Floor</li>
592 '///+<li>Goto tab-page Area</li>
594 active.SetPage TabArea
595 '///+<li>Check if tab-page Area exists</li>
597 call DialogTest ( TabArea )
599 '///+<li>Goto tab-page Transparency</li>
601 active.SetPage TabTransparency
602 '///+<li>Check if tab-page Transparency exists</li>
603 Kontext "TabTransparency"
604 call DialogTest ( TabTransparency )
606 '///+<li>Goto tab-page Borders</li>
608 active.SetPage TabFormatChartBorders
609 '///+<li>Check if tab-page Borders exists</li>
610 Kontext "TabFormatChartBorders"
611 call DialogTest ( TabFormatChartBorders )
613 '///+<li>Close dialog</li>
614 TabFormatChartBorders.Cancel
615 '///+<li>Close document</li>
616 Kontext "DocumentCalc"
617 DocumentCalc.TypeKeys "<Escape>"
622 '-------------------------------------------------------------
623 testcase tFormatChartArea
624 '///<u><b>Dialog test after invoking Format::Chart Area</b></u>
627 '///+<li>Load simple chart document</li>
628 if fLoadVerySimpleChartAndSaveLocal() > 0 then
629 warnlog "Loading test document seems to have failed -> Check this out!"
632 '///+<li>Select chart using navigator</li>
634 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
637 '///+<li>Invoke Format::Chart Area</li>
639 '///+<li>Goto tab-page Transparency</li>
641 active.SetPage TabTransparency
642 '///+<li>Check if tab-page Transparency exists</li>
643 Kontext "TabTransparency"
644 call DialogTest ( TabTransparency )
646 '///+<li>Goto tab-page Borders</li>
648 active.SetPage TabFormatChartBorders
649 '///+<li>Check if tab-page Borders exists</li>
650 Kontext "TabFormatChartBorders"
651 call DialogTest ( TabFormatChartBorders )
653 '///+<li>Goto tab-page Area</li>
655 active.SetPage TabArea
656 '///+<li>Check if tab-page Area exists</li>
658 call DialogTest ( TabArea )
660 '///+<li>Close dialog</li>
662 '///+<li>Close document</li>
663 Kontext "DocumentCalc"
664 DocumentCalc.TypeKeys "<Escape>"
669 '-------------------------------------------------------------
670 testcase tFormatChartType
671 '///<u><b>Dialog test after invoking Format::Chart Type</b></u>
674 '///+<li>Load simple chart document</li>
675 if fLoadVerySimpleChartAndSaveLocal() > 0 then
676 warnlog "Loading test document seems to have failed -> Check this out!"
679 '///+<li>Select chart using navigator</li>
681 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
684 '///+<li>Invoke Format::Chart Type</li>
686 '///+<li>Check if Chart Type dialog exists</li>
688 call DialogTest ( ChartType )
689 '///+<li>Change Chart type to LINE</li>
690 if fSetChartType( "line" ) > 0 then
691 warnlog "Something went wrong setting chart type to LINE -> Check this out! (Previous log may help you)"
695 '///+<li>Invoke Smooth Lines Properties</li>
696 if fInvokeSmoothLineProperties() > 0 then
697 warnlog "Something went wrong invoking Smooth Lines Properties -> Check this out! (Previous log may help you)"
701 '///+<li>Check if the Smooth Line Properties dialog exists</li>
702 Kontext "SmoothLineProperties"
703 call DialogTest ( SmoothLineProperties )
704 '///+<li>Close Smooth Lines Properties</li>
705 if fCloseSmoothLinePropertiesOK() > 0 then
706 warnlog "Something went wrong closing Smooth Lines Properties -> Check this out! (Previous log may help you)"
710 '///+<li>Close dialog</li>
713 '///+<li>Close document</li>
714 Kontext "DocumentCalc"
715 DocumentCalc.TypeKeys "<Escape>"
720 '-------------------------------------------------------------
721 testcase tFormatDataRanges
722 '///<u><b>Dialog test after invoking Format::Data Ranges</b></u>
725 '///+<li>Load simple chart document</li>
726 if fLoadVerySimpleChartAndSaveLocal() > 0 then
727 warnlog "Loading test document seems to have failed -> Check this out!"
730 '///+<li>Select chart using navigator</li>
732 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
735 '///+<li>Invoke Format::Data Ranges</li>
737 '///+<li>Goto tab-page Data Range</li>
739 active.SetPage TabFormatDataRangesDataRange
740 '///+<li>Check if tab-page Data Range exists</li>
741 Kontext "TabFormatDataRangesDataRange"
742 call DialogTest ( TabFormatDataRangesDataRange )
743 qaErrorLog "Implode dialog using range select button when feature is implemented"
745 '///+<li>Goto tab-page Data Series</li>
747 active.SetPage TabFormatDataRangesDataSeries
748 '///+<li>Check if tab-page Data Series exists</li>
749 Kontext "TabFormatDataRangesDataSeries"
750 call DialogTest ( TabFormatDataRangesDataSeries )
752 qaErrorLog "Implode dialog using range select button when feature is implemented"
754 '///+<li>Close dialog</li>
755 TabFormatDataRangesDataSeries.Cancel
756 '///+<li>Close document</li>
757 Kontext "DocumentCalc"
758 DocumentCalc.TypeKeys "<Escape>"
763 '-------------------------------------------------------------
764 testcase tFormat3DView
765 '///<u><b>Dialog test after invoking Format::3D View</b></u>
768 '///+<li>Load simple chart document</li>
769 if fLoadVerySimpleChartAndSaveLocal() > 0 then
770 warnlog "Loading test document seems to have failed -> Check this out!"
773 '///+<li>Select chart using navigator</li>
775 '///+<li>Invoke Edit::Object::Edit to enter Inplace Mode</li>
778 '///+<li>Convert chart to 3D</li>
779 if NOT fConvertChartTo3D() then
780 warnlog "Conversion of chart to 3D failed -> Quit testcase"
784 '///+<li>Invoke Format::3D View</li>
786 '///+<li>Goto tab-page Perspective</li>
788 active.SetPage TabFormat3DViewGeometry
789 '///+<li>Check if tab-page Perspective exists</li>
790 Kontext "TabFormat3DViewGeometry"
791 call DialogTest ( TabFormat3DViewGeometry )
793 '///+<li>Goto tab-page Appearance</li>
795 active.SetPage TabFormat3DViewAppearance
796 '///+<li>Check if tab-page Appearance exists</li>
797 Kontext "TabFormat3DViewAppearance"
798 call DialogTest ( TabFormat3DViewAppearance )
800 '///+<li>Goto tab-page Illumination</li>
802 active.SetPage TabFormat3DViewIllumination
803 '///+<li>Check if tab-page Illumination exists</li>
804 Kontext "TabFormat3DViewIllumination"
805 call DialogTest ( TabFormat3DViewIllumination )
806 '///+<li>Click Color select button</li>
808 '///+<li>Check if Color dialog exists</li>
810 call DialogTest ( FarbeDLG )
811 '///+<li>Close dialog</li>
813 Kontext "TabFormat3DViewIllumination"
815 '///+<li>Click Ambient Light select button</li>
816 AmbientLightSelect.Click
817 '///+<li>Check if Color dialog exists</li>
819 call DialogTest ( FarbeDLG )
820 '///+<li>Close dialog</li>
823 '///+<li>Close dialog</li>
824 Kontext "TabFormat3DViewIllumination"
825 TabFormat3DViewIllumination.Cancel
826 '///+<li>Close document</li>
827 Kontext "DocumentCalc"
828 DocumentCalc.TypeKeys "<Escape>"
833 '-------------------------------------------------------------