Micro Focus QTP (UFT) Forums
SystemUtil - Application is not getting Visible - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: SystemUtil - Application is not getting Visible (/Thread-SystemUtil-Application-is-not-getting-Visible)



SystemUtil - Application is not getting Visible - spsraj - 07-07-2010

Hi,

I am using SystemUtil.Run to invoke the application. The line is executing but the application is not getting visible until QTP stops, i can see the process running in Task Manager. Once i Stop the QTP run the application is opening.

Please help on this.

Thanks in Advance
Spsraj


RE: SystemUtil - Application is not getting Visible - sasmitakumari - 07-08-2010

Can you provide the line of codes that you are using to invoke the application using SystemUtil.Run?


RE: SystemUtil - Application is not getting Visible - spsraj - 07-08-2010

Hi sasmita,

Thanks for ur reply,

im using the usual code only..i.e

SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe"
it is getting executed, but the browser is not visible until the QTP stop run.

Sps


RE: SystemUtil - Application is not getting Visible - sasmitakumari - 07-08-2010

The command you have written is working for me even without stopping the run.
Can you try with this:
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE","","","open"


RE: SystemUtil - Application is not getting Visible - sasmitakumari - 07-08-2010

did this resolve your problem?


RE: SystemUtil - Application is not getting Visible - spsraj - 07-08-2010

Actually I have tried this option also but didn't workout,

Now I tried after removing some Addins and now it is working fine..don't know what was the exact problem.

Anyway thanks a lot for your effort.


RE: SystemUtil - Application is not getting Visible - Saket - 07-09-2010

what were those addins that you removed and currently what addins are loaded?


RE: SystemUtil - Application is not getting Visible - spsraj - 07-15-2010

I was loading Active-X and Terminal Emulator add-ins same time, now I am running it without the Active-X add-in and it is working fine.