Issue 87290 - StarDesktop.CurrentComponent fails when executed by macro started by testtool
Summary: StarDesktop.CurrentComponent fails when executed by macro started by testtool
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 1.0.0
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 3.0
Assignee: gregor.hartmann
QA Contact: issues@framework
URL:
Keywords: aqua
Depends on:
Blocks:
 
Reported: 2008-03-20 14:52 UTC by b.osi.ooo
Modified: 2008-04-15 19:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description b.osi.ooo 2008-03-20 14:52:41 UTC
This is just for completeness of all issues;

When executing the test qa/qatesttool/framework/first/topten.bas
-> tSmokeTest, which loads the 10er-test document:
qa/qatesttool/framework/first/input/10erTest_680.sxw

The call to StarDesktop.CurrentComponent returns null,
if the start of the macro was triggered by testtool.
-> The macro stops execution.

If the macro is executed manually it works;
Comment 1 b.osi.ooo 2008-03-20 14:55:27 UTC
set target and keyword
Comment 2 b.osi.ooo 2008-04-15 19:05:37 UTC
fixed by raising application to most front on test start:
http://qa.openoffice.org/servlets/ReadMsg?list=cvs&msgNo=33968
Comment 3 b.osi.ooo 2008-04-15 19:12:54 UTC
closing