Web elements
File upload & download
Single and multiple upload with type/size validation, a drop zone, real server upload and genuine file downloads.
Practice tasks
- Upload a .png with setInputFiles and assert it appears in the list.
- Upload a file over 1 MB and assert the error.
- Upload a .exe and assert it is rejected.
- Click each download link and assert the downloaded file name and contents.
- Send the files to the server and assert the 201 response.
- After clicking Upload to server, assert the upload-success confirmation and the uploaded-item entries.
More Web elements practice
- Text inputs & forms
- Radios, checkboxes & switches
- Dropdowns & autocomplete
- Date pickers
- Sliders & ranges
- Alerts, modals & popups
- Hover, menus & tooltips
- Mouse & keyboard actions
- Drag & drop
- iFrames & windows
- Shadow DOM
- Tabs & accordion
- Notifications & add/remove
- Scrolling & infinite scroll
- Links, redirects & images
- SVG elements