[PATCH 5/5] slideshow test case update.

Yifan J yfjiang at novell.com
Fri Dec 24 00:31:00 PST 2010


influenced case:
i_sildeshow.bas

1. give more safe coordination for drawing rectangle

otherwise the testtool may 'click insert chart
icon in the slide page' by accident when trying
to 'drawing a rectangle'

2. use uno slot to Call Slide Show -> Custom Slide Show...
---
 testautomation/global/sid/e_all.sid                |    2 +-
 .../optional/includes/impress/i_slideshow3.inc     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testautomation/global/sid/e_all.sid b/testautomation/global/sid/e_all.sid
index 1a8a0b7..d7215aa 100644
--- a/testautomation/global/sid/e_all.sid
+++ b/testautomation/global/sid/e_all.sid
@@ -790,7 +790,7 @@ SlideShowAnimation .uno:CustomAnimation
 SlideShowSlideTransition .uno:SlideChangeWindow
 SlideShowHideSlide SID_HIDE_SLIDE
 SlideShowShowSlide SID_SHOW_SLIDE 
-SlideShowCustomSlideshow SID_CUSTOMSHOW_DLG
+SlideShowCustomSlideshow .uno:CustomShowDialog
 SlideShowCustomAnimation .uno:CustomAnimation
 
 ' ***********************************
diff --git a/testautomation/graphics/optional/includes/impress/i_slideshow3.inc b/testautomation/graphics/optional/includes/impress/i_slideshow3.inc
index 025e91b..200c7e3 100644
--- a/testautomation/graphics/optional/includes/impress/i_slideshow3.inc
+++ b/testautomation/graphics/optional/includes/impress/i_slideshow3.inc
@@ -582,7 +582,7 @@ testcase tExtrasIndividuellePraesentation
       Kontext "NavigatorDraw"
       Naechste.Click                        '/// switch to next slide ///'
       Kontext "DocumentImpress"
-      hRechteckErstellen (50,50,60,60)        '/// create rectangle ///'
+      hRechteckErstellen (30,30,40,40)        '/// create rectangle ///'
       Printlog "  - Created rectangles on all slides"
    else
       Warnlog "  No Navigator"
-- 
1.7.3.1


--wzJLGUyc3ArbnUjN--


More information about the LibreOffice mailing list