Kaydet (Commit) 36979f1c authored tarafından Release Engineering's avatar Release Engineering

merged DEV300

...@@ -346,7 +346,8 @@ testcase tWriterUIChangesTest7 ...@@ -346,7 +346,8 @@ testcase tWriterUIChangesTest7
Kontext "RubyDialog" Kontext "RubyDialog"
DialogClose.Click DialogClose.Click
Sleep 2 Sleep 2
QAErrorlog "#i40913# Something wrong in menu format/Ruby when Asian Language support is off" '#i40913#
warnlog "Something wrong in menu format/Ruby when Asian Language support is off"
catch catch
endcatch endcatch
end if end if
...@@ -398,25 +399,29 @@ testcase tWriterUIChangesTest8 ...@@ -398,25 +399,29 @@ testcase tWriterUIChangesTest8
try try
FormatChangeCaseHalfWidth FormatChangeCaseHalfWidth
QAErrorlog "#i43434# Something wrong in submenu format/change case -> Half width when Asian Language support is off" '#i43434#
warnlog "Something wrong in submenu format/change case -> Half width when Asian Language support is off"
catch catch
endcatch endcatch
try try
FormatChangeCaseFullWidth FormatChangeCaseFullWidth
QAErrorlog "#i43434# Something wrong in submenu format/change case -> Full width when Asian Language support is off" '#i43434#
warnlog "Something wrong in submenu format/change case -> Full width when Asian Language support is off"
catch catch
endcatch endcatch
try try
FormatChangeCaseHiragana FormatChangeCaseHiragana
QAErrorlog "#i43434# Something wrong in submenu format/change case -> Hiragana when Asian Language support is off" '#i43434#
warnlog "Something wrong in submenu format/change case -> Hiragana when Asian Language support is off"
catch catch
endcatch endcatch
try try
FormatChangeCaseKatagana FormatChangeCaseKatagana
QAErrorlog "#i43434# Something wrong in submenu format/change case -> Katagana when Asian Language support is off" '#i43434#
warnlog "Something wrong in submenu format/change case -> Katagana when Asian Language support is off"
catch catch
endcatch endcatch
end if end if
...@@ -740,4 +745,4 @@ function hSystemHasAsianLocale() as boolean ...@@ -740,4 +745,4 @@ function hSystemHasAsianLocale() as boolean
case else : hSystemHasAsianLocale() = false case else : hSystemHasAsianLocale() = false
end select end select
end function end function
\ No newline at end of file
...@@ -44,7 +44,8 @@ sub sToolsCustomizeKeyboardFunction ...@@ -44,7 +44,8 @@ sub sToolsCustomizeKeyboardFunction
for i = 0 to a for i = 0 to a
if ( i = 7 and gtSysName = "Solaris x86" ) then if ( i = 7 and gtSysName = "Solaris x86" ) then
qaerrorlog( "#i62423# Solaris: Crash when opening new database" ) '#i62423#
warnlog( "Solaris: Crash when opening new database" )
else else
gApplication = aApplication(i) gApplication = aApplication(i)
tToolsCustomizeKeyboardFunction(lList()) tToolsCustomizeKeyboardFunction(lList())
...@@ -87,6 +88,7 @@ testcase tToolsCustomizeKeyboardFunction(lList()) ...@@ -87,6 +88,7 @@ testcase tToolsCustomizeKeyboardFunction(lList())
dim i92080 as string dim i92080 as string
dim i96322 as string dim i96322 as string
dim i100037 as string dim i100037 as string
dim i115370 as string
i60617 = ".uno:ContinueNumbering" i60617 = ".uno:ContinueNumbering"
i43969 = ".uno:MacroOrganizer" i43969 = ".uno:MacroOrganizer"
...@@ -94,12 +96,13 @@ testcase tToolsCustomizeKeyboardFunction(lList()) ...@@ -94,12 +96,13 @@ testcase tToolsCustomizeKeyboardFunction(lList())
i80850 = ".uno:ToggleFormula.uno:AssignMacro" i80850 = ".uno:ToggleFormula.uno:AssignMacro"
i84982 = ".uno:FontDialogForParagraph" i84982 = ".uno:FontDialogForParagraph"
i84983 = ".uno:DBNewReportWithPreSelection" i84983 = ".uno:DBNewReportWithPreSelection"
i87950 = ".uno:DBMigrateScripts" i87950 = ".uno:DBMigrateScripts"
i87951 = ".uno:DeleteAllNotes.uno:DeleteAuthor.uno:DeleteNote.uno:HideAllNotes.uno:HideAuthor.uno:HideNote" i87951 = ".uno:DeleteAllNotes.uno:DeleteAuthor.uno:DeleteNote.uno:HideAllNotes.uno:HideAuthor.uno:HideNote"
i87952 = ".uno:InsertApplet" i87952 = ".uno:InsertApplet"
i92080 = ".uno:SaveGraphic" i92080 = ".uno:SaveGraphic"
i96322 = ".uno:ActivateStyleApply" i96322 = ".uno:ActivateStyleApply"
i100037 = ".uno:AcceptTracedChange, .uno:DeleteComment, .uno:RejectTracedChange, .uno:ReplyNote, .uno:TaskPaneInsertPage, .uno:ValidityReference" i100037 = ".uno:AcceptTracedChange, .uno:DeleteComment, .uno:RejectTracedChange, .uno:ReplyNote, .uno:TaskPaneInsertPage, .uno:ValidityReference"
i115370 = ".uno:TaskPaneInsertPage"
Call hNewDocument Call hNewDocument
sleep 2 sleep 2
...@@ -130,53 +133,8 @@ testcase tToolsCustomizeKeyboardFunction(lList()) ...@@ -130,53 +133,8 @@ testcase tToolsCustomizeKeyboardFunction(lList())
if (((mid(sTemp2,d+1,1)<>" ")AND(abs(asc(mid(sTemp2,d+1,1)))<128)) AND (abs(asc(mid(sTemp2,d-1,1)))<128))then if (((mid(sTemp2,d+1,1)<>" ")AND(abs(asc(mid(sTemp2,d+1,1)))<128)) AND (abs(asc(mid(sTemp2,d-1,1)))<128))then
listAppend(lList(),sTemp2) listAppend(lList(),sTemp2)
bErrorFound = false bErrorFound = false
if (inStr(i60617,sTemp2)>0) then if (inStr(i115370,sTemp2)>0) then
WarnLog "#i60617# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'" qaerrorlog "#i115370# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(sTemp2,i64346)>0) then
WarnLog "#i64346# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i43969,sTemp2)>0) then
WarnLog "#i41265# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i80850,sTemp2)>0) then
WarnLog "#i80850# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i84982,sTemp2)>0) then
WarnLog "#i84982# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i84983,sTemp2)>0) then
WarnLog "#i84983# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i87950,sTemp2)>0) then
WarnLog "#i87950# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i87951,sTemp2)>0) then
WarnLog "#i87951# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i87952,sTemp2)>0) then
warnLog "#i87952# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i92080,sTemp2)>0) then
WarnLog "#i92080# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i96322,sTemp2)>0) then
WarnLog "#i96322# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true
endif
if (inStr(i100037,sTemp2)>0) then
WarnLog "#i100037# ("+c+"/"+a+"/"+b+"): Provide real Name for Function: '"+sTemp+"'::'"+sTemp2+"'"
bErrorFound = true bErrorFound = true
endif endif
if ( not bErrorFound ) then if ( not bErrorFound ) then
......
...@@ -176,7 +176,8 @@ testcase tLoadSaveGeneral ...@@ -176,7 +176,8 @@ testcase tLoadSaveGeneral
printlog( "Doctype: " & Dokumenttyp.getSelText() & " has filter: " & Filter.getSelText() ) printlog( "Doctype: " & Dokumenttyp.getSelText() & " has filter: " & Filter.getSelText() )
if Filter.GetSelIndex <> 3 then if Filter.GetSelIndex <> 3 then
warnlog( "#i79150# some options in Tools/Options->Load/Save->General are not saved" ) '#i79150#
warnlog( "Some options in Tools/Options->Load/Save->General are not saved" )
endif endif
next i next i
......
...@@ -40,8 +40,8 @@ testcase tOOoColors ...@@ -40,8 +40,8 @@ testcase tOOoColors
dim currentColor(4) as String dim currentColor(4) as String
dim chColor(4) as String dim chColor(4) as String
const DEFAULT_COLOR_COUNT = 99 const DEFAULT_COLOR_COUNT = 100
const CHANGED_COLOR_COUNT = 100 const CHANGED_COLOR_COUNT = DEFAULT_COLOR_COUNT +1
const USER_COLOR = "TT-Test-Color" const USER_COLOR = "TT-Test-Color"
myColor(1) = USER_COLOR myColor(1) = USER_COLOR
...@@ -66,10 +66,8 @@ testcase tOOoColors ...@@ -66,10 +66,8 @@ testcase tOOoColors
printlog( "Check the number of currently registered colors - cancel test on error" ) printlog( "Check the number of currently registered colors - cancel test on error" )
Kontext "TabFarben" Kontext "TabFarben"
if ( Farbe.GetItemCount() <> DEFAULT_COLOR_COUNT ) then if ( Farbe.GetItemCount() <> DEFAULT_COLOR_COUNT ) then
warnlog( "The number of colors has changed, stopping test" ) warnlog "The number of colors has changed, stopping test; Expected: " & DEFAULT_COLOR_COUNT & "; Found...: " & Farbe.getItemCount()
printlog( "Expected: " & DEFAULT_COLOR_COUNT ) printlog "Close the Tools/Options dialog with OK"
printlog( "Found...: " & Farbe.getItemCount() )
printlog( "Close the Tools/Options dialog with OK" )
Kontext "ExtrasOptionenDlg" Kontext "ExtrasOptionenDlg"
ExtrasOptionenDlg.OK ExtrasOptionenDlg.OK
WaitSlot( 2000 ) WaitSlot( 2000 )
......
...@@ -85,7 +85,8 @@ testcase tOOoGeneral ...@@ -85,7 +85,8 @@ testcase tOOoGeneral
hToolsOptions ( "StarOffice", "General" ) hToolsOptions ( "StarOffice", "General" )
if Zweistellig.GetText <> "1950" then if Zweistellig.GetText <> "1950" then
Warnlog "#i29810# - Year ( 2 digits ) => changes not saved: " + Zweistellig.GetText '#i29810#
Warnlog "Year ( 2 digits ) => changes not saved: " + Zweistellig.GetText
endif endif
if not Aktivieren.IsChecked then if not Aktivieren.IsChecked then
...@@ -116,7 +117,8 @@ testcase tOOoGeneral ...@@ -116,7 +117,8 @@ testcase tOOoGeneral
hToolsOptions ( "StarOffice", "General" ) hToolsOptions ( "StarOffice", "General" )
if ( Zweistellig.GetText <> "1800" ) then if ( Zweistellig.GetText <> "1800" ) then
Warnlog( "#i29810# - Year ( 2 digits ) => changes not saved : " & Zweistellig.GetText() ) '#i29810#
Warnlog( "Year ( 2 digits ) => changes not saved : " & Zweistellig.GetText() )
endif endif
If DruckenStatus.IsChecked then If DruckenStatus.IsChecked then
......
...@@ -172,7 +172,8 @@ testcase tPrintGeneral() ...@@ -172,7 +172,8 @@ testcase tPrintGeneral()
else else
warnlog( "Pages setting disabled" ) warnlog( "Pages setting disabled" )
endif endif
cb_test( PrintReverse, false, "" )
'Selection.check() 'Selection.check()
'AllPages.check() 'AllPages.check()
...@@ -485,7 +486,6 @@ testcase tPrintOptions() ...@@ -485,7 +486,6 @@ testcase tPrintOptions()
printlog( "Controls common for all applications" ) printlog( "Controls common for all applications" )
cb_test( PrintToFile, false, "" ) cb_test( PrintToFile, false, "" )
cb_test( PrintAsSingleJobs, false, "" ) cb_test( PrintAsSingleJobs, false, "" )
cb_test( PrintReverse, false, "" )
printlog( "Application specific controls" ) printlog( "Application specific controls" )
select case( gApplication ) select case( gApplication )
......
...@@ -115,17 +115,33 @@ sub GetIniInformation ...@@ -115,17 +115,33 @@ sub GetIniInformation
end if end if
'-------- '--------
call GetTheInstallationType ' gNetzInst and gNetzOfficePath will be set if StarOffice is a Network-Installation call GetTheInstallationType ' gNetzInst and gNetzOfficePath will be set if StarOffice is a Network-Installation
gOfficeBasisPath = getOfficeBasisPath() gOfficeBasisPath = getOfficeBasisPath()
gOOoStartupTimeOut = fgetOOoStartupTimeOut() gOOoStartupTimeOut = fgetOOoStartupTimeOut()
gOOoShutdownTimeOut = fgetOOoShutdownTimeOut() gOOoShutdownTimeOut = fgetOOoShutdownTimeOut()
call sCheckValgrindStatus() call sCheckValgrindStatus()
' set a global path for custom scripts, like basepath, but outside of current environment ' set a global path for custom scripts outside of current environment
gPrivateEnvironmentLocation = getIniValue(gTesttoolIni, "PrivateEnvironment", "Current") gPrivateEnvironmentLocation = getIniValue(gTesttoolIni, "PrivateEnvironment", "Current")
if (gPrivateEnvironmentLocation <> "" AND gPrivateEnvironmentLocation <> ".") then if (gPrivateEnvironmentLocation <> "" AND gPrivateEnvironmentLocation <> ".") then
if NOT fileExists(gPrivateEnvironmentLocation) then ' check if the gPrivateEnvironmentLocation path exists
qaErrorLog "[PrivateEnvironment] defined in: '"+gTesttoolIni+"', but the path '"+gPrivateEnvironmentLocation+"'does not exist!" if fileExists(gPrivateEnvironmentLocation) then
gPrivateEnvironmentLocation = "" ' check if the path ends with a path sign and add the path sign if not
if (Right(gPrivateEnvironmentLocation,1) <> gPathSigne) then
gPrivateEnvironmentLocation = gPrivateEnvironmentLocation & gPathSigne
endif
else
' check if the gTesttoolPath plus the gPrivateEnvironmentLocation path exists
' f.e. this is for a relative path
if fileExists(gTesttoolPath & gPrivateEnvironmentLocation) then
gPrivateEnvironmentLocation = gTesttoolPath & gPrivateEnvironmentLocation
' check if the path ends with a path sign and add the path sign if not
if (Right(gPrivateEnvironmentLocation,1) <> gPathSigne) then
gPrivateEnvironmentLocation = gPrivateEnvironmentLocation & gPathSigne
endif
else
qaErrorLog "[PrivateEnvironment] defined in: '" & gTesttoolIni & "', but the path '" & gPrivateEnvironmentLocation & "'does not exist!"
gPrivateEnvironmentLocation = ""
endif
end if end if
else else
gPrivateEnvironmentLocation = "" gPrivateEnvironmentLocation = ""
......
...@@ -264,6 +264,7 @@ Synchronisieren sym:sw:PushButton:DLG_SYNC_BTN:BTN_SYNC ...@@ -264,6 +264,7 @@ Synchronisieren sym:sw:PushButton:DLG_SYNC_BTN:BTN_SYNC
Zeichensatzliste sym:sc:ListBox:RID_SCDLG_IMPORTOPT:LB_FONT Zeichensatzliste sym:sc:ListBox:RID_SCDLG_IMPORTOPT:LB_FONT
Feldtrenner sym:sc:ComboBox:RID_SCDLG_IMPORTOPT:ED_FIELDSEP Feldtrenner sym:sc:ComboBox:RID_SCDLG_IMPORTOPT:ED_FIELDSEP
Texttrenner sym:sc:ComboBox:RID_SCDLG_IMPORTOPT:ED_TEXTSEP Texttrenner sym:sc:ComboBox:RID_SCDLG_IMPORTOPT:ED_TEXTSEP
QuoteAll sym:sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_QUOTEALL
Zeichensatz sym:sc:ListBox:RID_SCDLG_IMPORTOPT:DDLB_FONT Zeichensatz sym:sc:ListBox:RID_SCDLG_IMPORTOPT:DDLB_FONT
FixedWidth sym:sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_FIXEDWIDTH FixedWidth sym:sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_FIXEDWIDTH
SaveAsShown sym:sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_SAVESHOWN SaveAsShown sym:sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_SAVESHOWN
......
...@@ -150,6 +150,7 @@ PageCount .HelpID:vcl:PrintDialog:NumPagesText ...@@ -150,6 +150,7 @@ PageCount .HelpID:vcl:PrintDialog:NumPagesText
PartsToPrint .HelpID:vcl:PrintDialog:PageContentType:ListBox PartsToPrint .HelpID:vcl:PrintDialog:PageContentType:ListBox
SlidesPerPage .HelpID:vcl:PrintDialog:SlidesPerPage:ListBox SlidesPerPage .HelpID:vcl:PrintDialog:SlidesPerPage:ListBox
ArrangeSlides .HelpID:vcl:PrintDialog:SlidesPerPageOrder:ListBox ArrangeSlides .HelpID:vcl:PrintDialog:SlidesPerPageOrder:ListBox
PrintReverse .HelpID:vcl:PrintDialog:OptPage:ToReverse
*TabApplication .HelpID:vcl:PrintDialog:TabPage:AppPage *TabApplication .HelpID:vcl:PrintDialog:TabPage:AppPage
PrintPageBackground .HelpID:vcl:PrintDialog:PrintPageBackground:CheckBox PrintPageBackground .HelpID:vcl:PrintDialog:PrintPageBackground:CheckBox
...@@ -197,7 +198,6 @@ BrochurePageSides .HelpID:vcl:PrintDialog:PrintProspectInclude:ListBox ...@@ -197,7 +198,6 @@ BrochurePageSides .HelpID:vcl:PrintDialog:PrintProspectInclude:ListBox
*TabOptions .HelpID:vcl:PrintDialog:OptPage *TabOptions .HelpID:vcl:PrintDialog:OptPage
PrintToFile .HelpID:vcl:PrintDialog:OptPage:ToFile PrintToFile .HelpID:vcl:PrintDialog:OptPage:ToFile
PrintAsSingleJobs .HelpID:vcl:PrintDialog:OptPage:SingleJobs PrintAsSingleJobs .HelpID:vcl:PrintDialog:OptPage:SingleJobs
PrintReverse .HelpID:vcl:PrintDialog:OptPage:ToReverse
PaperTrayFromPrefs .HelpID:vcl:PrintDialog:PrintPaperFromSetup:CheckBox PaperTrayFromPrefs .HelpID:vcl:PrintDialog:PrintPaperFromSetup:CheckBox
*PurchaseStarOffice sym:TAB_HID_LICENSING_DIALOG *PurchaseStarOffice sym:TAB_HID_LICENSING_DIALOG
......
...@@ -280,7 +280,8 @@ testcase tFilePassword ...@@ -280,7 +280,8 @@ testcase tFilePassword
if Passwort.isEnabled then if Passwort.isEnabled then
if NOT((instr(sTemp,gMathFilter) = 1)OR(instr(sTemp," (.sxm)") > 1)) then if NOT((instr(sTemp,gMathFilter) = 1)OR(instr(sTemp," (.sxm)") > 1)) then
if (4=i) then if (4=i) then
warnlog "#i112895# (" + i + "/" + x +"): '"+sTemp+"' Password Checkbox: Enabled" '#i112895#
warnlog "(" + i + "/" + x +"): '"+sTemp+"' Password Checkbox: Enabled"
else else
warnlog "(" + i + "/" + x +"): '"+sTemp+"' Password Checkbox: Enabled" warnlog "(" + i + "/" + x +"): '"+sTemp+"' Password Checkbox: Enabled"
endif endif
......
...@@ -408,7 +408,8 @@ testcase tToolsCatalog ...@@ -408,7 +408,8 @@ testcase tToolsCatalog
SymboleMath.close SymboleMath.close
catch catch
if ((2=i)AND(11=j))then if ((2=i)AND(11=j))then
warnlog "#i42011# Expected: Timeout on closing Tools->Catalog with this character. (" + i + "/" + iSymbolSets + ")(" + j + "/" + x(i) + ")" '#i42011#
warnlog "Expected: Timeout on closing Tools->Catalog with this character. (" + i + "/" + iSymbolSets + ")(" + j + "/" + x(i) + ")"
else else
warnlog "Not Expected! Timeout on closing Tools->Catalog with this character. (" + i + "/" + iSymbolSets + ")(" + j + "/" + x(i) + ")" warnlog "Not Expected! Timeout on closing Tools->Catalog with this character. (" + i + "/" + iSymbolSets + ")(" + j + "/" + x(i) + ")"
endif endif
...@@ -452,8 +453,8 @@ testcase tToolsCatalog ...@@ -452,8 +453,8 @@ testcase tToolsCatalog
next j next j
next i next i
if (listCount(lAllSymbols()) <> 106) then if (listCount(lAllSymbols()) <> 108) then
warnlog "There have to be 106 Symbols, but there are: " + listCount(lAllSymbols()) warnlog "There have to be 108 Symbols, but there are: " + listCount(lAllSymbols())
endif endif
' TODO: check sAllSymbols for not allowed characters! ' TODO: check sAllSymbols for not allowed characters!
listCopy(lAllSymbols(),lAllSymbolsSort()) listCopy(lAllSymbols(),lAllSymbolsSort())
...@@ -570,7 +571,8 @@ testcase tToolsCatalogNew ...@@ -570,7 +571,8 @@ testcase tToolsCatalogNew
try try
SymbolSet.select "TBOnewSymbolSet" SymbolSet.select "TBOnewSymbolSet"
catch catch
qaerrorlog "#i64504# Symbol set name is not saved on exiting OOo" 'i64504
qaerrorlog "Symbol set name is not saved on exiting OOo"
SymbolSet.select "" SymbolSet.select ""
endcatch endcatch
SymbolSet.setText "TBOnewSymbolSet" SymbolSet.setText "TBOnewSymbolSet"
......
...@@ -205,7 +205,8 @@ testcase tmFilePassword ...@@ -205,7 +205,8 @@ testcase tmFilePassword
if ( SpeichernDlg.exists( 2 ) ) then if ( SpeichernDlg.exists( 2 ) ) then
Dateiname.SetText Datei$ Dateiname.SetText Datei$
if (Passwort.IsChecked <> TRUE) then if (Passwort.IsChecked <> TRUE) then
Warnlog "#i36015# Password has to be checked! :-(" '#i36015#
Warnlog "Password has to be checked! :-("
Passwort.Check Passwort.Check
printlog "will be forced checked no!" printlog "will be forced checked no!"
endif endif
...@@ -255,7 +256,8 @@ testcase tmFilePassword ...@@ -255,7 +256,8 @@ testcase tmFilePassword
Kontext "SpeichernDlg" Kontext "SpeichernDlg"
Dateiname.SetText Datei$ Dateiname.SetText Datei$
if (Passwort.IsChecked <> TRUE) then if (Passwort.IsChecked <> TRUE) then
Warnlog "#i36015# Password has to be checked! :-(" '#i36015#
Warnlog "Password has to be checked! :-("
Passwort.Check Passwort.Check
printlog "will be forced checked no!" printlog "will be forced checked no!"
endif endif
......
...@@ -298,7 +298,8 @@ testcase tToolsExtensionManager ...@@ -298,7 +298,8 @@ testcase tToolsExtensionManager
ExtensionSoftwareLicenseAgreement.CANCEL ExtensionSoftwareLicenseAgreement.CANCEL
kontext kontext
if active.exists(5) then if active.exists(5) then
qaerrorlog "#i73307# Alzheimer feature extension licensing '" + active.getText + "'" '#i73307#
warnlog "Alzheimer feature extension licensing '" + active.getText + "'"
active.ok active.ok
endif endif
endif endif
......
...@@ -121,7 +121,8 @@ testcase tmHelpContents ...@@ -121,7 +121,8 @@ testcase tmHelpContents
Printlog "HelpAbout: '" + HelpAbout.GetItemCount +"'" Printlog "HelpAbout: '" + HelpAbout.GetItemCount +"'"
catch catch
Index.Click Index.Click
qaErrorLog "#i55563# Used Index Button" '#i55563#
warnlog "Used Index Button"
Printlog "HelpAbout: '" + HelpAbout.GetItemCount +"'" Printlog "HelpAbout: '" + HelpAbout.GetItemCount +"'"
endcatch endcatch
try try
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
' #1 tFileRecentDocuments ' #1 tFileRecentDocuments
' #1 tFileClose ' #1 tFileClose
' #1 tFileSave ' #1 tFileSave
' #1 tFileSaveAsCSV
' #1 tFileSaveAsDBF ' #1 tFileSaveAsDBF
' #1 tFileVersions ' #1 tFileVersions
' #1 tFilePagePreview ' #1 tFilePagePreview
...@@ -59,6 +60,7 @@ sub c_upd_filemenu ...@@ -59,6 +60,7 @@ sub c_upd_filemenu
Call tFileRecentDocuments Call tFileRecentDocuments
Call tFileClose Call tFileClose
Call tFileSave Call tFileSave
Call tFileSaveAsCSV
Call tFileSaveAsDBF Call tFileSaveAsDBF
Call tFileVersions Call tFileVersions
Call tFilePagePreview Call tFilePagePreview
...@@ -547,6 +549,68 @@ endcase ...@@ -547,6 +549,68 @@ endcase
'----------------------------------------------------------- '-----------------------------------------------------------
testcase tFileSaveAsCSV
Dim UIFilter as string
Dim bStatus as boolean
Printlog " Open new Spreadsheet document"
Call hNewDocument
Printlog " Fill two cells (10, Test)"
Kontext "DocumentCalc"
DocumentCalc.Typekeys "10 <TAB> Test <RETURN>"
Printlog " Open 'SaveAs' dialog"
FileSaveAs
Kontext "SpeichernDlg"
Printlog " Enter filename 'csv-Test_update'"
DateiName.SetText "csv-Test_update"
Printlog " Choose file typ CSV"
UIFilter = hGetUIFiltername ( "Text - txt - csv (StarCalc)" )
bStatus = hSelectUIFilter ( UIFilter )
if ( not bStatus ) then
warnlog "Filter not found"
SpeichernDlg.Cancel
Call hCloseDocument
goto endsub
end if
Printlog " Click on Save button"
Speichern.click
Printlog " Commit overwrite warning if file already exists"
Kontext
if Active.exists(2) then
Active.Yes
end if
Printlog " Check alien file format warning"
Kontext "AlienWarning"
if AlienWarning.exists(2) then
Printlog " Commit if exists"
AlienWarning.OK
else
warnlog "Alien file format warning is missing -> Check this out!"
end if
Printlog " Check existence of export encoding dialog"
Kontext "ExportCalc"
Call DialogTest (ExportCalc)
printlog " Verify that Quote All is disabled by default"
if QuoteAll.IsChecked then
warnlog " Option Quote All is checked but shouldn't"
end if
Printlog " Accept dialog by OK"
ExportCalc.OK
Kontext
if Active.exists(2) then
Printlog Active.GetText
Active.OK
else
warnlog " Messagebox that only the current sheet is saved is missing"
end if
Printlog " Close document"
Call hCloseDocument
endcase
'-----------------------------------------------------------
testcase tFileSaveAsDBF testcase tFileSaveAsDBF
Dim UIFilter as string Dim UIFilter as string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment