Skip to Content
Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional
book

Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional

by Bulverde Rex Black Rex Black Consulting Services Texas
February 2007
Intermediate to advanced
366 pages
7h 49m
English
Wiley
Content preview from Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional

Chapter 19. Orthogonal Arrays Exercise

Let’s apply the orthogonal array test technique to the Omninet project. Suppose you need to test compatibility of various kiosk configurations. According to the Omninet System Requirements Document, we intend to support kiosks running configurations based on three major factors, each set to one of the options shown:

  • Operating System: Windows XP or Linux

  • Browser: Internet Explorer (Windows only), Netscape, or Opera

  • Connection: DSL, dial-up, or cable

The next few pages show orthogonal arrays you might use to test this. The exercise consists of four steps.

  1. Select the appropriate array from Table 19-1, Table 19-2, and Table 19-3.

    Table 19-1. Orthogonal Array 1

     

    Factors

      

    Test

    1

    2

    3

    1

    0

    0

    0

    2

    0

    1

    1

    3

    1

    0

    1

    4

    1

    1

    0

    Table 19-2. Orthogonal Array 2

     

    Factors

       

    Test

    1

    2

    3

    4

    1

    0

    0

    0

    0

    2

    0

    1

    1

    2

    3

    0

    2

    2

    1

    4

    1

    0

    1

    1

    5

    1

    1

    2

    0

    6

    1

    2

    0

    2

    7

    2

    0

    2

    2

    8

    2

    1

    0

    1

    9

    2

    2

    1

    0

    Table 19-3. Orthogonal Array 3

     

    Factors

        

    Test

    1

    2

    3

    4

    5

    1

    0

    0

    0

    0

    0

    2

    0

    1

    1

    1

    1

    3

    0

    2

    2

    2

    2

    4

    0

    3

    3

    3

    3

    5

    1

    0

    1

    2

    3

    6

    1

    1

    0

    3

    2

    7

    1

    2

    3

    0

    1

    8

    1

    3

    2

    1

    0

    9

    2

    0

    2

    3

    1

    10

    2

    1

    3

    2

    0

    11

    2

    2

    0

    1

    3

    12

    2

    3

    1

    0

    2

    13

    3

    0

    3

    1

    2

    14

    3

    1

    2

    0

    3

    15

    3

    2

    1

    3

    0

    16

    3

    3

    0

    2

    1

  2. Map the factors (OS, browser, and connection) on to the column headings.

  3. Map the options within each factor into the array cells.

  4. Handle rows with spare cells and pairs that represent impossible configuration combinations.

Of these, you’ve seen how to handle steps 1 through 3. Step 4 will be clear if you keep in mind the rules about handling rows and tester’s choice (tilde ~) cells. I suggest 30 minutes as a time limit. When you’re done, keep reading to see my solution.

My Solution and Comments

I selected the second array, shown ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Best Practices for the Formal Software Testing Process: A Menu of Testing Tasks

Best Practices for the Formal Software Testing Process: A Menu of Testing Tasks

Rodger D. Drabick
How We Test Software at Microsoft®

How We Test Software at Microsoft®

Alan Page, Ken Johnston, and Bj Rollison
The Expert Test Manager

The Expert Test Manager

Rex Black, James L. Rommens, Leo van der Aalst

Publisher Resources

ISBN: 9780470127902Purchase book