Unable to run the autoit script in selenium code via Jenkins | Selenium Forum
M
Posted on 29/11/2016
In my project i need to upload some files in the test application. and send keys option is not possible. hence i have used Auto it.
when i run the selenium script locally in my machine it runs fine, the auto it script embedded within my selenium code also works fine and the upload is working . but when i try to run the selenium code via Jenkins the upload step fails, the auto it script does not run. Can you pls help me out with this.

M
Replied on 30/11/2016

where are you running Jenkins?


M
Replied on 30/11/2016

i tried to connect Jenkins to the sauce labs and also tried connecting it to a local VM in the office . both ways it fails.

do i need to configure anything in Jenkins.?

i have the autoit exe in my selenium code (java). we build the jar file and pass on this jar file to be executed in Jenkins.

also came to know, jenkins runs the project in the background in the vm specified. could this be a reason the Auto it script is not able to run.

can you pls help me out.