summaryrefslogtreecommitdiff
path: root/testautomation/framework/required/includes/basic_organizer.inc
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-04-15 14:39:42 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-04-15 14:39:42 +0200
commit11b259b2ca49d7929d4fbb4f092180dc1077403f (patch)
treeee87131c6580f967fef36921e71f7757d9b62b95 /testautomation/framework/required/includes/basic_organizer.inc
parenta7318af41893e773032907982f7cee3565457415 (diff)
vitomation01: #i109562 - Restructured test, code cleanup
Diffstat (limited to 'testautomation/framework/required/includes/basic_organizer.inc')
-rwxr-xr-xtestautomation/framework/required/includes/basic_organizer.inc14
1 files changed, 6 insertions, 8 deletions
diff --git a/testautomation/framework/required/includes/basic_organizer.inc b/testautomation/framework/required/includes/basic_organizer.inc
index eb33d3a554e3..789d870cb9a6 100755
--- a/testautomation/framework/required/includes/basic_organizer.inc
+++ b/testautomation/framework/required/includes/basic_organizer.inc
@@ -35,7 +35,6 @@ testcase tUpdtBasicOrganizer
printlog( "Update test for the Basic Organizer dialog" )
- dim brc as boolean
dim cTempString as string
const TESTLIB = "zzzz"
@@ -48,7 +47,7 @@ testcase tUpdtBasicOrganizer
kontext "Makro"
if ( not makro.exists() ) then
warnlog( "Macro Organizer is not open, aborting test" )
- brc = hDestroyDocument()
+ hDestroyDocument()
goto endsub
else
printlog( "Successfully opened the MacroOrganizer" )
@@ -68,7 +67,7 @@ testcase tUpdtBasicOrganizer
printlog( "TabModule is not open, the test cannot continue" )
kontext "Makro"
Makro.cancel()
- brc = hDestroyDocument()
+ hDestroyDocument()
goto endsub
endif
@@ -125,7 +124,7 @@ testcase tUpdtBasicOrganizer
Neu.click()
kontext "NeueBibliothek"
call DialogTest( NeueBibliothek )
- Bibliotheksname.setText( "zzzz" )
+ Bibliotheksname.setText( TESTLIB )
NeueBibliothek.ok()
else
warnlog( "There is a problem accessing the New Libraries dialog" )
@@ -138,7 +137,7 @@ testcase tUpdtBasicOrganizer
Neu.click()
kontext "NeueBibliothek"
call DialogTest( NeueBibliothek )
- Bibliotheksname.setText( "zzzz" )
+ Bibliotheksname.setText( TESTLIB )
NeueBibliothek.ok()
else
warnlog( "There is a problem accessing the New Libraries dialog" )
@@ -192,7 +191,7 @@ testcase tUpdtBasicOrganizer
printlog( "Try to delete the library" )
cTempString = BibliotheksListe.getSelText()
- if ( cTempString = "zzzz" ) then
+ if ( cTempString = TESTLIB ) then
printlog( "Delete" )
Loeschen.click()
Kontext "Active"
@@ -223,8 +222,7 @@ testcase tUpdtBasicOrganizer
Makro.cancel()
printlog( "Close the document" )
- brc = hDestroyDocument()
-
+ hDestroyDocument()
endcase