Skip to main content

Connecting to SUTs

With Eggplant's testing products, you can make connections to many types of systems under test (SUTs). From within Eggplant Functional, you can create connections to a variety of mobile devices, desktop operating systems, and other devices to enable automated testing. Additionally, you can also connect to Sauce Labs, where you can access a plethora of browsers and mobile devices without having to host them yourself.

Desktop Connections​

Eggplant Functional supports Virtual Network Computing (VNC) and Remote Desktop Protocol (RDP) connections for testing desktop systems. See Eggplant Functional Connection Types: VNC vs. RDP to learn more about the differences between these protocols. For information about installing a VNC server on your SUTs, see VNC Servers. See Using the Connection List or the Connect Command for more information about creating connections to SUTs.

If you are connecting to a desktop so that you can test a browser-based application, you also have the option of connecting to your application using Sauce Labs. Sauce Labs allows you to access virtual browsers without having to host them yourself. Please refer to Sauce Labs Connections below for more information.

Mobile Device Connections​

You can test Android OS and iOS SUTs with Eggplant Functional. You can test physical devices that you own or you can test physical devices hosted by Sauce Labs.

To test your own iOS devices, you'll need Eggplant's iOS Gateway, a free, Mac-only application. To test your own Android devices, you can use either Eggplant's Android Gateway or the automatic Android server built into Eggplant Functional. To test physical devices hosted by Sauce Labs, please refer to Sauce Labs Connections below for more information.

iOS Connections​

You can test iOS devices that you own by connecting them to a computer which hosts Eggplant's iOS Gateway application. The iOS Gateway application serves as a VNC server from the IP address of the Mac where it's running. When you connect to that Mac from Eggplant Functional, you can see and control your iOS device. You can test devices running iOS 10 and later with iOS Gateway. You can also test Apple TV (4th generation) running tvOS 11. See iOS and tvOS SUTs for system requirements and instructions.

Android Connections​

To automate Android devices, you'll need to connect them to a computer which hosts Eggplant's Android Gateway. Similar to the iOS gateway, the Eggplant Android Gateway allows you to expose your Android device as a VNC connection back to Eggplant Functional, which allows you to see and control your Android device.

WebDriver Connections​

You can use Eggplant Functional to perform object-based testing with Selenium WebDriver for web browsers and web apps. You have the option of hosting the browser sessions yourself or you can access Sauce Labs' comprehensive suite of hosted browsers.

If you are hosting the browers locally, you must install the Selenium server and the appropriate driver for your web browser on the SUT. For additional information about configuring and using WebDriver in Eggplant Functional, see Selenium WebDriver Testing with Eggplant Functional.

If you are planning to use Sauce Labs to host your browser, you simply need to connect to Sauce Labs using Eggplant, which will automatically provide a Webdriver connection to that SUT. Please refer to Sauce Labs Connections below for more information.

You can also do object-based testing of applications on mobile devices with WebDriver. For more information about this method and how to set up your environment for both iOS and Android devices, see Mobile WebDriver Testing.

Sauce Labs Connections​

Eggplant Functional supports Sauce Labs Connections via both the VNC and WebDriver protocols. This capability allows you to test browsers and mobile devices using Eggplant's image based testing (via the VNC connection) and/or using object-based testing (via the webdriver connection). For information on Sauce Labs and their product offerings, visit their website. For information on configuring and managing Sauce Labs Connections in Eggplant, see Using the Eggplant Functional Connection List or the Connect Command.

Other SUT Connections​

Eggplant Functional can automate other types of SUTs, too, including set-top boxes of various types.