Running Eggplant from a script

Hi,

I’ve created a script that looks like:
However, this only opens the script. I couldn’t find the command that runs it. Any ideas?

tell application “Eggplant”
activate
try
open “/Users/redstone/Documents/MWS Automation/MWSsuite.suite/Scripts/SANITYTEST.script”

	close
on error
	close
	quit
	error "Unable to to run eggplant test"
	
end try	

end tell

Eggplant isn’t AppleScriptable. If you want to run a script without opening Eggplant we provide a command line utility. Running a script using this utility looks like this:

/Applications/Eggplant.app/runscript /path/to/an/Eggplant/script -host ip.address.of.host -port 5900 -password mypass

Thanks!