Micro Focus QTP (UFT) Forums
Application getting closed when qtp running - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Application getting closed when qtp running (/Thread-Application-getting-closed-when-qtp-running)



Application getting closed when qtp running - srihariravula - 04-14-2011

Hi,

When i am running script in QTP, it is opening application and doing some transactions, during that time when i click on a particular button application getting closed immediately.

even when qtp is running if i open the application and do the same transactions manually then also application getting closed in the middle.

Application: Windows Applications (JAVA based)
QTP11

Could anyone can help us..its a showstopper for us.
Thanks in advance

Regards
Srihari

Thanks





RE: Application getting closed when qtp running - Jay - 04-14-2011

perform every task manually and check wheter is an application issue.


RE: Application getting closed when qtp running - srihariravula - 04-14-2011

when we do it manually ..aplication is working fine. the problem is when qtp is running..application is getting closed


RE: Application getting closed when qtp running - Jay - 04-14-2011

try this:
1. see if any recovery scenario is associated , this may be closing your application.
2. Put breakpiont at suspected line then press F11 to know each and every variable value,object property etc , this will let you know at which line your application is going to close, this might lead you to some unknown functions or anywhere from where the application is closed, which you are not aware.



RE: Application getting closed when qtp running - sandhyach - 06-14-2011

Hi Srihari,
I am also facing a similar issue . I am automating a windows-based .NET application using QTP 11.0.I am using .NET,WPF Add-ins
On clicking a particular wpfedit, my application closes . But manually it is working fine. The application closes when QTP is in debug or in run mode.
I think it should be issue with qtp 11.0. We need to try this with lower version of qtp.
Thanks
Sandhya