Form Autofill through File Upload

Objective:

To verify that the form can be successfully autofilled by uploading a pre-filled form file.

Precondition:

The web application is accessible and functional.

The form to be filled is available and accessible.

Test Steps:

Positive Case: Successful Autofill

Launch the web browser and navigate to the URL of the form.

Locate the option/button for uploading a form file.

Click on the upload button.

Choose a pre-filled form file from the local system.

Verify that the form fields are automatically filled with the data from the uploaded file.

Check that all mandatory fields are populated correctly.

Verify that optional fields, if any, are filled correctly as per the uploaded file.

Submit the form.

Verify that the form submission is successful and the data is saved correctly.

Negative Case: Invalid File Format.

Upload a file with an unsupported format (e.g., .txt or .jpg).

Verify that the system displays an error message indicating that the file format is not supported.

Negative Case: Empty File

Upload an empty file.

Verify that the system displays an error message indicating that the uploaded file is empty.

Positive Case: Large File Handling

Upload a pre-filled form file of large size (e.g., 10 MB).

Verify that the upload process completes smoothly without significant delay.

Ensure all form fields are filled correctly based on the uploaded large file.

Positive Case: Multiple File Formats

Upload pre-filled form files of different formats (e.g., PDF, DOCX, XLSX).

Verify that the system successfully auto-fills the form regardless of the file format.

Leave a comment

Your email address will not be published. Required fields are marked *