Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Test Case #:380


Test Case Name: Full Supply Data validation in the product grid

System: openLMIS

Subsystem: blue

Test case designed by: Lucyna Laska

Design Date:03.11.2016

Short description

  • Only columns that are part of the template (and shown on the screen are validated
  • All mandatory fields must be set if their source is user input. Non-mandatory fields at submit are: quantity approved, skipped, remarks, losses and adjustments, reason for requested quantity
  • Reason for requested quantity must be provided if requested quantity is provided
  • Expiration date must have correct format
  • Even if both stock on hand and total consumed quantity are both set to user input, they still need to follow the arithmetic: E=A+B(+/-)D-C

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       



Step

Action

Expected system response

Comment

1

When I want to check, how looks the template for Family Planing program:

  • I am looking
an

When proper requisition template is displayed, all included columns are listed.

Image Modified



2

When i try to submit the requisition, those fields are non-mandatory:

  •  Total losses and adjustments, reason for requested quantity (when Requested Quantity =0).


After filling all required fields, submission can be done.

Image Modified


3

Try to authorize the requisition.


When everything is ok, requisition is authorized successfully.

Image Modified


4During approving the requisition, it's required to fill the Approved Quantity and Remarks fields.


Image Modified


5

When Approved Quantity is filled, try to approve the requisition.



The requisition was successfully approved.

Image Modified

6

Requested Quantity Explanation must be provided if Requested Quantity is filled

  • When requested Quantity = 0, the Requested Quantity Explanation can be empty.
    Image Modified

  • Requested Quantity can't be empty, negative values are not allowed


Image Modified


  • When Requested Quantity is different than 0, the Requested Quantity Explanation is required.

7

When both stock on hand and total consumed quantity are set to user input, they still need to follow the arithmetic: E=A+B(+/-)D-C

Image Modified


8




9

                                                




Post – conditions: