How do you do path testing?this is related to whitebox testing.This is urgent..anybody tell me please

Questions by aparnay   answers by aparnay

Showing Answers 1 - 8 of 8 Answers

1.Draw the flowgraph corresponding to the procedural design or code

2.Determine the cyclomatic complexity of the flow graph.

V(G) = E-N+2

where, E=No. of edges,N=No. of nodes

3.Determine the basis set of independent paths.(The cyclomatic complexity indicates the no. of paths required.)

4.Prepare test cases tha will force execution of each path.

  Was this answer useful?  Yes

Hi Aparna,

Give me ur mail id,so that I can mail it to u bcoz the anwer to ur question"How to draw flow graphs?" i can send it thru word document and i don't have the option to attach files here.

Regards,

Prashanthi

  Was this answer useful?  Yes

aparnay

  • Oct 10th, 2006
 

Hi Prashanthi,

  Thanks for sending the flowgraph document.But in order to work with loop testing ,path testing strategies do you have to write test cases to test those strategies or do you use any tool..Dont mind..i am new to testing thats why i am asking these questions

  Was this answer useful?  Yes

Sujatars

  • Feb 27th, 2007
 

In path testing, data is selected to ensure that all paths of the program have been

executed.Often, paths through the
program are grouped into a finite set of classes and one path
from each class is tested.

 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions