Currency Conversion Test Procedure

Only available on StudyMode
  • Download(s) : 327
  • Published : September 9, 2012
Open Document
Text Preview
Currency Conversion Test Procedure
Display Menu Test Cases
Test Case 1: Valid Selection = Canadian Dollars
Inputs: Menu Selection = 1
Expected Outputs:
“Do you want to continue with the conversion: Y = Yes, N = No”
Currency Type = 1
Test Case 2: Invalid Selection = Russian Rubels
Inputs: Menu Selection = > 5
Expected Outputs:
“Invalid menu selection, please pick a different selection.” Test Case 3: Quit = N
Inputs: Quit = N
Expected Outputs:
“Do you want to continue with the conversion: Y = Yes, N = No”

Test Case 4: Quit = Y
Inputs: Quit = Y
Expected Outputs:
“Are you sure you want to quit: Y = Yes, N = No”
Test Case 5: Quit Verified = Yes
Inputs: Quit = Y
Expected Outputs: End
Test Case 6: Quit Verified
Inputs: Quit = N
Expected Outputs:
Return to menu list: “Choose a menu selection”
Test Case 7: Conversion Verified: Y = Yes
Inputs: Continue with conversion = Y
Expected Outputs: Call get-int-value module
Test Case 8: Coversion Verified: N = No
Inputs: Continue with conversion = N
Expected Outputs: Return to menu list: “Choose a menu selection” Get-Int-Value Test Cases
Test Case 1: Legal input = 543
Inputs: 543
Output: valid input?
Test Case 2: Illegal Input= Banana
Inputs: Banana
Output: “Error: Illegal Value, please enter a legal value” Test Case 3: Valid Input
Input: 543
Expected Output: Call CurrencyConversion Module
Test Case 4: Invalid Input
Input: -11
Expected output: “Error: Invalid input, please enter a valid value” Currency Coversion Test Cases
Test Case 1: Valid International Currency = Canadian Dollars
Inputs: Currency Type = 1
Int-Value= 150.00
Expected Output: convert currency US Value = Rate * Int-Value Test Case 2 : Valid International Currency= Mexican Pesos
Inputs: Currency Type = 2
Int-Value= 150
Expected Output: Convert currency US Value = Rate * Int-Value Test Case 3: Valid International Currency = English Pounds
Inputs: Currency...
tracking img