Forum Discussion

halovski's avatar
2 years ago

Keypress without an object

Is there a way to make Testcomplete press a key, without specifying an object? I want to press Enter on 3 different warning messages, that come one after another. The problem is that the first 2 warning messages have the object name Aliases.sdelki.dlgSdelki and the third is called Aliases.sdelki.dlg_4 and my while loop in my script can't find it. I'm trying to close unwanted popups/warnings, so other solutions are acceptable too.