summaryrefslogtreecommitdiffstats
path: root/testautomation/math
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-06-03 14:56:04 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-06-03 14:56:04 +0200
commitcbcbf81ee5fbbbbca91cafee00569dba7c548bde (patch)
tree0d325b58c38f7f18589ffa3610e9ae15e1ed1c58 /testautomation/math
parentvitomation01: #i109696 - Needed to split w_004.inc into two parts, 64k limit ... (diff)
downloadcore-cbcbf81ee5fbbbbca91cafee00569dba7c548bde.tar.gz
core-cbcbf81ee5fbbbbca91cafee00569dba7c548bde.zip
vitomation01: #i109696 - Fix timing issue in m_020_.inc
Diffstat (limited to 'testautomation/math')
-rwxr-xr-xtestautomation/math/required/includes/m_020_.inc26
1 files changed, 13 insertions, 13 deletions
diff --git a/testautomation/math/required/includes/m_020_.inc b/testautomation/math/required/includes/m_020_.inc
index 31d9fed08c2e..b1e423d62f2e 100755
--- a/testautomation/math/required/includes/m_020_.inc
+++ b/testautomation/math/required/includes/m_020_.inc
@@ -40,33 +40,33 @@ testcase tMainToolbar
'/// open application ///'
Call hNewDocument
'/// type something into document ///'
- SchreibenInMathdok "a over b"
+ SchreibenInMathdok( "a over b" )
kontext "Toolbar"
'/// click buttons on Main Toolbar ///'
'/// click 'Zoom in' ///'
- Vergroessern.Click
+ hClickButton( Vergroessern )
'/// click 'Zoom out' ///'
- Verkleinern.Click
+ hClickButton( Verkleinern )
'/// click 'Zoom 100%' ///'
- ZoomHundertProzent.Click
+ hClickButton( ZoomHundertProzent )
'/// click 'Zoom inEntire Formula' ///'
- GanzeFormel.Click
+ hClickButton( GanzeFormel )
'/// click 'Refresh' ///'
- FormelAktualisieren.Click
+ hClickButton( FormelAktualisieren )
'/// click 'Formula Cursor' ///'
- FormulaCursor.Click
+ hClickButton( FormulaCursor )
'/// click 'Symbols' ///'
- FormelSymbole.Click
+ hClickButton( FormelSymbole )
kontext "SymboleMath"
- if (SymboleMath.exists <> TRUE) then
- warnlog "Symbols Dialog didn't came up :-("
- else
+ if ( SymboleMath.exists( 1 ) ) then
'/// close dialog 'Symbols' ///'
- SymboleMath.close
+ hCloseDialog( SymboleMath, "close" )
+ else
+ warnlog( "Dialog <SymboleMath> did not open" )
endif
kontext "Toolbar"
'/// click 'Formula Cursor' ///'
- FormulaCursor.Click
+ hClickButton( FormulaCursor )
'/// close application ///'
Call hCloseDocument
endcase