YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

Orthogonal Orthogonal ArraysArrays TestingTesting StrategyStrategy(OATS)(OATS)

Mohamed FathyMohamed FathyQA Engineer

Arx ICTSeptember 4, 2009

Page 2: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

AgendaAgenda

• OATS Overview.• How to use Orthogonal Arrays?• OATS Examples.• Case Study.• Where OATS could be applied?• OATS Benefits.• References & Resources.• Questions?

Page 3: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Overview

• Taguchi's orthogonal arrays are highly fractional orthogonal designs proposed by Dr. Genichi Taguchi.

• OATS is one such combinatorial testing method.

• OATS is a systematic, statistical way of testing pair-wise interactions.

Page 4: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Overview (Cont’d)

• It addresses generation of test cases for problems involving multiple parameters and combinations.

• It can be used to reduce the number of combinations and provide maximum coverage with a minimum number of test cases.

Page 5: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

How to use Orthogonal Arrays?

Lruns(Levels^Factors) or Ln(s^k): Orthogonal array of N runs where k factors take on any value from a set of s symbols/level.

• Runs: The number of rows or number of test cases in the array that will be

generated by Orthogonal Array technique. Each row represents a test case.

• Factors: The number of columns or the number of parameters/variables in an array that need to be tested in the System.

• Levels: The maximum number of values in an Orthogonal Array that can be taken on by any single factor.

Page 6: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Examples

Example 1

Page 7: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Examples (Cont’d)

The borders and shading dialog box :• 5 settings• 5 styles (showing)• 9 colors• 9 widths

5 x 5 x 9 x 9 = 2025 combinations!L81(94) array will suffice

Page 8: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Examples (Cont’d)

Example 2

Page 9: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Examples (Cont’d)

• 3 toolbars (pictures, text, or both).• 3 choices for launch on startup (browser, mail or news).• 3 choices for startup page (blank home page, home page

names a valid file, or home page name has a syntax error).• 2 choices for underlining of links (don’t underline, or

underline).• 2 choices for expiration of links (never expire, expire after 30

days).

3 x 3 x 3 x 2 x 2 = 108 combinations!

Page 10: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Examples (Cont’d)

Page 11: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Examples (Cont’d)

Page 12: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Examples (Cont’d)

Page 13: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Examples (Cont’d)

• Example 3:

Factors Levels

terminal_capability 1 - 2 - 3

pos_entry_mode SWIPED - KEYED

card_present Yes - No

card_type Visa – MC

Page 14: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

OATS Examples (Cont’d)

• Orthogonal array to be used: L9000001120221101111201202202221012210

Page 15: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

Case Study

Page 16: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

Optimization

• Remove invalid runs.• Optimization need not necessarily mean the

reduction of tests. You can add some combinations that are critical for testing, but missed by OATS.

Page 17: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

Where OATS could be applied?

OATS could be applied in: User interface testing. System testing. Regression testing. Configuration testing. Performance testing. This method is extremely valuable for testing complex

applications. Useful for testing products with a large number of

configuration possibilities.

Page 18: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

Benefits of OATS

• Provides uniformly distributed coverage of the test domain.

• Concise test set with fewer test cases is created.

• All pair-wise comibnations of test set created.• Arrives at complex combinations of all the

variables.

Page 19: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

Benefits of OATS (Cont’d)

• Simpler to generate and less error prone than test sets created manually.

• Reduces testing cycle time.

Page 20: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

References & Resources

• ReferencesReferences::1- R Krishnan, S Murali Krishna, P Siva Nandhan - Motorola:

Combinatorial Testing: Learnings from our Experience .2- Madhav S. Phadke , Quality Engineering Using Robust Design.

• Resources:Resources:1- http://www.research.att.com/~njas/oadir/index.html2- http://www.mathdox.com/nguyen/orthogonal_array.jsp

Page 21: Orthogonal Arrays Testing Strategy (OATS) Mohamed Fathy QA Engineer Arx ICT September 4, 2009.

Questions?

Thank YouFeedback:

[email protected]


Related Documents