summaryrefslogtreecommitdiff
path: root/testautomation/math
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-10-26 13:28:03 +0200
committerVladimir Glazunov <vg@openoffice.org>2010-10-26 13:28:03 +0200
commite7ef6d4dceb7e8e0c1d492d8c01296f6d88d5215 (patch)
tree3540d786d63e00e9755122a324140cd508f99705 /testautomation/math
parent15c93af5a0740ad15be57aefef659de243c9be2f (diff)
parentad312005bd3480e78f82824a95589e0673c56d93 (diff)
CWS-TOOLING: integrate CWS automationdev300m87
Notes
Notes: split repo tag: testing_ooo/DEV300_m91
Diffstat (limited to 'testautomation/math')
-rw-r--r--testautomation/math/optional/includes/m_101_.inc27
1 files changed, 2 insertions, 25 deletions
diff --git a/testautomation/math/optional/includes/m_101_.inc b/testautomation/math/optional/includes/m_101_.inc
index 989857403546..58582452dc63 100644
--- a/testautomation/math/optional/includes/m_101_.inc
+++ b/testautomation/math/optional/includes/m_101_.inc
@@ -302,7 +302,7 @@ function TBOloadFormulaFromFile () as string
'///+ take formula out of command window ///
'///+ save it into a variable ///
'/// close dokument ///
- Call hFileOpen ( ConvertPath(gTesttoolPath + "math/optional/input/101_1.sxm") )
+ Call hFileOpenLocally ( ConvertPath(gTesttoolPath + "math/optional/input/101_1.sxm") )
kontext "dokumentwriter"
try
EditSelectAllMath
@@ -344,8 +344,7 @@ testcase tFilePrint
goto endsub
endif
- Call hFileOpen ( ConvertPath(gTesttoolPath + "math/optional/input/101_2.sxw") )
- TBOmakeWriteable()
+ Call hFileOpenLocally ( ConvertPath(gTesttoolPath + "math/optional/input/101_2.sxw") )
'/// find the translated formula in the document and get the language it belongs to ///'
'///+ compare it to the officelanguage ///'
@@ -581,28 +580,6 @@ testcase tFilePrint
endcase
-function TBOmakeWriteable()
- ' check if writeable! (especially for HTML Doks!!)
- sleep (3)
- try
- UseBindings
- FormatStyleBold
- sleep 2
- FormatStyleBold
- catch
- '/// make document writeable :-)///'
- kontext "Funktionsleiste"
- printlog "ReadOnly, changed it to writeable."
- Bearbeiten.click
- kontext
- if active.exists (5) then
- Printlog " active, accessrights ?!: '"+active.GetText+"'"
- active.yes
- endif
- endcatch
- sleep (3)
-end function
-
function isCheckedWarnAlienFormat (optional bChange as boolean)
dim uno
dim ap