9. Example 1 Thapar University, Patiala A Web Page has three distinct sections (Top, Middle, Bottom) that can be individually shown or hidden from user No.of Factors=3 (Top,middle,Bottom) No.of Levels =2 (Hidden or shown) Array Type =L 4 (2 3 ) or OA(4,3,2,2) If we go for exhaustive testing we need : 2 x 2 x 2 = 8 Test Cases OA(Runs, Factors, Levels, Strength)
10. Example 1 (contd..) Thapar University, Patiala Fixed Level Array: L 4 (2 3 ) L 4 2 3 – OA with 4 Runs 3 factors with 2 levels The Four Test Scenarios (4 Vs. 8) 1 - Display the home page and hide all sections. 2 - Display the home page and show all but the Top section. 3 - Display the home page and show all but the Middle section. 4 - Display the home page and show all but the Bottom section. F1 F2 F3 Run1 0 0 0 Run 2 0 1 1 Run 3 1 0 1 Run 4 1 1 0 Top Middle Bottom Test 1 Hidden Hidden Hidden Test 2 Hidden Visible Visible Test 3 Visible Hidden Visible Test 4 Visible Visible Hidden