I want to check if after some actions, a window is opened. The window name is "Help - Test". Below is my code:
with [get-window "Help - Test"] {
get-property "isEnabled()" | equals true | verify-true
get-property "isVisible()" | equals true | verify-true
}
when running the test I get error The Window "Help - Test" could not be found.
Also I tested the Eclipse help to check that the help menu is opened after Tips and Tricks and same problem:

Note: I want to check that the help menu from eclipse is opened.
The expression
is the test itself. No need for additional property getters. If RCPTT can not find the window then it is either not there (test case found a real problem) or it checks too early; before the window is rendered.
If the latter then things get a little complicated, you could
waitorwait-until-eclipse-is-readyor place the action into atrysection.