summaryrefslogtreecommitdiff
path: root/testautomation/framework
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-05-10 16:48:21 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-05-10 16:48:21 +0200
commit4c22a58a9e05d33f90ff5dd13cbd705ace5f9f49 (patch)
tree11a6d39102488060f6ea348342427b34b5607abd /testautomation/framework
parent37ac8c597ec4682bac369810e7d8b0a98659fa6c (diff)
vitomation01: #i109562 - Remove blanks from reference file names as requested by RE
Diffstat (limited to 'testautomation/framework')
-rwxr-xr-xtestautomation/framework/optional/includes/help_compare_topics.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/testautomation/framework/optional/includes/help_compare_topics.inc b/testautomation/framework/optional/includes/help_compare_topics.inc
index 9ffd4386d1ca..feef650c64e9 100755
--- a/testautomation/framework/optional/includes/help_compare_topics.inc
+++ b/testautomation/framework/optional/includes/help_compare_topics.inc
@@ -46,7 +46,7 @@ testcase tCompareHelpTopics()
' handle this. If problems occur, this shuld be the first place to
' look.
- const MAX_ENTRIES = 50000
+ const MAX_ENTRIES = 25000
' variables related to filenames
dim sFileOut as string
@@ -59,6 +59,7 @@ testcase tCompareHelpTopics()
' some increment operators and temporary variables
dim iCurrentItem as integer
dim sCurrentItem as string
+ dim sProductName as string
dim iCurrentApp as integer
dim iAboutItems as integer
dim cAboutItem as string
@@ -66,7 +67,8 @@ testcase tCompareHelpTopics()
dim bNextItem as boolean
' define input and output paths, presetting variables
- sFileName = gProductName & "_help_topics_" & gIsoLang & ".txt"
+ sProductName = hStringReplaceChar( gProductName, " ", "_" )
+ sFileName = sProductName & "_help_topics_" & gIsoLang & ".txt"
sFileOut = hGetWorkFile( sFilename )
sFileIn = gTesttoolPath & "framework\optional\input\help_browser\"
sFileIn = convertpath( sFileIn & sFileName )