Installing the Silk Test Information Service on a Mac

Note: To install the information service on a Mac, you require administrative privileges on the Mac.

This functionality is supported only if you are using the Open Agent.

To create and execute tests on a Mac using Apple Safari or using iOS or Android devices, install the Silk Test information service (information service) on the Mac. Once the information service is installed and active, you can record and replay tests from a Silk Test Classic client that is installed on a Windows machine.

Note: You cannot record on a Mac. To add a Mac as a test location to Silk Test Classic, see Editing Remote Locations in the Silk Test Classic documentation. .

To install the information service on a Mac:

  1. Read the information in the topic Prerequisites for Testing with Apple Safari on a Mac in the Silk Test Classic documentation.
  2. Ensure that a Java JDK is installed on the Mac.
  3. If you want to test mobile applications on an iOS device, ensure that Xcode is installed on the Mac.
  4. Access the information service setup file, SilkTestInformationService<Version>-<Build Number>.pkg.
    • If you have downloaded the information service setup file while installing Silk Test, open the folder macOS in the Silk Test installation directory, for example C:\Program Files (x86)\Silk\SilkTest.
    • If you have not downloaded the information service setup file while installing Silk Test, you can download the setup file from Micro Focus SupportLine.
  5. Copy the file SilkTestInformationService<Version>-<Build Number>.pkg to the Mac.
  6. Execute SilkTestInformationService<Version>-<Build Number>.pkg to install the information service.
  7. Follow the instructions in the installation wizard.
  8. When asked for the password, provide the password of the currently signed in Mac user.
  9. When Apple Safari opens and a message box asks whether to trust the SafariDriver, click Trust.
    Note: If you want to test against Apple Safari 10 or prior on macOS 10.12 (Sierra) or prior, SafariDriver needs to be installed on the Mac. You can only install the SafariDriver if you are directly logged in to the Mac, and not connected through a remote connection.
  10. To complete the installation, the installer logs the current Mac user out. To verify that the information service was installed correctly, log in to the Mac.
  11. If you are installing the information service on a Mac with macOS Mojave (10.14) or later, you might have to enable additional automation permissions for Silk Test after logging in to the Mac. If permissions need to be granted, Silk Test will automatically show request permission dialogs.
    1. Click OK to acknowledge the information dialog.
    2. Click OK in all sub-sequent request permission dialogs.
    Important: If you do not enable these permissions for Silk Test, you will not be able to test web applications against Google Chrome or mobile applications on an iOS device or on a Simulator on this Mac. If by mistake you have clicked Don't Allow in one of the permission dialogs, open a terminal on the Mac and type the following command:
    sudo tccutil reset AppleEvents
    Then restart the Mac and accept the permission dialogs by clicking OK.
  12. Click on the Silk Test icon in the top-right corner of the screen to see the available devices and browsers.
    Tip: If the Silk Test icon does not appear, restart the Mac.