|
| Total Answers and Comments: 5 |
Last Update: December 25, 2008 Asked by: vidhya.sadasivam |
|
| | |
|
Submitted by: jitendramishra Hi All, In the above mentioned script Statement Coverage means all the statement has been covered or not and Branch Coverage means all the Conditions has been covered or not.
So for statement coverage we need to test the statement -Print “Large”n -Print “P Large” has been executed or not.
For Branch coverage(Condition coverage) we have to check the condition by passing some value and cheking all the conditions (true/false) are executed or not - P+Q > 100 - P > 50
Please make me understand if i am wrong.
Thanks, Jitu
Above answer was rated as good by the following members: rajnit | Go To Top
|