Highlighted
Absent Member.
Absent Member.
464 views

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?

Thanks

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

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.

+pavan

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Is it possible to hide UFT when run batch via CMD?

 

Im looking for a batch hidden run, not individual test.

But thanks!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.