I have a task scheduled in windows to run my script from the command prompt. It starts executing the script but cannot find the objects and I get this error.

exception_context = click() called on GuiTestObject(Map:j_username). exception_name = com.rational.test.ft.WindowActivateFailedException
exception_message = unknown reason

Any suggestions as to why this happens. Also this is scheduled on another machine.

To Clarify I have an ant command runant.cmd that executes my scripts. I have scheduled a task to run runant. But if I am logged into the machine and watching the script it works fine. But If I am not logged into the machine the task fails and I get the above error. So looks like the scripts are executed and fails at logging in into the application. So I know the task is kicked off but it does not executed further.