Testing Multiple iOS Devices or Simulators on the Same Mac

By default, Silk Test does not support testing multiple iOS devices or iOS Simulators that are connected to the same Mac. At any given time, any given user can only test on one iOS device or one iOS Simulator that is connected to the Mac. However, you can create multiple user sessions on a Mac to test multiple iOS devices that are connected to the Mac and multiple iOS Simulators that are running on the Mac in parallel.

  1. For each iOS device or iOS Simulator, create a user with administrator privileges on the Mac. For example, to test on two iOS devices that are connected to the Mac and two iOS Simulators that are running on the Mac, you require four user sessions on the Mac with administrative privileges.
  2. For each user, install the Silk Test information service (information service). For information on installing the information service, see Installing the Silk Test Infoservice on a Mac.
  3. For each user, navigate to the directory .silk/silktest/conf/ and rename the file infoservice.properties.sample to infoservice.properties.
  4. For each user, edit the infoservice.properties file to specify a port that is not in use. The default port is 22901. Typically, you could increment the default port number by one for each user. For example, if you want to use four user sessions, use the ports 22901, 22902, 22903, and 22904.
  5. For each user, logout and login again with the same user to activate the information service with the specified port.
Tip: To use the information service that corresponds to a user session, ensure that the user is logged on to the Mac, for example after a reboot of the Mac.