zhang Hong wrote:
> Hi all,
>
> Who can tell me some details about filters in Testtool?
> If I want to add RedOffice (our product) into the filterlist, are the
> following steps right?
>
> 1.Running "qa\qatesttool\global\tools\getnames.bas" based on RedOffice;
> 2.Adding ole_86.txt (created in first step) into the directory
> "\global\input\olenames\" + gProductName
> I think gProductName = RedOffice, But I don't know where and how to add
> "gProductName" in scripts?
Could be very difficult.
What you have written is right, but it might just be the first you need
to do.
As far as I've found myself, there is a file under global/system/inc/
called "iniinfo.inc".
In it you'll find the function "getSofficeNative".
This is one of the places where you'll find lines like these:
sOffice(iOfficeEntries) = "StarOffice" : inc (iOfficeEntries)
sOffice(iOfficeEntries) = "StarSuite" : inc (iOfficeEntries)
sOffice(iOfficeEntries) = "OpenOffice.org": inc (iOfficeEntries)
and adding the line
sOffice(iOfficeEntries) = "RedOffice" : inc (iOfficeEntries)
should get you a bit closer to your goal. But you will have to search
for "OpenOffice.org", "StarOffice" and "StarSuite" to see if you
find any more lines like that.
Best wishes
/ Fredrik
> Thank you very much!
>
> Best Regards
> Zhang Hong
>
>
>
>
> Zhang Hong
> Beijing Redflag Chinese 2000 Software CO.,LTD
> Email:[EMAIL PROTECTED]
> 2008-04-17
>
--
Sun Microsystems GmbH Fredrik Haegg
Nagelsweg 55 Software
20097 Hamburg Phone: +49 (0)40 23646 634
Germany Fax: +49 (0)40 23646 650
http://www.sun.de mailto:[EMAIL PROTECTED]
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]