To operate on an window in which accessibility is not enabled we use external application Linux Test For X (In short LTFX) - http://sf.net/projects/ltfx
activatewin - Activate the window with the given title
activatewinpartialname - Activate the window with the given partial title
getactivewin - Get the window title thats currently in focus
partialexists - Check the window whether it exist based on the partial given title
typekey - Generate keyboard events as if user key in
waitwinname - Wait for window to appear with the given title
waitwinpartialname - Wait for window to appear with the given partial title
windowexists - Check the window whether it exist based on the given title
LTFX functions assumes that the window to be operated is in focus. It directly generates the X key board events. It does not know whether the object exist or the operation is successfully done.
Linux Desktop Testing Project