ContributionsMost RecentMost LikesSolutionsRe: Unable to access an application after launching with RunAsIrina, et al- Here's a restatement of what my problem is with the Reboot and Continue (hopefully more to the point). On start up, before the login process, there is a consent/warning dialogue, in which the user must click "ok". If I click this while the automated process is going, it logs on automatically. Is there another argument I can pass into the function to click this button? So far, I have: RebootAndContinue("Unit1.NewUser", "password", "admin"); Like I said, all works well except for not recognizing the dialogue... The dialogue would be considered a modal window I think. Re: Unable to access an application after launching with RunAsIrina, To answer your specifc questions: 1. On which machine (local or remote) are the scripts running? They are running on the server which is remote. I access the server via a citrix session on a thin client. Nothing runs "local". 2. Which machine (local or remote) are you trying to reboot? The server which is remote. In order to see better what was happening I logged onto the server console and noted that the Reboot and Continue was working up to the point where it tried to login. After the server rebooted a window was displayed stating: "At least one Server or Driver failed during system startup. Use Event Viewer to examine event log." This window requires you to click OK to dismiss. Also, there is a window warning of system monitoring that requires you to click OK to dismiss. After I dismissed the two "unexpected" windows the Reboot and Continue process continued with the login and ran my specified script. However, the second "unexpected" window will always be displayed prior to login. How can I add switches to the Reboot and Continue that will dismiss the "unexpected" windows so that the login can proceed? Regards, GailRe: Unable to access an application after launching with RunAsAlex, thank you for taking a look. I was unable to make the Reboot and Continue work; I am working on the application server from a Thin Client and the login part of Reboot and Continue doesn't appear to be working. Although if I login and restart TestComplete the script will continue. I may need to just bite the bullet and login my 2nd user in a different session and run scripts from that account. Unable to access an application after launching with RunAsI have successfully started Outlook as a different user account using both the RunAs option for the TestedApps and in a script. Now I'm trying to read the Inbox using a version of the example script sent me by the helpdesk. I put in the following statement: Aliases.Explorer.wndProgman.SHELLDLL_DefView.browser.Click to take focus off the Outlook window - as suggested in the online help. The script fails at the next statement: Set MSOutlook2003 = Sys.OleObject("Outlook.Application") with the message: "Server execution failed". Is this because I'm using the RunAs feature? It all worked fine when I started Outlook in the "simple" mode. How can I work with Outlook using a different user account? Regards, Gail R