If you are testing an Adobe Flash or Flex Application, this setup will most likely not work, due to recent changes made to the Adobe Flash Player and how it deals with off-screen content. If you are experiencing a repeated window/mirror effect then make sure that you are not connecting to an instance of the VNC server running on the same user account that is running Eggplant Functional. In Eggplant Functional, establish a connection to the VNC server which should show up under Bonjour servers in the list of available connections (or else via IP address of the local machine or via “your_Machine_name_here”.local).īy this time you should be able to see the desktop of the other user’s account, and you should be able to author scripts just like you would had Eggplant Functional been connected to a separate machine.Switch back to the account that you were logged in as: the main account that you normally run Eggplant Functional from.From the test account you should notice that Vine Server starts as soon as you login.Switch over to the test account by clicking on the current user’s name in the upper right corner of the screen.Using System Preferences, add Vine Server as a Login Item for the test account.If you do not have another user on the local machine then create one. Allocate a user account as the test account.This can be done by going to System Preferences > Users & Groups > Login Options.
Using Fast-User Switching on Mac Īs long as you are running Eggplant Functional on a Mac OS X (10.4 or later) machine you can author and test on the same computer using fast-user switching. Otherwise, you will get a “hall of mirrors” effect as VNC will be looking at itself. The host operating system needs to be the Eggplant Functional controller, and the virtual machine needs to be the SUT. Treat it as any other machine you wish to test against.
Open Eggplant Functional, and add the new virtual machine to your connection list.For further information, see VNC Servers. Once you’ve created the new machine, boot it up, and install a VNC Server on the virtual machine, noting it’s IP Address.The system will prompt you to enter settings for that machine, such as disk size, ram, etc.
To set up a virtual machine, you can choose from a variety of virtual machine hosting products, which include VMWare, Parallels, and VirtualBox. Since a virtual machine behaves as an individual machine, you can use this as a SUT with Eggplant Functional. They provide a cost-effective way of hosting multiple operating systems on the same hardware. Virtual machines, for those unfamiliar, are a way to run an operating system within a window, sharing resources with the host system. Virtual machines allow you to use Eggplant Functional with its intended architecture, with a desktop machine hosting Eggplant Functional, and a virtual machine acting as the SUT. Using the Eggplant Functional Machine Only *This provides limited functionality*.Using a Virtual Machine as your SUT *Recommended*.There are a few ways of circumventing this, if using two systems presents a problem for your team. This requires that Eggplant Functional runs on one machine (often referred to as the Eggplant Functional controller), and that tests be executed against a second system, called the system under test (SUT). Eggplant Functional is designed around a two-system model, described here.