简体   繁体   中英

Valums-File-Uploader - Submit file using Java and Selenium

Im trying to submit a file to Valums-File-Uploader but im having trouble getting the file to submit/upload action to start. Im able to send example.txt to the file input but I am unable to make the submit action take place. Does anyone know how I can do this?

Any help would be appreciated.

The problem was that i wasnt using an absolute path which Valums-File-Uploader requires.

.sendKeys("C:\\workspace\\project\\src\\resources\\data\\ExampleCV.docx");

use double \\

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM