Hi Zjang Hong,

the best way would be....as you proposed to add RedOffice to sub
'GetDefaultFilternames'. Should look like this (Line 194):

select case gProductName
    case "StarOffice"     : cProductName = gProductName
    case "StarSuite"      : cProductName = gProductName
    case "OpenOffice.org" : cProductName = gProductName
    case "BrOffice.org"   : cProductName = gProductname
    case "RedOffice"      : cProductName = gProductname
    case else
        cProductName = "StarOffice"
        warnlog( CFN & "Unknown Office branding: " & _
                 gProductName & ": Using default" )
end select


--
Regards
 Helge


zhang Hong wrote:
> Hi,all
> 
>        I have a question about testtool.
> 
>        When I use the testtool to test our Company's product "RedOffice",It 
> always has the following warning:   Warning: GetDefaultFilternames()::Unknown 
> Office branding: RedOffice: Using default.
> Then doubleclick the warning ,it jumps to 
> "qa\qatesttool\global\tools\inc\t_filters.inc",sub "GetDefaultFilternames".
>       I think the main reason  is productname,because in the sub 
> "GetDefaultFilternames",it only contains
> "StarOffice","StarSuite","OpenOffice.org".  If my idea is right,who can tell 
> me how to add our product "RedOffice" into the productname?
> 
> 
> Best Regards
> Zhang Hong
> 
> 
> 
> Zhang Hong
> Beijing Redflag Chinese 2000 Software CO.,LTD
> Email:[EMAIL PROTECTED]
> 2007-11-30
> 

-- 
===============================================================
Sun Microsystems GmbH           Helge Delfs
Nagelsweg 55                    Quality Assurance Engineer
20097 Hamburg                   OOo Team Lead Automation
http://qa.openoffice.org        mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to