texan Posted January 17, 2011 Posted January 17, 2011 I created an AutoIt script that starts our software application and signs on to it. The AutoIt script works fine. I normally will start the SignOn script from a Main PC and execute it on many remote PC's using PsExec. Here is the CMD line that I use for PsExec from my Main PC: "psexec.exe \\remotePC -u user -p password -d -c -i 0 \\netshare\autoit\SignOn.exe USERNAME" When I run the SignOn.exe script over the network with PsExec it seems to work fine. Our software application starts and it signs on without any errors. But, here's where it gets strange. We use IBM's Rational Robot software to perform automated testing of our software application. After running the SignOn.exe script using PsExec, when I then try to run Rational Robot to perform automated testing of our software application, Rational Robot runs extremely slow to the point that it seems frozen. Now, if I run the SignOn.exe script on PC's A, B and C locally without using PsExec it also works fine but now when I run my Rational Robot automated testing Rational Robot works fine. I only have an issue if I run the SignOn.exe script using PsExec. Other notes: - Our software application seems to be working fine. I can perform any tasks manually in it without issue. - Rational Robot seems to be working fine. I created a test script in it that performs a few things in Windows Notepad and when I run this script it works like normal. To rehash: - Main PC uses PsExec to run SignOn.exe (AutoIt script) on PC's A, B and C - SignOn.exe successfully completes on PC's A, B, and C - Try running Rational Robot automated testing on PC's A, B and C and it freezes up - Perform various tasks in our software application manually and it works - Run a different script in Rational Robot using Windows Notepad and it works. - Try running Rational Robot automated testing on PC's A, B and C again it still freezes up - Shutdown our software application and run SignOn.exe locally without using PsExec and everything works like normal. I don't know if I have a issue with PsExec, AutoIt, Rational Robot or our Software application but I would appreciate any tips or advice anybody might have to help me troubleshoot this.
MrMitchell Posted January 20, 2011 Posted January 20, 2011 There are so many posts it's hard to keep track lol So...how many things are we dealing with her? an AutoIt script - SignOn.exe? This resides on the main PC or in a common location which all PCs can access? Rational Robot?- I assume this is installed on all PCs? "Software Application"- This is the app that you are controlling? And this is installed on all PCs too? So: 1. Run PsExec on the main PC which in turn launches SignOn.exe on a remote PC. 2. SignOn.exe then launches your software app, runs updates, then signs in to it? 3. SignOn.exe then launches Rational Robot to run various testing on the software app? I wonder, if everything above is correct, if SignOn and Rational Robot are butting heads trying to control the same app at the same time?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now