summaryrefslogtreecommitdiff
path: root/testautomation/writer/required
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-07-08 10:41:00 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-07-08 10:41:00 +0200
commitaa1d824ff9d9339cad9afadf0a750cff0f1354ea (patch)
treed3d3702d733a210cf5a3e6d083dca5dc1c0f93ca /testautomation/writer/required
parente4556d5f123bf3d704909932bc51eb8a1aa407c5 (diff)
automationdev300m84: #i112887 - The method used to close the hyperlink dialog was wrong. Another CWS brought the possibility to assign HIDs to tabpages so this can now be used. The HyperlinkDialog now has three buttons: ApplyButton, CloseButton and BackButton which can be accessed directly via the dialogs context. Requires a minor change to edia_d_h.win. Furthermore t_tools3.inc had a modification regarding the for-next loop's exit value and the test tInsertHyperlink was modified.
Diffstat (limited to 'testautomation/writer/required')
-rwxr-xr-xtestautomation/writer/required/includes/w_002_.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/testautomation/writer/required/includes/w_002_.inc b/testautomation/writer/required/includes/w_002_.inc
index d19c563526ce..d4b6952840b2 100755
--- a/testautomation/writer/required/includes/w_002_.inc
+++ b/testautomation/writer/required/includes/w_002_.inc
@@ -948,8 +948,9 @@ testcase tEditHyperlink
PrintLog "Click 'Apply'"
Uebernehmen.Click
+ kontext "HyperlinkDialog"
PrintLog "Close Hyperlink dialog"
- hCloseDialog( Hyperlink, "close" )
+ hClickButton( CloseButton )
else
warnlog( "Dialog <Hyperlink> did not open" )
hCloseDocument()
@@ -972,8 +973,8 @@ testcase tEditHyperlink
PrintLog "Edit / Hyperlink has to be enabled"
if ( hUseAsyncSlot( "EditHyperlink" ) > -1 ) then
- Kontext "Hyperlink"
- hCloseDialog( Hyperlink, "close" )
+ kontext "HyperlinkDialog"
+ hClickButton( CloseButton )
else
warnlog( "Slot <EditHyperlink> could not be called" )
endif