Below are my AutoIt Script :
ControlFocus("Open","","Edit1") ControlSetText("Open","","Edit1","C:\\project\\data\\data.csv") ControlClick("Open","","Button1")
And Converting the file to exe which is used in the java file as below.
Runtime.getRuntime().exec("C:\\project\\script\\TestAutoIt3.exe");
Now I have to upload 10 files, I have two Questions here:
- Can I pass the fileName dynamically and create exe files?
- If I want to run this script in others system , the exe file will not work because the project might be in some other path. How can I handle this?
Thanks in Advance?
selenium
only?