Enhancement
Detail
#27468
Application scripting: resolve LayoutComponent's only if they are visible
In scripted tests, fields and commands are often resolved relative to a LayoutComponent. This works even if the component is invisible. Thus, many scripted actions can be executed even if they could not be executed at the GUI. This leads to unexpected effects.
Improvement
After resolving the component it is checked that it is visible. If it is not visible, an error is thrown. Some special actions (e.g. goto commands) must still be able to resolve invisible components.
Test
- In the view Structures > Type Demo > Change Type Demo
- Record the change of the name of an element.
- Switch to Structures > Type Demo > Grid
- Play back the recorded action.
- Expectation: You get an error that the component is not visible.