I would like to write the code for uploading file using Autoit in Selenium Webdriver(C#). I have installed Autoit. Create the exe file where I have mentioned the file location which I want to upload.
But when I write :
Runtime.getRuntime().exec(fileupload);
It shows me the following error:
object doest not contain a definition for "getRuntime" and no extension method getRuntime.
Am I missing something? Can anyone help?