4. Uploading files in Robot Framework

Опубликовано: 18 Июнь 2023
на канале: Tech Edinam
4,775
34

Uploading files in Robot Framework are sometimes required on your part as a test automation engineer. It may sometimes be cumbersome to get the path to the file you are trying to upload. This video takes you through how to get the path to the file you are trying to upload, the potential errors that can arise with such paths, and also how to solve those errors if they do appear.

One typical error that can arise is the "path not canonical" error, which is solved by using the "Normalize Path" keyword.
Also, we use the css strategy to select the elements we want to interact with instead of using the xpath strategy.

NOTE
If for some reason, the video is blurry, click the settings icon on the bottom right of the player, then click "Quality" and then choose "1080p". That should fix it. Thank you