Forum Discussion

mark_3's avatar
12 years ago

The window is invisible, and thus cannot be activated

Hi,



I've seen numerous posts on this subject, and tried the fixes suggested, but none has solved this issue.  I am testing an Open App DelphiXE application.  At one point when the script clicks a button, a new form is opened which also opens a modal form.  The form exists, and I can set an object to it, but the script fails with the The window is invisible, and thus cannot be activated error.  Has there been a fix installed for this?  I cannot activate the object, nor click a button which exists on the object.  I've tried the

Aliases.RefreshMappingInfo(); function, but it didn't help.  Any suggestions would be greatly appreciated.



Thanks,

Mark


  • anngeiger's avatar
    anngeiger
    Occasional Contributor
    When we upgraded from Test Complete 9.1 to 9.2 I saw the same error on a couple of the button clicks.  I had to add a very small delay right after the click event. The vbScript command is:  Call aqUtils.Delay(250) 

    I added a 250 delay in one spot and a 500 delay in the other spot.  All the other button clicks worked fine and id not need the delay.



    I hope this helps!!

    Ann