Currently,I have encountered a problem which brought
me much more difficulties,hope somebody can help me.
The question is:
I use this following function to determine which window is the active window,but it always shows that the WinRunner
is the active window,I wonder how to make my expect window
become active window,I have tried to do it by moving cursor to the expected window and click it,but it also failed.
function GetActiveWindow()
{
auto WinNum = 0, WinLable="", WinActive;