Working with Apple Safari on a remote Mac computer

You can use UFT One to test Web applications on an Apple Safari browser that is running on a remote Mac computer. UFT One uses the WebSockets protocol to connect to the Mac computer that you specify. Note that only Web test object steps can run on Safari. All other steps, including Utility object steps, such as SystemUtil.Run, run locally on the UFT One computer.

To test Web applications on the Safari browser, install the UFT Connection Agent and the Safari extension provided by UFT One on your Mac computer. For details on how to do this, see Install and configure the UFT Connection Agent on Mac.

Recording steps and learning objects (in the Object Repository Window or Manager) are not supported on the Safari browser. Use the Remote Object Spy on a Safari browser to view the properties and operations of Web controls, and optionally, add the corresponding test objects to your object repository.

It may be more convenient to create and edit your object repositories, tests and components working with a supported browser installed locally on the UFT One computer, and then connect to a remote Mac computer, fine-tune your tests, and run them on Safari.

Tip: Use Google Chrome to create, edit, and debug your tests and components, as Chrome and Safari render Web pages similarly.

Once your basic test is designed, connect UFT One to a remote Mac computer running Safari, and fine-tune or debug your test based on the object properties available on Safari:

  • Use the Remote Object Spy to see how UFT One recognizes the objects in your application.

  • View object properties using statement completion for the Object method.

    Note: Statement completion for the Object method is only available if the connection to the remote Mac is fast enough.

  • Create standard checkpoints and output value steps on objects displayed in the Safari browser. Use the Design > Checkpoint and Design > Output Value > Standard Output Value commands.

See also: