Auto IT issue- error while uploading file | Selenium Forum
M
Posted on 07/02/2017
I am using AUTO IT tool to upload file as explained in Module 15.

I have included temp.exe in my project but it is showing [b:1g3jenwf]error java.io.IOException: Cannot run program "C:\Users\Dellk\workspace\Freshstartsrc emp.exe": CreateProcess error=2, The system cannot find the file specified[/b:1g3jenwf]

I am attaching my Java code for upload and temp.exe screenshots as well.

M
Replied on 08/02/2017

Freshstartsrc emp.exe get rid of free space.

use this
Freshstartsrc_emp.exe


M
Replied on 08/02/2017

What is Freshstartsrc_emp.exe exactly? Do you mean I need to change name of temp.exe file or create a new one?


M
Replied on 08/02/2017

sorry use this

Process p= new ProcessBuilder(System.getProperty("user.dir")+"src[color=#FF0000:18gv9v41]\\[/color:18gv9v41]temp.exe", "", "Open").start();


M
Replied on 09/02/2017

I updated the code. The window is opened but file is not uploaded now, but the test case is run successfully. While opening temp.exe also, it shows an error.

I am attaching java code and temp.exe in zipped file and sending screenshots of error message and screens.


M
Replied on 14/02/2017

Please have a look at the attachment and provide solution for this. I am stuck with uploading file module (explained in Chapter 15) for a long time.


M
Replied on 16/02/2017

can you come on skype?


M
Replied on 16/02/2017

Yes I can come on skype on weekend (Saturday or Sunday).

My skype id is: vipin951vp@yahoo.in


M
Replied on 16/02/2017

can you come today?


M
Replied on 22/02/2017

I can come on skype tomorrow morning between 10 to 1 p.m. Is it Ok?


M
Replied on 23/02/2017

i have sent you skype request.