Wait for Upload File in WebDriver

1,408 views
Skip to first unread message

kapil aggarwal

unread,
Aug 26, 2013, 7:48:08 AM8/26/13
to webd...@googlegroups.com
Hi 
I have a scenario where i need to upload the file , driver.sendKeys is working fine but AUT takes time to upload file and i am not able to find a way to make script wait for upload 
Please help 

sunny sachdeva

unread,
Aug 26, 2013, 11:05:32 AM8/26/13
to webd...@googlegroups.com
After Upload you might get some confirmation message..why not wait for such element by using Fluent Wait...

Check out


Thanks
Sunny S

kapil aggarwal

unread,
Aug 26, 2013, 12:40:46 PM8/26/13
to webd...@googlegroups.com
No there is no Such confirmation and behavior of not showing pop up is expected one by Business

darrell

unread,
Aug 27, 2013, 9:12:25 PM8/27/13
to webd...@googlegroups.com
If you were manually testing the application, how would you know the upload has completed? Can you automate that? If you cannot detect the file has finished uploading manually then file a defect that it is a poor user experience.

Darrell
Reply all
Reply to author
Forward
0 new messages