summaryrefslogtreecommitdiff
path: root/testautomation/graphics/optional/includes/impress
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/graphics/optional/includes/impress')
-rw-r--r--testautomation/graphics/optional/includes/impress/i_us_present.inc20
1 files changed, 8 insertions, 12 deletions
diff --git a/testautomation/graphics/optional/includes/impress/i_us_present.inc b/testautomation/graphics/optional/includes/impress/i_us_present.inc
index 1a060a3e35f5..ea0d1ff3af2d 100644
--- a/testautomation/graphics/optional/includes/impress/i_us_present.inc
+++ b/testautomation/graphics/optional/includes/impress/i_us_present.inc
@@ -69,6 +69,7 @@ testcase i_us_presentation
MenuSelect(MenuGetItemID(1))
sleep (1)
printlog "Inserted second Master-Slide"
+
printlog "set background to picture(Gallery)"
Kontext "Gallery"
@@ -151,17 +152,14 @@ testcase i_us_presentation
sleep (1)
kontext "GraphicFilterBar"
Mosaic.Click
- WaitSlot (2000)
kontext "Mosaic"
if ( Mosaic.exists( 2 ) ) then
- kontext "Mosaic"
+ Width.SetText "16"
+ Height.SetText "16"
+ Mosaic.OK
else
warnlog "Dialog did not came up."
endif
-
- Width.SetText "16"
- Height.SetText "16"
- Mosaic.OK
kontext "GraphicFilterBar"
printlog "Closing dialog and Gallery."
GraphicFilterBar.Close
@@ -172,7 +170,6 @@ testcase i_us_presentation
sleep (1)
FormatPositionAndSize
kontext
-
if ( Active.exists( 2 ) ) then
active.setPage(TabPositionAndSize)
kontext "TabPositionAndSize"
@@ -208,7 +205,7 @@ testcase i_us_presentation
warnlog "Testdoc is missing or did not get saved."
goto endsub
end if
-
+ sleep (2)
printlog "New Slide"
kontext "slides"
SlidesControl.TypeKeys( "<PAGEDOWN>", 3 )
@@ -233,12 +230,11 @@ testcase i_us_presentation
printlog "Did the 'mistake' to FadeIn/Out the Slidepane"
InsertGraphicsFromFile
Kontext "GrafikEinfuegenDlg"
-
if GrafikEinfuegenDlg.exists(5) then
- printlog "The Insertgraphics-dialogue showed up correctly."
- sleep (5)
+ printlog " The Insertgraphics-dialogue showed up correctly."
+ sleep (5)
else
- warnlog "The Insertgraphics-dialogue didn't show up."
+ warnlog " The Insertgraphics-dialogue didn't show up."
endif
printlog "Graphics-Import-dialogue. Select i_us_large.jpg"