Is it possible to hide UFT when run batch via CMD?
Im using UFTBatchRunnerCMD.exe to run a batch test file.
My problem is that I dont know how to hide UFT when run like this.
In BatchRunner there is a visible button to hide UFT, is there a commandline equivalent?
Re: Is it possible to hide UFT when run batch via CMD?
You can add these if your batch is using it:
Set App=createobject("QuickTest.Application") If Not App.Launched then App.Launch End If App.visible=True App.Open "C:\Temp\GUITest1",True Set obj_qtp_app=App.Test obj_qtp_app.Run
If you make App.visible=False, then it will not be displayed.
If you are not using this, you can open select "Unified Functional Testing Remote Agent Running" -(right click)- "Settings" from Taskbar and selecting checkbox Run UFT in Hidden mode.
Hope this helps.