Professional Documents
Culture Documents
design)
• 1.Equivalent class Portioning : ECP tech devides the input data into
partitions of equivalent classes and from each class minimum 1 data must
be tested at least once.
Structure
based Decision
White-Box
Categories
Condition
• Test step:
• 1.Send the diag request as 02 10 03
• 2. Send the diag request as 02 11 01
Expected :
• 1. Verify positive response as follows
• 06 50 03 00 32 01 F4
• 2. Verify positive response as follows
• 02 51 01
Requirement based technique
• Test step:
• 1.Send the diag request as 02 10 03
• 2.Send the diag request as 02 11 04
Expected result:
• 1.Verify positive response as follows
• 06 50 03 00 32 01 F4
• 2.Verify positive response as follows
• 03 7F 11 12
Equivalence class
a- 0-10
b- 0-10
c- 0-10
ECP – 0 to 5 and 6 to 10
Test step:
c= a+b (value a is 4 and value b is 6)
C = a+b (value a is 1 and value is 9) = passed
C =a+b (value a is 3 and value b is 8) = Failed
Expected Result:
1. Verify C value should be 10
2. Verify C value should be 10
3. Verify C value should be 10
Observed result :
Equivalence class
Requirement Description:
Vehicle Speed scenario in Forward Collision Alert [FCA] feature.
If vehicle speed is in between 100 – 200 kmph, FCA_Speed_Enabled = TRUE
BVA: input : 18-56 (it includes max, min, inside and outside boundaries)
Test scenario:
Valid input : 18, (18+1), 56, (56-1)
Invalid input : 17 and 57
Test case :
1. Enter the value 17 (18-1) = Invalid
2. Enter the value 18 = Valid
3. Enter the value 19 (18+1) = valid
4. Enter the value 55 (56-1) = valid
5. Enter the value 56 = valid
6. Enter the value (56+1) = Invalid
19 service test case
Test step:
1.Create fault (Passenger side seat belt)
2. Send the diag request as follows
02 10 03
3. Send the diag request as follows
03 19 02 FF
4. Remove fault
5. Send the diag request as follows
02 10 03
6. Send the diag request as follows
03 19 02 FF
Expected result:
2. Verify positive response as follows
06 50 03 00 32 01 F4
3. Verify positive response as follows
59 02 FF 80 55 12 2F
5. Verify positive response as follows
06 50 03 00 32 01 F4
6. Verify positive response as follows
59 02 FF 80 55 12 2E
3 integers a b c max range of 10 req - c =a+b
A- 0-10
b- 0-10
c- 0-10
BVA: input : 0-10 (it includes max, min, inside and outside boundaries)
Test step:
Test scenario: c= a+b (value a is 0 and value b is 10)
C = a+b (value a is 1 and value is 9)
Valid input : 0, (0+1), 10, (10-1)=9 C =a+b (value a is 1 and value b is 11)
Example Requirement:
A on B on C on - Glow
A on B ON C on - Not Glow - Failed
Expected :
1. Verify positive response as follows
06 50 01 00 32 01 F4
2. Verify positive response as follows
06 50 02 00 32 01 F4
Decision Table
M i c ro s o f t E xcel
W o rk s h eet
Interpretation:
• In each test case each condition is set (as per each column TCx) and checked for the decision outcome as per Dx (Yes/No).
• The number of possible combinations as per number of variables is (2^6)+14+(2*5) = 88 Test cases.
• Decision table can be enhanced further by adding more requirements and system conditions like Fault -- No Fault, Low Voltage – High Voltage and so on as per individual project.
• Wherever possible make simpler decision table as much as simpler possible without compromising on test coverage
June 04, 2020 SW_Qualification_TestDesign_Techniques 18