| || |
- 1 Post By NoUse4aName
Closed Dialog window shows as visible
Test Advantage from Infragistics
Windows Forms AUT.
I successfully close a Dialog window using window(obj).WinMenu(menuobjtype:=4).Select "Close Alt+4"
I see the window go away from the screen.
The trouble is that QTP still sees the window as being visible.
Also if I open the Dialog box again it shows a edit box containing some old information that should have been cleared away before closing the window.
It seems as if the window is hiding in cache somehow.
There is another set of code for closing the Dialog using the X in the right hand corner of the dialog box(I have seen it in SQA forums from an old post, but it looks more complicated.)
Does anyone else have experience with this type of situation?
Last edited by bklabel1; 07-27-2014 at 01:05 PM.
Reason: Screen locked up while editing. I had to reboot my laptop to fix.
Ah in your capturebitmap post I thought you were referring to web.
For windows forms I presume it would be Control.Visible Property (System.Windows.Forms)
Either way, I would check with your developers.