Talk to a Kenyan software expert 0725 345 345

Zama Web Experts

File upload acceptance testing: prove that an attachment reaches the right record

November 3, 2026 · esther macharia

File upload acceptance testing follows a document beyond the green progress bar. A customer attaches a delivery note to request U19, presses Save and sees “Complete”. The important question is whether an authorised colleague can later open the intended document on U19, while another customer’s account cannot. Transferring bytes and attaching a document to a business record are different outcomes.

Use small, harmless files created for testing. Put the fictional reference U19 on the first page and a different reference U20 on a second file with the same name. Agree accepted formats, size limits, access rules and replacement behaviour with the project owner. Security specialists should assess the technical controls separately; a successful functional demonstration alone cannot establish that an upload service is secure.

File upload acceptance testing: File accepted, Record linked, Access checked. Call 0725345345.

File upload acceptance testing in four decisions

Use the four decisions below as a tabletop exercise. The case is fictional. Each decision pairs a new scenario with field notes drawn from a linked guide in our library. Read the scenario aloud first, and ask the next person to explain the result before consulting the notes.

1. Agree on the permitted document, not merely its name

Choose a small permitted sample and one harmless format outside the agreed list. Record the expected response for each before trying either. A filename ending in the expected extension is not evidence that the contents have been validated safely.

Ask the technical team how it enforces its documented policy; do not simulate attacks against a live customer site. For the ordinary case, open the saved attachment from U19, compare the reference printed inside it and check which role uploaded it. A thumbnail or matching filename is weak evidence if two different files can share the same name. File upload acceptance testing must verify which record owns the document, not just whether a browser transferred bytes.

Field notes from our software acceptance criteria guide:

Specify the important exception paths

Choose exceptions that reflect the actual process. An approver may be unavailable, a customer may cancel, or a supporting document may need replacement. Describe the expected handling and who decides the next step. Do not try to list every imaginable failure before the basic workflow is understood, but do not postpone common exceptions until launch.

Separate a valid business exception from a technical fault. A rejected request is an expected decision; a failed save is a different problem. Software acceptance criteria should make that distinction so the team can choose appropriate messages, status handling and follow-up. A user should not mistake an unsuccessful save for a completed rejection.

Keep changes visible after agreement

Business understanding can improve during development. When a criterion changes, record what changed, why and who approved it. Ask the delivery team to explain the effect on scope, testing and timing before treating the new expectation as already included. This creates a clearer conversation than quietly replacing the original wording after work has been completed.

Retain the connection between the criterion and the affected feature. Software acceptance criteria should remain useful during later maintenance, not disappear after the launch meeting. A future reviewer can then distinguish a defect against an agreed behaviour from a new improvement that needs its own assessment and approval.

2. Test the boundary without wasting a visitor’s time

Use the actual size limit in the project specification, including how units are measured. Prepare samples just under and just over that limit. If the user’s file is rejected, the page should explain the relevant limit and preserve the other form entries when appropriate. A message saying “Something went wrong” gives no practical next step.

Check whether the system enforces a separate combined limit across several files. Two individually permitted attachments may together exceed a request limit. The interface should explain that distinction before the visitor repeatedly resubmits the same pair or compresses a document until it is unreadable. A boundary case in file upload acceptance testing is only interpretable when the team defines the unit and the combined allowance.

Field notes from our form error messages guide:

Match the message to the visible field label

Use the same name that appears beside the field. If the form says Collection date, an error about delivery_timestamp forces the visitor to translate an internal term. Keep technical identifiers in the support record where appropriate and use the customer’s language in the form.

Distinguish missing information from unsuitable information

An empty field and a completed field with the wrong format are different cases. A message saying enter your email address can be confusing when the visitor has already entered something. The second case needs feedback about the information supplied, not a claim that nothing was provided.

Test with realistic examples and users

Create a small set of ordinary mistakes based on the actual form: a missing required value, an out-of-range quantity, an unavailable choice and a corrected resubmission. Ask someone unfamiliar with the implementation to complete the task. Observe where they hesitate and what they think the message means.

Maintain the messages when rules change

Assign an owner for wording and an owner for implementation. When a business rule changes, update the instructions, validation and messages together. An old example or limit can remain visible long after the underlying system has changed if nobody includes the text in the review.

3. Interrupt a transfer and retry deliberately

In an authorised test environment, use a controlled interruption rather than disconnecting a real customer. Distinguish failure during transfer, successful transfer before the form is saved, and failure after the attachment is already associated with U19. The recovery path can differ in each case.

Retry with the same harmless sample and inspect the attachment list and business history. One visible file is not enough if two review tasks were generated. Conversely, a legitimate second document sharing the first filename must not disappear merely because an employee assumes every repeated name is a duplicate. Include an interrupted business save in file upload acceptance testing; this is a different failure from an interrupted transfer.

