File Upload
In general for file uploads, it is expected that the upload action has input type set to file. If there is a web component with file upload input component present, DevAssure's intelligent recorder will be able to record the file upload actions as well.
Record the File upload action
Here is a screenshot on how DevAssure's intelligent recorder is able to capture the file upload actions.
DevAssure sample automation code for File Upload
Once the recording is completed, the actions can be saved and the test case can be executed. Here is a screenshot of the complete code from DevAssure's no code automation platform.
Besides this, there are other file operations that can be performed using DevAssure -
- File read and write
- Handling file downloads and the downloaded files
- Extracting file paths
- Identifying file locations