uploading a text file by clicking a browse button
-
11-06-2021 - |
문제
I am writing robot tests for web testing using Robot Framework with SeleniumLibrary (a test library) , one of my test involves uploading a file from the desktop by clicking on a"Browse" button on the webpage and using the windows file explorer window that pops up to navigate to and select the file. I have downloaded Autolt library but not able to figure it out which keyword is to be used.Any sample testcase is more helpful.
해결책
The Choose File
should work the way you want.
If that doesn't work, try Press Key
or Press Key Native
to directly type the path to your input.
제휴하지 않습니다 StackOverflow