Issue 70901 - TestTool problems in BASIC IDE: DialogWindow.typeKeys and ControlPropertiesDialog
Summary: TestTool problems in BASIC IDE: DialogWindow.typeKeys and ControlPropertiesDi...
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2006-10-26 16:40 UTC by
Modified: 2017-05-20 10:55 UTC (History)
2 users (show)

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

TestTool test case (5.32 KB, text/plain)
2006-10-26 16:46 UTC,
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description 2006-10-26 16:40:57 UTC
There are currently two problems, that need workarounds, which also don't work

Attached is a TestTool script, which shows messageboxes with the errors;

1. The dialog window doesn't recieve .typeKeys
Tools->Macros->Organizen Dialogs-> Edit any dialog or create a new one
Issue: executing DialogWindow.typeKeys("<tab>") should select the dialog frame
as you would manually type the <tab> key
workaround is to use the mouse, but this also fails sometimes;
To make the tests reliable, a working typeKeys would solve it

2. ControlPropertiesDialog isn't visible to TestTool;
if you go on from 1.) and open the context menu, selecting 'properties'
The dialog 'Properties: Dialog' comes up; To check this by TestTool you would
ControlPropertiesDialog.exists - which fails as if the dialog isn't there;
workaround is to check for the tabpages exists.

Putting gh on cc, since he might give a hint on what's wrong here.
Comment 1 2006-10-26 16:46:01 UTC
Created attachment 40084 [details]
TestTool test case
Comment 2 ab 2006-10-27 09:19:56 UTC
ab->tbo: These problems seem to be Testtool related in the first place. 
If the dialogs behave in a way the Testtool can't handle it has to be 
evaluated first, what's the problem. I don't know what the testtool ex-
pects. And even then the problem probably has to be further evaluated 
in the toolkit that provides the dialog and controls respectively the 
properties dialog implementation. So far I don't even know what you
are talking about  -> gh for first evaluation
Comment 3 pavel 2007-01-15 20:02:06 UTC
move to next target
Comment 4 gregor.hartmann 2007-07-13 11:03:40 UTC
moved to 2.4 because of too little time left
Comment 5 gregor.hartmann 2007-12-21 11:03:40 UTC
Comment 6 epost 2008-06-02 15:02:26 UTC
retargeted to 3.x
Comment 7 Marcus 2017-05-20 10:55:38 UTC
Reset assigne to the default "".