Jump to content

Unable to run autoIT in remote machine works fine locally


saiparth
 Share

Recommended Posts

I stable script which is used to upload file in local machine is not working on executing through selenium grid,I have auto script/files available in remote machines.also if i click on exe it works perfectly and I am able to upload file.Problem is only when i execute through code

Link to comment
Share on other sites

  • Moderators

@saiparth there is little we can do to troubleshoot the problem without seeing your code.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Code to execute AutoIt

case "fileName":
                        process = Process.Start(@"E:\graderDocs\graderWord_0_score\word0.exe");
                        break;

AutoIT script

WinWaitActive("Open")
Send("C:\graderDocs\graderExcel_22.5_score\Last_First_sk16_xl_ch1-4_grader_cap_hw.xlsx")
Send("{ENTER}")

Its working fine in my machine & Friends machine.Only while executing in selenium grid its failing.

Thanks,

Parth

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...