My AUT is .Net windows based app. I have selected .Net and WPF addin in add in manager. Sometimes QTP identifying AUT window as SwfWindow and sometimes not.
I reinstalled .Net add in and verified from File/Settings.
Also unselected WPF and selected only .Net add in but no luck.
Do you have any idea about this problem?
A Test Engineer should be a Programmer.
What QTP shows when it does not identify AUT as swfWindow?
QTP identifying as Window and its objects as WinObject.
By any chance are those sometimes "when you launch AUT before QTP". Because if you launch AUT before launching QTP then QTP behavior is not normal.
I have tried but no luck.
Do I need make any changes to any settings?
I miss simple option.
In Automation menu / Record and Run Settings I have not selected "Record and run test on any open Window-based application".
After selecting this QTP able to identify window as SwfWindow.
I use pure DP instead of OR, that is the reason I missed it.
Just to add on to the issue. The .Net application is recognized properly if :
1) The application is launched by QTP.
2) The application is launched before launching QTP.
But i am observing that this techniques in not working in Windows 7.
I have scripts that work fine on Win XP and Vista, but not on Win 7. Any other work around ?
My .Net wbf add-in does not recognize dataGrids instead it treat them as webtables. Can anybody help with this?
Thanks in advance.