Orthogonal Array Testing Strategy
Orthogonal Array Testing Strategy
Strategy
LRuns (LevelsFactors )
Where,
Runs – Number of rows in the array, which translates into the
number of test Cases that will be generated.
Factors – Number of columns in the array, which translates
into the maximum number of variables that can be handled
by the array.
Levels – Maximum number of values that can be taken on by
any single factor.
Steps to OA creation :-
Ø
ØStep 1 :
1. Decide the independent variables to be included.
2. Independent variables map to factors of the array.
3.
ØStep 2 :
1. Decide the maximum number of values each independent variable takes.
2. Value map to the Array
ØStep 3
1. From the Orthogonal Array Selector, find a suitable Orthogonal Array with the
smallest number of Runs. ( Suitable array is one that has at least as many
factors (from Step 1) and as many levels (from Step 2).
2. Map the factors and levels onto the standard array.
3. Transcribe the Runs into test cases.
4.
ØStep 4
1. Add or remove any particularly suspicious combinations that aren’t generated.
i.
Orthogonal Array Selector
url: -
http://www2.research.att.com/~njas/oadir/index.html
http://www2.research.att.com/~njas/doc/cent4.html
http://www.york.ac.uk/depts/maths/tables/orthogonal.htm
General Example
Exhaustive Testing OAT
4 Variable. (4 Text Box)
3 Values. (Each text box can
OA (4,3) – L9(3^4)
take values between 1-3)
3 * 3).
Mapping OA
Important Notes
Note 1
The array selector assumes that each parameter has the
same number of levels. Sometimes this is not the case.
Generally, the highest value will be taken or the
difference will be split.
Note 2
If the array selected based on the number of parameters
and levels includes more parameters than are used in the
experimental design, ignore the additional parameter
columns.
Reimbursement Claim Module
Steps to use an OA with an Example
Preload – 2(Prior,Post)
Validate - 2(Prior,Post)
Load - 2(Prior,Post)
Script - 2(Prior,Post)
2^4 - L8
Runs Preload Validate Load Script
1 Prior Prior Prior Invalid
Prior Post Prior Valid
2
Prior Prior Post Valid
3
Prior Post Post Valid
4
Post Prior Post Valid
5
Post Post Prior Valid
6
Post Prior Post Valid
7
Post Post Prior Valid
8
9 Post Post Prior Valid
10 Post Post Post Invalid
OA 3 (Parameter 7 ; Level 2)
Runs Preload/Prior Preload/Post Validate/Prior Validate/Post Load/Prior Load/Post Script
Correct/Incorrect.
Update Data to be updated.
Methods/ Classes Used in LBMT
Extraction Transformation Update Mode
0 1 2 3 4 5
0 1 2
Logic http://people.sc.fsu.edu/~burkardt/datasets/oa/oa.html
http://www2.research.att.com/~njas/doc/cent4.html
http://support.sas.com/techsup/technote/ts723_Designs.txt
http://www.dotnetspider.com/resources/24806-Orthogonal-Array-for-Testing.aspx
0 0 0 0 0 0
1
1 0 1 1 2 2
2
2 1 0 2 2 1
3
3 1 2 0 1 2
4
4 2 1 2 1 0
5
5 2 2 1 0 1
6
5 0 0 2 1 2
7
4 0 2 0 2 1
8
0 1 1 1 1 1
9
1 1 2 2 0 0
10
3 2 0 1 2 0
11
2 2 1 0 0 2
12
3 0 1 2 0 1
13
14
2 0 2 1 1 0
L18
4 1 0 1 0 2
15
5 1 1 0 2 0
16
1 2 0 0 1 1
17
0 2 2 2 2 2
18
S. No. Factors Levels
Single Multiple All
1 Tables
0 1 2
4 Restart Transform
Update
Matrix L9 [3^4]
S.No Select TablesData Type Stage
A A A
1
A 1 2
2
A 2 1
3
1 A 2
4
1 1 1
5
1 2 A
6
2 A 1
7
2 1 A
8
2 2 2
9