User

This page contains collection consisting of different scenarios of User Uploads which can be done to test in any environments.

These sheets have been created based on following assumptions:

URL - https://unified-qa.digit.org

locale - en_MZ

msgId - 1710912592752|en_MZ

hierarchy Type - ADMIN

project Type - LLIN-mz

Steps

  1. Import the environment variable file and collection file in Postman.

environment.json
collection.json
  1. Successful run scenario:

  • When a user adds valid data to the user file.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

Name

5555627761

Distributor

Permanent

ADMIN_MO_07_MAPUTO CITY

samplevalidfile
  • When a user uploads a valid sheet with a missing row in between

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

Name

5555627761

Distributor

Permanent

ADMIN_MO_07_MAPUTO CITY

  1. Negative run scenarios:

  • With an empty "Name of the Person (Mandatory)" column.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

5555627761

Distributor

Permanent

ADMIN_MO_07_MAPUTO CITY

  • With less than 2 letters in "the "Name of the Person (Mandatory)" column.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

N

5555627761

Distributor

Permanent

ADMIN_MO_07_MAPUTO CITY

  • Without phone number.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

Name

Distributor

Permanent

ADMIN_MO_07_MAPUTO CITY

  • With invalid values in the phone number column.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

Name

6347374

Distributor

Temporary

ADMIN_MO_07_MAPUTO CITY

Name1

ABC23

Distributor

Permanent

ADMIN_MO_07_MAPUTO CITY

  • With the same phone number.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

Name

6347374748

Distributor

Temporary

ADMIN_MO_07_MAPUTO CITY

Name1

6347374748

Distributor

Permanent

ADMIN_MO_07_MAPUTO CITY

  • Without data in the role column.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

Name

6347374748

Temporary

ADMIN_MO_07_MAPUTO CITY

Name1

6347374748

Permanent

ADMIN_MO_07_MAPUTO CITY

  • Without data in the Employment Type column.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

Name

6347374748

Distributor

ADMIN_MO_07_MAPUTO CITY

Name1

6347374748

Distributor

ADMIN_MO_07_MAPUTO CITY

  • With an empty Boundary Code column.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

Name

6347374748

Distributor

Temporary

Name1

6347374748

Distributor

Permanent

  • With invalid values in the Boundary Code column.

Example:

Name of the Person (Mandatory)
Phone Number (Mandatory)
Role (Mandatory)
Employment Type (Mandatory)
Boundary Code (Mandatory)

Name

6347374748

Distributor

Temporary

ABC

Name1

6347374748

Distributor

Permanent

111

Test Run collection -Passed

Was this helpful?