Automation Testing

Article · 3 min read

How to run HP UFT GUI on a Mac using Safari

If you listened to my recent podcast episode on the top new feature for UFT 12 you may have heard […]

Joe Colantonio

By Joe Colantonio

Founder, TestGuild · 27 March 2014 at 8:18 PM · Updated 05 January 2025 at 1:31 PM

How to run HP UFT GUI on a Mac using Safari

If you listened to my recent podcast episode on the top new feature for UFT 12 you may have heard that UFT 12 now supports running UFT GUI test on a remote Mac in an Apple Safari browser.

Using this new technology preview feature you can have UFT use the WebSockets protocol to connect to any Mac machine that you specify. The current limitation is that you can only run Web based test objects with this feature. All the other test object types like Utility will not work on the remote machine.

Getting Started Running UFT on a MAC

First we need to install the UFTConnectinAgent on our Remote mac machine.

  • Copy the UFTConnectionAgent.dmg to your mac machine. Under your

Unified Functional Testing/MSI/HP/Unified Functional Testing/Installation/Safari


Steps to Perform on Your Mac

  • On your Mac install the UFTConnectionAgent.dmg
  • Take the defaults in the HP UFT Connection Agent wizard


    • Click Install if you receive the pop-up message Are you sure you want to install the extension message


    • In your System Preferences you should now have a HP UFT Connection Agent option


    • Open the HP UFT Connection Agent. You should have the following options:
      • Make sure the Enable agent is selected and the agent is running before you try to connect UFT. For security reasons HP recommends turning on the Disable agent when you are not using it.
      • Listening port: this is the port you will use along with your mac’s name or IP to connect UFT
      • Log Folder: this is the location where the agent will create log files. Make sure that you have rights to this location
      • Agent log level – creates a log file name uftagent.log located in the log folder
      • UFT Safari extension logs: this should be turned OFF unless HP request it for troubleshooting issues


Cool – so once the agent is installed on your mac machine head on over to your UFT machine.

Steps to Perform on Your UFT machine

  • In UFT create a new UFT GUI tests name RemoteMac
  • Click on the Remote Connection button under the UFT toolbar


  • Enter your mac’s host name or IP address. (To find you mac’s name go to System Preferences>
    Sharing. To find you’re your mac’s IP go to System Preferences>Network)
  • Click Connect


  • The host name did not work for me but using my mac’s IP address did. If UFT found the remote machine, a green check mark with the status of Connected should appear.

 


Create a test to run a UFT tests in Safari on you mac

For a simple example lets create a script that opens up Safari and navigates to my site

  • Under UFT’s Recording menu select Record and Run Settings


  • Under the Record and Run Settings enter:
    • Open the following address: https://testguild.com
    • Open the following browser: Apple Safari (on remote mac computer)
    • Remote Connection Details: make sure that your mac’s name or ip is filled in
    • Click OK


  • Now click Run and watch the magic
  • UFT should connect to the mac and bring up joecolantonio.com in Safari.

 

About the author

Joe Colantonio

Joe Colantonio

Founder, TestGuild · Host, TestGuild Automation Podcast

Joe founded TestGuild in 2010 and has spent 27+ years in test automation. He hosts the longest-running automation-testing podcast (600+ episodes) and created Automation Guild, the premier online event for test automation engineers.

Joe Colantonio, founder of TestGuild

About the author

About Joe Colantonio

Joe Colantonio is the founder of TestGuild, an industry-leading platform for automation testing and software testing tools. With over 25 years of hands-on experience, he has worked with top enterprise companies, helped develop early test automation tools and frameworks, and runs the largest online automation testing conference, Automation Guild.

Joe is also the author of Automation Awesomeness: 260 Actionable Affirmations To Improve Your QA & Automation Testing Skills and the host of the TestGuild podcast, which he has released weekly since 2014, making it the longest-running podcast dedicated to automation testing. Over the years, he has interviewed top thought leaders in DevOps, AI-driven test automation, and software quality, shaping the conversation in the industry.

With a reach of over 400,000 across his YouTube channel, LinkedIn, email list, and other social channels, Joe’s insights impact thousands of testers and engineers worldwide.

He has worked with some of the top companies in software testing and automation, including Tricentis, Keysight, Applitools, and BrowserStack, as sponsors and partners, helping them connect with the right audience in the automation testing space.

Follow him on LinkedIn or check out more at his TestGuild profile .

Free PDF

Get 10 quick test automation tips

Actionable tips from top industry experts — skim them fast.