How to access home bottom using eggplant?

I am doing automation on a Droid X. Like other Android devices, it has four hard bottoms on the button of the device, “menu”, “home”, “back” and “search”.

Does Eggplant have a way to access the four buttons? Especially “home” bottom and “back” bottom?


If you’re running against the DroidVNC server, the back button is mapped to RightClick, Home is mapped to HomeKey, and Menu is pageDown. There’s an article that discusses the keyboard mappings for DroidVNC.

The code for these events would be:

typeText HomeKey -- Presses Home
typeText PageDown -- Presses Menu
RightClick -- go back
typeText ControlKey -- presses search button