Advanced Scripting in Eggplant Functional
Eggplant Functional (EPF) is a powerful tool for test automation. The topics referenced on this page show you how to move beyond the basics to create and run more powerful tests. You don't need to be an advanced user of Eggplant Functional to take advantage of these powerful capabilities.
Interacting with Systems Under Test
Use the connect command to switch between systems under test (SUTs) during a script run.
Scripting through a SUT Restart
Learn how to write and run a script that restarts your SUT.
Use scripting to search for and read text from a SUT.
Run your tests using fewer images.
Using the ScreenPart Function Handler
Define the searchRectangle based on the screen size of your SUT.
Create a script to enable triple-click with Eggplant Functional.
Use Optical Character Recognition (OCR) and images to test across multiple languages.
Omega13 is a preloaded script in Eggplant Functional that can be used to attempt recovery on your SUT.
Synchronizing Script Execution
Use scripting to run the same script against two different SUTs in parallel.
Interacting with Mobile SUTs
In some situations, it's better to type against the soft keyboard on a mobile SUT instead of injecting the TypeText events directly into the system.
The Android Debug Bridge command line tool pulls data such as application log files, memory usage data, and push and pull applications from an Android device.