Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Test Case #:284


Test Case Name: UI for Total Stockout Days (X) requisition field

System: openLMIS

Subsystem: blue

Test case designed by: Lucyna Laska

Design Date:04.11.2016

Short description

  • if this field is on the requisition template for a given program, then when you initiate a requisition the field will show up in the UI based on the display order applied in the requisition template.
  • the field allows a non-negative integer value (0,1,2,etc) to be entered by user
  • the default value of the field is zero (zero stockout days); the field is optional, meaning that the user can leave it zero and save/submit their requisition
  • invalid entries into the field (like making it a negative number or a string or "") display a friendly warning message, and prevent the user from submitting their requisition (it may cache or save)

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       

Step

Action

Expected system response

Comment

Note:Demo-data has been used during testing this ticket.

1

                                                                                   Find the ID of program with name: "Family Planing"                                                                                                                                                                                                                                                                

2

Find the ID of requisition template associated with program "Family Planing"


3

Verify, if field "Total Stockout Days" is configured in requisition template



Check, If field is available on requisition details.

4

Configure the display order for Total Stockout Days.


5

Disable the Total Stockout Days.

6

 Check, If Total Stockout Days is disabled.


7

 Check if Total Stockout Days is required.


8

                         Check if default value for Total Stockout Days is equal to 0.                      



Check if it's possible to submit requisition when Total Stockout Days is empty.


Check if field accept negative values.

Post – conditions:

  • No labels