Upload a File

7. How do you upload files using Selenium

A) we can use action class sendKeys(use the path of the file) to upload files.
if not using selenium then it is AutoIT



AutoIT
Runtime.getRuntime().exec("E:\\AutoIT\\FileUpload.exe"); 

Comments

Popular posts from this blog

Implicit and Explicit Waits,FluentWait,PageLoadTimeOut

A Interview Questions- selenium