Hi,Helge 

    Thank you for your answer.It has worked without warning again.
As known,you are a expert in Automation .Therefor,I want to ask
you to give our team some suggestion on working and learning on 
TestTool.So far,I learn and use the TestTool by reading the PDF 
document which download from OOo community,beside,analyse the 
scripts and single step run them. Could you give us some advise on how
to start TestTool  if there is a newcomer?

    By the way,you can call me Hong  ;-)

Regards
Hong



Zhang Hong
Beijing Redflag Chinese 2000 Software CO.,LTD
Email:[EMAIL PROTECTED]
2007-12-03



发件人: Helge Delfs
发送时间: 2007-12-03 15:16:41
收件人: [email protected]
抄送: 
主题: Re: [qa-dev] question about automation

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