Forum Discussion
Dmitry_Nikolaev
Staff
16 years agoHello Michael,
You can use the '*' character in such methods of TestComplete as Window, Find, MDIWindow, etc. In this case, TestComplete will recognize this character as a special wildcard and ignore any symbols. However, when you use the '*' character in the following line:
Log["Message"](w["WndCaption"] == "*t*"); //Log 3
the script engine recognizes the character as an asterisk that belongs to the "*t*" string. The result of this comparison will be true only when the value of the caption is equal to "*t*" (not "complete").