Issue 80241

Summary: control "ControlPropertiesTabControl" not found, due to your changes in edia_a_c.win
Product: QA Reporter: marc.neumann
Component: testscriptsAssignee: marc.neumann
Status: CLOSED FIXED QA Contact: issues@qa <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: currentKeywords: regression
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: TASK Latest Confirmation in: ---
Developer Difficulty: ---

Description marc.neumann 2007-08-01 08:19:45 UTC
Because of your changes all control test in base are broken, please revert your
changes
Comment 1 marc.neumann 2007-08-01 08:21:06 UTC
.
Comment 2 joerg.skottke 2007-08-01 08:37:55 UTC
*ControlPropertiesTabControl HID_FM_PROPDLG_TABCTR
TabGeneralControl HID_FM_PROPDLG_TAB_GENERAL
TabDataControl HID_FM_PROPDLG_TAB_DATA
TabEventsControl HID_FM_PROPDLG_TAB_EVT

*ControlPropertiesTabControl is the dialog containing the three tabpages, so the
declaration is correct. Wontfix.
Comment 3 joerg.skottke 2007-08-01 08:38:25 UTC
back to msc
Comment 4 marc.neumann 2007-08-01 13:35:47 UTC
ok next try, your test framework/basic/f_basic_eventbinding.bas doesn't work,
also because of your changes.
Comment 5 marc.neumann 2007-08-01 13:36:12 UTC
reassign 
Comment 6 joerg.skottke 2007-08-02 09:14:46 UTC
The reason for the problem (root cause) is that the documentation is unclear
about the workings about the tabcontrols. "ControlPropertiesTabControl" can - if
declared as normal control - be used to switch tabpages. Code for this would
look like:

<snip>
Kontext "ControlPropertiesDialog"
ControlPropertiesTabControl.setPage( TabGeneralControl )
</snip>

But this usage differs from all other dialogs, where
"ControlPropertiesTabControl" would be the dialog with the tabpages as related
controls. Then you switch to the tabpage, set its context and work with the
controls.

So now the code must be:

<snip>
Kontext "ControlPropertiesTabControl"
ControlPropertiesTabControl.setPage( TabGeneralControl )

Kontext "TabGeneralControl"
...
</snip>

This enlightenment finally offers the possibility to get the Property Browser
correctly automated as the controls on the tabpages are directly and reliably
accessible from within the BASIC IDE which was not possible before.

Setting fixed
Comment 7 joerg.skottke 2007-08-02 09:26:41 UTC
Reop as Task for me, cannot fix now.
Comment 8 joerg.skottke 2007-08-02 09:27:52 UTC
TODO: Update documentation to be more precise about this.
Comment 9 joerg.skottke 2007-08-03 08:25:59 UTC
Move target away from 2.3
Comment 10 marc.neumann 2007-08-07 09:09:02 UTC
reassign back
Comment 11 marc.neumann 2007-08-07 09:14:08 UTC
fixed in base test scripts
Comment 12 marc.neumann 2007-08-07 09:15:37 UTC
close