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

Reply via email to