Timeline for How to add multiple files in Selenium Web-driver using Java
Current License: CC BY-SA 4.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 13, 2021 at 12:12 | vote | accept | Dhairya | ||
Jul 19, 2020 at 11:28 | comment | added | user46018 | None of the solution is working for me. The issue i am facing is - Files are getting uploaded till second iteration. But at third iteration, console showing third file path. But on UI, script is uploading second file. Looking forward for correct solution | |
Apr 1, 2019 at 9:45 | vote | accept | Dhairya | ||
Sep 13, 2021 at 12:12 | |||||
Mar 29, 2019 at 9:31 | comment | added | Dhairya | Thanks, @BillHileman, but this thing either didn't work. | |
Mar 28, 2019 at 15:00 | history | tweeted | twitter.com/StackSQA/status/1111281934498521088 | ||
Mar 28, 2019 at 13:56 | comment | added | Bill Hileman |
Pass it as one string - concatenate the semicolon INSIDE the quotations, i.e. sendKeys("file1.txt;file2.jpg")
|
|
Mar 28, 2019 at 13:53 | comment | added | Dhairya | Hey Bill, tried your suggestion, using semicolons. It didn't work for me. I added two file paths like sendKeys("file1.txt";"file2.jpg"). It shows compile time error, whereas if we separate it by comma like sendKeys("file1.txt","file2.jpg"), this thing didn't show compile time error but shows run time error. Correct me if I've done anything wrong. One more thing, for this query of mine. I googled & even searched for the solution here as well. But couldn't find, that's why I added this question. | |
Mar 28, 2019 at 13:30 | comment | added | Bill Hileman | I am completely baffed as to why this question has three upvotes and the posters own "answer" which does not seem to me to even pertain to his own question gets two more upvotes. Neither the question nor his answer makes any sense. | |
Mar 28, 2019 at 11:39 | answer | added | Dhairya | timeline score: 4 | |
S Mar 28, 2019 at 10:07 | history | suggested | ThiliKarunarathne | CC BY-SA 4.0 |
corrected spellings
|
Mar 28, 2019 at 6:38 | review | Suggested edits | |||
S Mar 28, 2019 at 10:07 | |||||
Mar 27, 2019 at 17:49 | answer | added | Muzzamil | timeline score: 1 | |
Mar 27, 2019 at 14:37 | comment | added | Bill Hileman | How would it be done manually? Most of the time, if multiple file selections are allowed via a dialog, when you click OK on the box, it populates the files separated by semicolons. If that's the case, just send your list of files separated by semicolons. | |
Mar 27, 2019 at 12:52 | answer | added | Upkar Singh | timeline score: 0 | |
Mar 27, 2019 at 12:46 | history | edited | Dhairya |
edited tags
|
|
Mar 27, 2019 at 12:43 | review | Suggested edits | |||
Mar 27, 2019 at 12:45 | |||||
Mar 27, 2019 at 12:36 | history | asked | Dhairya | CC BY-SA 4.0 |