Field notes from our duplicate submission testing guide:

Start duplicate submission testing with clear definitions

Two submissions containing similar information are not always duplicates. A customer may intentionally place two separate orders, while a second click on one order may be accidental. Agree which reference or business context identifies a single intended action. Without that definition, a system can either permit unwanted duplication or block legitimate repeated work.

Distinguish retries from corrections

A user may discover a mistake after submission and try to send corrected information. Decide whether the workflow requires an amendment, cancellation or new request. A repeated submission with changed fields may need different handling from a retry containing the same intended instruction.

Make confirmation useful to the user

A clear confirmation should help the user recognise what was submitted and what to do next. Include an appropriate reference or route to the saved result according to the design. A message that disappears immediately can leave a user uncertain and encourage another attempt even when the original action succeeded.

Define how support handles an apparent duplicate

Give support staff a clear way to investigate using permitted records. They should distinguish two valid requests from an accidental repetition before changing anything. Record which reference the customer supplied, what the application shows and who may authorise a correction or cancellation.

4. Test access after a role changes

Give the U19 reviewer access and confirm they can open the correct sample. Then remove their assignment under the agreed test procedure, sign in again as that role and revisit the saved attachment link. Check the destination as well as the list view: hiding a filename does not prove the underlying link enforces the intended access rule.

Try a second customer account with no assignment to U19. Record the message and result without disclosing unrelated file details. Finally, restore the expected test state and record who owns old attachments when a request is archived or a document is replaced. Finish file upload acceptance testing by opening the actual destination with the permitted and excluded test roles.

Field notes from our session timeout testing guide:

Define session timeout testing policy

Ask the technical team to explain which session limits apply and what events affect them. An inactivity limit and an overall session limit answer different questions. The reviewer should know which condition a scenario is meant to exercise rather than simply waiting until something changes on screen.

Establish the ordinary signed-in workflow

Complete a normal task before testing expiry. Confirm the starting role, permissions and expected saved result. This baseline helps distinguish a timeout problem from an unrelated form or access issue. Use a small fictional record that can be recognised easily in later checks.

Test a partially completed form

Enter fictional information into a form and follow the agreed expiry scenario before submitting. Observe whether the user is warned, whether any draft is saved and how the recovery works. The expected handling should be decided in advance, especially where retaining unfinished information has privacy or operational implications.

Check the action taken at the boundary

Review what happens when a user submits near the session limit. In a controlled test, the team should establish whether the action completed or was rejected and how the interface explains the result. An uncertain message can cause the user to repeat a submission that already succeeded.

File upload acceptance testing evidence sheet

Before running the example, cover the expected results and ask a colleague to predict them. Use the disagreements to decide which rule needs explaining. These are fictional test cases; use your own approved references for the real procedure.

Test conditionExpected evidence
Save the first delivery-note.pdf to U19An authorised reviewer can open the sample containing U19 from that record.
Save a same-named sample to U20Both records retain the intended content, with no overwrite caused solely by the filename.
Try an over-limit sample after completing the formThe message explains the limit and preserves valid entries according to the agreed design.
Open a saved link after the reviewer’s access changesThe destination enforces the intended access boundary independently of whether the filename remains visible.

File upload acceptance testing: questions before release

Why use two files with the same name?

Staff often upload documents named receipt.pdf or delivery-note.pdf. Distinct records must not acquire each other’s content simply because filenames match. Put different fictional references inside the two samples, upload them to separate records, reopen both and read the internal reference. Matching thumbnails or file sizes are insufficient evidence.

When should the system say an upload succeeded?

When the stage described by the message has actually completed. “File transferred” may truthfully describe an intermediate step; “Attached to U19” should mean an authorised reviewer can retrieve that attachment from U19. Agree how the interface handles a transferred file when the user cancels the business form before saving.

What should the support note include?

Record the fictional business reference, supported format, approximate size, role, observed message and failing stage. Do not attach a real customer’s document simply to demonstrate an error. A harmless equivalent sample helps technical staff reproduce the issue without widening access to private information.

Apply the exercise to your own team

For a discussion about file upload acceptance testing, contact Zama Web Experts on 0725345345. Bring one anonymised example, its starting position and the result your colleague expects. Ask for a demonstration using those details before assuming a particular feature or integration is available.

Other Kenyan business workflows

For a retail point-of-sale workflow, explore Vega POS. If your team is working in another sector, these services provide different examples: Prim for salon bookings, sales and stock; TAS for chama records and contributions; Saseni for writing orders and delivery; JAAT for shop and product listings; Dereva for driver discovery. Use the service that fits your task; a link does not establish that the systems exchange data.

For technical review, consult OWASP file upload guidance and agree the relevant checks with the project team.