RealityCorp Internal Test Scripts Output Test

RealityCorp Internal Test Scripts Output Test
Protocol: RealityCorp Demonstration Protocol
Author: Jeff Rubesin
Date: 02-May-2012 16-18-12
Requirement(s) and Version 2.0-2.7- Entire Acknowledge Shipment Flow - 1.0
Test Script Version: 1.1
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Signature Page Pre-Execution
Signature/Date [dd-Mmm-YYYY]
Author: Jeff Rubesin
Reviewer: Adrian Vasile
COMPANY CONFIDENTIAL
Page 2 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Signature Page Post-Execution
Signature/Date [dd-Mmm-YYYY]
Approval: Brett Castano
QA Approval: Ryan Ford
COMPANY CONFIDENTIAL
Page 3 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Purpose: The purpose of this test script is to test all aspects of Acknowledge Shipment including all negative and positive flows as well as
database verification
Prerequisite: Correct Dataset up and at least one shipment on transit
Summary:
Bug Number
Test Script Step
Number
Requirement
Step Status
1.
TS12
Step 12
ManualVerification
2.
TS18
Step 18
Fail
COMPANY CONFIDENTIAL
Page 4 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS1
Requirement: Step 1
Step Status: Pass
Step Description: Run the Login Common Module and ignore the status
Action
Input
Result.ExecuteAction.
Ignore,Module,Run
Expected Result
The User is logged into the system
through the common module
Actual Result
As Expected
Status
Pass
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 5 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: DB Conn
Requirement: NA
Step Status: Pass
Step Description: Connect to DB
Action
Database.Connect.
Input
Expected Result
DRIVER=SQL
Database it connected
Server;UID=IVRDemo;DATABASE=IVRDemo;SERVER=RCIVR\RC_IVR;Pwd=ivrdemo
Actual Result
As Expected
Status
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 6 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: Login TS1
Requirement: Login 1.1
Step Status: Pass
Step Description: Dial the system phone number from the environment tab
Action
Dialer.Dial.
Input
1
Expected Result
Actual Result
Welcome to the RealityCorp Interactive
Voice Response System Demo. Please Enter
the protocol number now.
Welcome to the RealityCorp interactive
voice response system demo please
enter the protocol number now
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 7 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: Login TS2
Requirement: Login 1.2
Step Status: Pass
Step Description: Retrieve the Site Number and the User Role from the database
Action
Input
Expected Result
Actual Result
Status
Database.GetRecordset.
"Select Site_Num,User_Type_ID
from IWR_User where UserID =
'999002'",True
Select the Site Number
and User Type from the
Database
999|1
Pass
Database.CaptureFieldValueByRowToDataRow.
1,"Site_Num","Site"
Save the Site Number to
the datasheet
999
Pass
Database.CaptureFieldValueByRowToDataRow.
1,"User_Type_ID","User_Type_ID" Save the User Type to
the datasheet
1
Pass
Result.SetGlobalVariable.
Site,999
999
Pass
Save the Site Number to
a global variable
Objective Evidence:
COMPANY CONFIDENTIAL
Page 8 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
COMPANY CONFIDENTIAL
Page 9 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: Login TS3
Requirement: Login 1.3
Step Status: Pass
Step Description: Press the protocol number
Action
Dialer.Press.
Input
1001
Expected Result
Please enter your six digit user id
Actual Result
Please enter your six digit user ID
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 10 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: Login TS4
Requirement: Login 1.4
Step Status: Pass
Step Description: Enter the User ID
Action
Dialer.Press.
Input
999002
Expected Result
Please enter your four digit password
Actual Result
Please enter your four digit password
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 11 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: Login TS5
Requirement: Login 1.5
Step Status: Pass
Step Description: Enter the User Password
Action
Dialer.Press.
Input
1234
Expected Result
Welcome to Realitycorp's demo system.
This systemis for demonstration purpoes
only. Your site ID is nine nine nine. If this is
correct press one. If this is not correct,
press zero. Or Press nine to terminate this
call.
Actual Result
Welcome to RealityCorp demo system
this system is for demonstration
purposes only your site ID is nine nine
nine if this is correct press one if this is
not correct press zero or press nine to
terminate this call
Status
Pass
Match: 96%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 12 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: Login TS11
Requirement: Login 1.11
Step Status: Pass
Step Description: Press one to get to main menu
Action
Dialer.Press.
Input
"1"
Expected Result
Actual Result
Main Menu To Randomize a subject press
one To acknowledge Receipt of a drug
shipment press two To unblind a subject
press three to repeat this menu press eight
to terminate this call press nine
Main menu to randomize a subject
press one to acknowledge receipt of a
drug shipment press two to unblind a
subject press three to repeat this menu
press eight to terminate this call press
nine
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 13 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS2
Requirement: Step 2
Step Status: Pass
Step Description: Perform prerequisite data setup for the following scenario
Action
Database.ExecuteQuery.
Input
Expected Result
"EXECUTE IWR_ResetDB UPDATE
The database is set up in order
ivr_User_Pin Set Pin = '98-83-93to perform the following test
64',modified_dt = GETDATE() where
steps
userId in
('999002','999001','999003','999004')
EXECUTE IWR_OrderKits '999',1,1
EXECUTE IWR_OrderKits '999',1,1
EXECUTE IWR_OrderKits '999',1,1
EXECUTE IWR_OrderKits '344',1,1
EXECUTE IWR_Accept_Kits
'344','00000004',0"
Actual Result
As Expected
Status
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 14 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS3
Requirement: Step 3
Step Status: Pass
Step Description: Capture transit status from the database
Action
Input
Expected
Result
Actual
Result
Status
Database.GetRecordset.
"SELECT CASE WHEN (select DISTINCT
ISNULL(ORDER_RECEIVED_DATE,ORDER_DAMAGED_DATE)FROM
IWR_KIT_ON_ORDER O INNER JOIN IWR_KIT_AT_DEPOT D ON
O.KIT_NUMBER = D.KIT_NUMBER WHERE SHIPMENT_ID =
'00000001') IS NULL THEN 'InTransit' ELSE 'Received' END
""TransitStatus""",True
InTransit
Pass
Database.CaptureFieldValueByRowToDataRow.
1,"TransitStatus","TransitStatus"
Determine
if the
shipment
that is to
be
received is
in transit
or already
received at
site
Capture
the
returned
value to
the
datasheet
InTransit
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 15 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
COMPANY CONFIDENTIAL
Page 16 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS4
Requirement: Step 4
Step Status: Pass
Step Description: Verify Acknowledge Drug
Action
Dialer.Press.
Input
"2"
Expected Result
You have indicated you would like to
acknowledge receipt of a drug shipment. If
this is correct press one, if this is incorrect
press zero.
Actual Result
You have indicated you would like to
acknowledge receipt of a drug
shipment if this is correct press one or
if this is incorrect press zero
Status
Pass
Match: 98%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 17 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS5
Requirement: Step 5
Step Status: Pass
Step Description: Invalid
Action
Dialer.Press.
Input
"3"
Expected Result
That was not a valid entry. You have
indicated you would like to acknowledge
receipt of a drug shipment. If this is correct
press one, or if this is incorrect, press zero.
Actual Result
That was not a valid entry you have
indicated you would like to
acknowledge receipt of a drug
shipment if this is correct press one or
if this is incorrect press zero
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 18 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS6
Requirement: Step 6
Step Status: Pass
Step Description: Back to Main menu
Action
Dialer.Press.
Input
"0"
Expected Result
Actual Result
Main Menu To Randomize a subject press
one To acknowledge Receipt of a drug
shipment press two To unblind a subject
press three to repeat this menu press eight
to terminate this call press nine
Main menu to randomize a subject
press one to acknowledge receipt of a
drug shipment press two to unblind a
subject press three to repeat this menu
press eight to terminate this call press
nine
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 19 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS7
Requirement: Step 7
Step Status: Pass
Step Description: Verify Acknowledge Drug
Action
Dialer.Press.
Input
"2"
Expected Result
You have indicated you would like to
acknowledge receipt of a drug shipment. If
this is correct press one or if this is incorrect
press zero.
Actual Result
You have indicated you would like to
acknowledge receipt of a drug
shipment if this is correct press one or
if this is incorrect press zero
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 20 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS8
Requirement: Step 8
Step Status: Pass
Step Description: Confirm above step
Action
Dialer.Press.
Input
"1"
Expected Result
Please enter the eight digit order number
located on the packing list.
Actual Result
Please enter the eight digit order
number located on the packing list
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 21 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS9
Requirement: Step 9
Step Status: Pass
Step Description: Enter invalid order number that is less that 8 digits
Action
Dialer.Press.
Input
"1234567"
Expected Result
That was not a valid entry. Please enter the
eight digit order number located on the
packing list.
Actual Result
Status
That was not a valid entry please enter Pass
the eight digit order number located on Match: 100%
the packing list
Objective Evidence:
COMPANY CONFIDENTIAL
Page 22 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS10
Requirement: Step 10
Step Status: Pass
Step Description: enter a Valid 8-digit order number
Action
Dialer.Press.
Input
00000001
Expected Result
You entered, zero zero zero zero zero zero
zero one. If this is correct press one or if
this is incorrect press zero.
Actual Result
You entered zero zero zero zero zero
zero zero one if this is correct press
one or if this is incorrect press zero
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 23 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS11
Requirement: Step 11
Step Status: Pass
Step Description: Invalid Choice
Action
Dialer.Press.
Input
"3"
Expected Result
That was not a valid entry. You entered,
zero zero zero zero zero zero zero one. If
this is correct press one or if this is
incorrect, press zero.
Actual Result
That was not a valid entry you entered
zero zero zero zero zero zero zero one
if this is correct press one or if this is
incorrect press zero
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 24 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS12
Requirement: Step 12
Step Status: ManualVerification
Step Description: Incorrect
Action
Dialer.Press.
Input
"0"
Expected Result
Please enter the eight digit order number
found on the packing slip.
Actual Result
Please enter the eight digit order
number located on the packing list
Status
ManualVerification
Match: 86%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 25 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS13
Requirement: Step 13
Step Status: Pass
Step Description: Generate bad order from the database
Action
Database.GetRecordset.
Input
" SELECT TOP 1 SHIPMENT_ID
""BadOrder"" FROM
IWR_KIT_ON_ORDER O
INNER JOIN IWR_SITE S ON
O.SITE_ID = S.SITE_ID AND
S.SITE_NUM <> 999",True
Result.WriteToDataRow. BadOrder,TS13,1,ActualResult
Expected Result
Actual Result
Status
Retrieve a shipment that is from a
different site to test this
requirement
00000004
Pass
Save the retrieved results into the
datasheet
Column name = BadOrder,
Result = 00000004
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 26 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
COMPANY CONFIDENTIAL
Page 27 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS14
Requirement: Step 14
Step Status: Pass
Step Description: Enter an 8-digit order number that does not belong to the site
Action
Dialer.Press.
Input
00000004
Expected Result
You entered, zero zero zero zero zero zero
zero four. If this is correct press one or if
this is incorrect or press zero.
Actual Result
You entered zero zero zero zero zero
zero zero four if this is correct press
one or if this is incorrect press zero
Status
Pass
Match: 97%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 28 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS15
Requirement: Step 15
Step Status: Pass
Step Description: Confirm above step
Action
Dialer.Press.
Input
"1"
Expected Result
You have entered an invalid order number.
Please enter the eight digit order number
located on the packing list.
Actual Result
You have entered an invalid order
number please enter the eight digit
order number located on the packing
list
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 29 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS16
Requirement: Step 16
Step Status: Pass
Step Description: enter a Valid 8-digit order number
Action
Dialer.Press.
Input
00000001
Expected Result
You entered, zero zero zero zero zero zero
zero one. If this is correct press one or if
this is incorrect, press zero.
Actual Result
You entered zero zero zero zero zero
zero zero one if this is correct press
one or if this is incorrect press zero
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 30 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS18
Requirement: Step 18
Step Status: Fail
Step Description: Set prompt for in transit drug
Action
Dialer.Press.
Input
"1"
Expected Result
Was the drug shipment received intact and
undamaged without a temperature
excursion? Press one for yes or two for no.
Actual Result
Was the drug shipment received
complete and in good condition press
one for yes or two for no
Status
Fail
Match: 62%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 31 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS23
Requirement: Step 23
Step Status: Pass
Step Description: End Above Section
Action
ControlStatement.EndIfCondition.
Input
Expected Result
As Expected
Actual Result
As Expected
Status
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 32 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS24
Requirement: Step 24
Step Status: Pass
Step Description: Invalid Choice
Action
Dialer.Press.
Input
"3"
Expected Result
That was not a valid entry. Was the drug
shipment received complete and in good
condition? Press one for yes or two for no.
Actual Result
That was not a valid entry was the drug
shipment received complete and in
good condition press one for yes or
two for no
Status
Pass
Match: 100%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 33 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS50
Requirement: Step 50
Step Status: Pass
Step Description: Confirm good condition
Action
Dialer.Press.
Input
"1"
Expected Result
You entered Yes. If this is correct press one,
if this is incorrect press zero.
Actual Result
You entered yes if this is correct press
one or if this is incorrect press zero
Status
Pass
Match: 96%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 34 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS51
Requirement: Step 51
Step Status: Pass
Step Description: Configure Dialer
Action
Dialer.Configure.
Input
Expected Result
"2650","1500","200",True Temporarily set the timing
configurations to account for database
processing
Actual Result
As Expected
Status
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 35 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS52
Requirement: Step 52
Step Status: Pass
Step Description: Register the drug into the available inventory
Action
Dialer.Press.
Input
"1"
Expected Result
Actual Result
Please wait while I process your request.
Thank you. Order zero zero zero zero zero
zero zero one has been acknowledged as
being received complete and good
condition. You will receive a confirmation
shortly via email confirming this transaction
Main Menu To Randomize a subject press
one To acknowledge Receipt of a drug
shipment press two To unblind a subject
press three to repeat this menu press eight
to terminate this call press nine
Please wait while I process your
request thank you order zero zero zero
zero zero zero zero one has been
successfully acknowledged as being
received complete and in good
condition you will receive a
confirmation shortly via e-mail
confirming this transaction Main menu
to randomize a subject press one to
acknowledge receipt of a drug
shipment press two to unblind a
subject press three to repeat this menu
press eight to terminate this call press
nine
Status
Pass
Match: 96%
Objective Evidence:
COMPANY CONFIDENTIAL
Page 36 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS53
Requirement: Step 53
Step Status: Pass
Step Description: Configure Dialer
Action
Dialer.ResetConfiguration.
Input
Expected Result
Reset the configurations to return to the
standard timing configurations
Actual Result
As Expected
Status
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 37 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS54
Requirement: Step 54
Step Status: Pass
Step Description: Hang Up The system
Action
Dialer.HangUp.
Input
Expected Result
The system hangs up
Actual Result
As Expected
Status
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 38 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS65
Requirement: Step 65
Step Status: Pass
Step Description: Wait 5 seconds to ensure email is in the inbox
Action
SyncTimer.WaitSeconds.
Input
5
Expected Result
Wait a specified amount of time for the
email to process successfully
Actual Result
As Expected
Status
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 39 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS66
Requirement: Step 66
Step Status: Pass
Step Description: Configure email settings
Action
EmailUtilities.Configure.
Input
Expected Result
"pop.realitycorp.com",110,False Setup the email configurations to
retrieve a confirmation email from
a specified user
Actual Result
As Expected
Status
Pass
Objective Evidence:
COMPANY CONFIDENTIAL
Page 40 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
Step Number: TS67
Requirement: Step 67
Step Status: Pass
Step Description: Retrieve order acknowledgement email
Action
EmailUtilities.OpenAttachment.
Input
Expected
Result
Actual
Result
Status
"[email protected]","IVRDemo1","Order_Acknowledgement_00000001.doc" Open and As
Pass
save the
Expected
email that
was
generated
by the IVR
System
Objective Evidence:
COMPANY CONFIDENTIAL
Page 41 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
COMPANY CONFIDENTIAL
Page 42 of 43
RealityCorp Automation Test Script Output Template, effective: 11Apr2011
COMPANY CONFIDENTIAL
Page 43 of 43