Testing Automation
What is it?
Simulate user using an application Compare actual results against stored baseline
Need to Work
Need to repeat tests Reproducible Coding that will interact with automation tool
Benefits
Time Accuracy
Steps to Automate
Create organization Simple record actions Add verification points Make robust
Add code to handle possible errors Add functions, headers
Create shell scripts
Type of Verification Points
Alphanumeric – value in a field Object properties – all the properties Object data – data in special objects (grid) Clipboard – what is currently in clipboard Window image - bit-by-bit comparison of entire window Region image – bit-by-bit comparison of defined region File comparison – bit-by-bit comparison of files
Automation Demonstration
An HL7 message 11/06/2002 17:03:30|his_in|05151998|ADT1.6|MSH|^~\&|HBOC|F1|PCM|F1| 200102011200| |ADT^A01|16413737|P|2.2|||AL|NE|^M EVN|A01|200102011200||^M PID|||wrdx234||DEE^TINA^L|||||||||||||wrdx234||^M PV1||I|2306||||rrr|||||||8||||I/P||80|||||||||||||||||||F1|OCC|||| 200102011200^M
Result in Database
Recorded Script
Edited Script
(handle errors and use functions)
Testing Log
Baseline Comparison