UFT (QTP 11.5) trial version not recognizing .NET objects
I have installed a trial version of UFT in my Windows 7, 64 bit system. I am trying to record a script on .NET application. But all the .NET objects are getting recognized as WinObjects. I have selected the .NET, ActiveX, Visual Basic, Java and Web addins in the test.
My System has a 4.0 .NET framework and was installed before UFT was installed. I have tried opening the application after opening UFT, but still same issue.
This is how the code gets generated.
Window("Application Start").WinObject("WindowsForms10.Window.8.app.0." ).Click 9,10
Window("Application Start").WinObject("WindowsForms10.Window.8.app.0." ).Click 82,190
Window("Application Start").WinObject("WindowsForms10.Window.8.app.0." ).DblClick 82,190
Window("Application Start").WinObject("WindowsForms10.Window.8.app.0._ 2").Click 61,13
Kindly help me to resolve this issue. Is using a trial version of UFT the cause for this issue.
Please tell us which browser version are you using for opening the application.
Perhaps try upgrading to 11.52 or 11.53.
I was able to get the full version now of UFT 11.5. When I open the .NET application first and then open UFT, the script is recorded as expected as below
SwfWindow("Application Login").SwfEdit("_user").Set "Username"
SwfWindow("Application Login").SwfEdit("_user").Type micTab
SwfWindow("Application Login").SwfEdit("_password").SetSecure "XXXX"
But when I open UFT first and then the .NET application the objects are getting recognized as Windows Objects instead of .Net object. So I used the above method to open the application first and then UFT.
But when I tried to replay the above recording I get an error message stating "Cannot find the object parent. Verify that parent properties match an object currently displayed in your application."
Kindly let me know if I am missing any set-up in UFT
I installed the UFT (11.5) with concurrent license and was able to record a script on a .NET application. The objects were recorded as SWF objects as expected and was also able to replay the script without any issues. But when I re ran the same script after couple of months now all teh objects are getting recognized as WinObject.
Script with SWF Object
Script with Windows Object
Window("Login").WinObject("Options >>").Click 36,13
The .NET addin is enabled along with Activex, Web addins. Is there any patch that I need to install for UFT 11.5 to get the .NET working.
I also followed the below procedure but its not working
1.Uninstalling .NET 4.0 Framework.
3.Install .NET 4.0 Framework
I am using a Windows 7 SP1, 64 bit OS