Hi Heleg

Thank you:-)
And, there is another question about scripts. when I run 
qatesttool\framework\topten.bas, a warning as following:
Warning: Filtername differs from reference; 'WRITER' Version: 8 expected: 
'OpenDocument 文本 (.odt)'; found: 'ODF 文本文档 (.odt)'

 in the dialog "Save", Filtername is 'ODF 文本文档 (.odt)', but the expected name 
is : 'OpenDocument 文本 (.odt)'; 
Is the warning a bug? or  the expected result in script is wrong?

Thank you!

Best Regard
Hong






Zhang Hong
Beijing Redflag Chinese 2000 Software CO.,LTD
Email:[EMAIL PROTECTED]
2008-01-18



发件人: Helge Delfs
发送时间: 2008-01-18 15:04:03
收件人: [email protected]
抄送: 
主题: Re: [qa-dev] [Automation]warning in testtool

Hi Hong,

a similar problem has already been reported yesterday by Zhu Lihua.
See issue i85323 for details. Meanwhile these problems have been fixed
by Joerg Sievers. Please update your files from CVS to assure you have
the updated files. Re-ran your tests then.


--
Best Regards
 Helge



zhang Hong wrote:
> Hi Helge, all, 
> 
> We are testing OOo2.4(680m241), it's Localization27 test in TCM.
> 
> When we run script c_updt.bas in qatesttool\calc\update on Window XP system, 
> there are someting wrong with the testcase "tEditObjectSaveCopyAs" in 
> qatesttool\calc\update\inc\C_002_.inc, when we run it by testtool, it always 
> gives warning at line of 1140,
> the warning is :
> "Warning: Saving a copy of the OLE failed! ",the following are the scripts:
> 
> try
>         EditObjectSaveCopyAsCalc
>         sleep(2)
>         Kontext "SpeichernDlg"
>         '/// Enter as file name for writer OLE
>         '///+  <i >gOfficePath </i >/user/work/tEditObjectSaveCopyAs.odt
>         Dateiname.setText(sOLEFile)
>         '/// Click save button
>         Speichern.click   
>         if Dir(sOLEFile) = "" then
>             warnlog "Saving a copy of the OLE failed!"        
> ---------------------------------(line 1140)
>         else
>             printlog "Saving a copy of the OLE was successful."
>         endif
>     catch        
>         warnlog "#i79778 - OLE activation fails"                
>     endcatch   
> 
> 
> but I run the script by single step(F10), it works correctly. Could anyone 
> tell me why? May be there need to add "sleep(3)" to 
> wait seconds.
> 
> Best Regard
> Zhang Hong
> 
> 
> 
> Zhang Hong
> Beijing Redflag Chinese 2000 Software CO.,LTD
> Email:[EMAIL PROTECTED]
> 2008-01-18
> 


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

Reply via email to