Hi,
I am trying to run psexec command to invoke Autoit script in c# webdriver.
Below part of script works fine if i run the script in remote machine from my local machine but when i run the same script through Bamboo it(GUI-browser pop up window opens and then stuck) is getting stuck at executing psexec command.
Note: I placed psexec.exe file in Bamboo server Windows folder.
Environment/Tools Used - Firefox, c# webdriver , Autoit, psexec
new Actions(driver).MoveToElement(uploadButton).Perform();
ILocatable loc = (ILocatable)uploadButton;
IMouse mouse = ((IHasInputDevices)driver).Mouse;
mouse.MouseDown(loc.Coordinates);
mouse.MouseUp(loc.Coordinates);
Thread.Sleep(1000);
//Upload a file
var procStartInfo=new System.Diagnostics.ProcessStartInfo("C:\\Windows\\psexec.exe");
procStartInfo.Arguments="\\\\.....-vm -i 2 -w c:\\webdriver cmd.exe /c c:\\webdriver\\upload.exe c:\\webdriver\\Testfiles\\.....test.xml >NUL";
var proc = new System.Diagnostics.Process { StartInfo = procStartInfo };
proc.Start();
Please provide your ideas/suggestions to execute it through Bamboo successfully.
Thanks
Soujanya