04-29-2014 03:52 PM
I downloaded UFT 12 recently and found that UFT hangs at Test.Stop line.
Set qtp_obj = CreateObject("Quicktest.Application")
Set qtp_obj = Nothing
05-02-2014 08:21 AM
Thanks vzamoraz for looking into this.
I tried both options i.e. directly in UFT 12 directly and calling from a library file called using loadfunctionlibrary
This works well in QTP 11.
05-02-2014 08:37 AM - edited 05-02-2014 08:39 AM
I see Rakesh,
This is Automation object model code. This code can by executed only directly in a vbscript (executing the .vbs file manually), it should not by launched on UFT or executed from a function library called from UFT, since the purpose of this code is create the instance of UFT and control it by the code.
05-02-2014 10:17 AM
I understand it is AOM Code. Since it worked for QTP 11, I was hoping it will work for UFT 12. Do you think using this code in UFT 12 is creating a deadlock situation?
It is something I would have preferred not to use but I used as a work around for a different issue we ran into. We have a framework that involves calling nested library files i.e. first file loads the second file, second file loads third. To stop the test on error, we used 'ExitTest'. When 'ExitTest' is executed in the third library file, the test does not stop. Execution continues uninterrupted. 'ExitTest' works well when executed in the first and second library file.
I saw some references on googlign for this issue but I haven't seen a fix.
05-02-2014 11:00 AM - edited 05-02-2014 11:02 AM
I would recommend you to open a ticket for that exit issue on third library, since run AOM directly from UFT is expected to show issues.