How to upload a file?

Below is an example scenario on how to upload a file, along with a video showing how to execute it. You can review and try it by updating the file name with your own!

Example:

OpenBrowser Chrome "https://cgi-lib.berkeley.edu/ex/fup.html"
Click Text "Choose File"
ClickAndWrite Text "Search"  "sample.pdf"
SendKeys ENTER
Click Text "sample.pdf" [1]
Click Button "Open"
Click Text "Press"
IsVisible Text "You've uploaded a file"
1 Like