Hi,
I assume that the Warning message is right, so I tried to remove the "not" in
the if clause.
It works quite well.
So I think the script should be:
if ( gUseSysDlg ) then
...
How do you think about it?
Thank you!
Best regards,
Lihua
2008-08-19
发件人: Zhu Lihua
发送时间: 2008-08-19 14:46:58
收件人: [EMAIL PROTECTED]
抄送:
主题: [qa-dev] [automation]tInFilterCountCompare & tQuickInsertGraphNotAsLink
doesn't work.
Hi all,
When I run testcase tInFilterCountCompare in f_first.bas, testtool always shows
a warning:
Warning: This test needs the OpenOffice.org filepicker to be set as default
The script is:
if ( not gUseSysDlg ) then
warnlog( "This test needs the OpenOffice.org filepicker to be set as
default" )
goto endsub
endif
...
Because the message is shown, So this means gUseSysDlg is False, that is to say
"use internal file-dialogs of StarOffice". In my mind, the OOo filepicker is
set as default right now.
But the message "This test needs the OpenOffice.org filepicker to be set as
default" tells me I havn't set OOofilepicker as default.
Check the Options, I found the "Use OpenOffice.org dialogs" checkbox was
checked.
Puzzled.
After the warning message, there's a " goto endsub", so the testcase can't be
run.
So I think either the condition or the warning message is wrong. Could anyone
please have a look?
Testcase tQuickInsertGraphNotAsLink has the same problem.
Thank you very much!
Best regards,
Lihua
2008-08-19