I am doing a lot of explorative testing and my tests are not very detailed. Does anyone know how to connect a defect to a specific test in the Test Lab? Of course You can "Run" a test and from that interface add a defect and have it tied to the test. But in my case I need to add the defect in the Defects module without running the test. I would like to add the defect in the Defects module and somehow choose wich test it "belongs to". Is this possible in TD somehow?
Hi, I actually have been searching for alike all friday long and did not find anything. I figure I need a possiblility to select something out of the testsets and the set a status. From what I can see, there would be many tables involved, including the RUN (to set the status of the test), TESTCYCLE (to get the reference to the testcase) and CYCLE (to get the information that goes into the defect)... I failed - and just wanted to add a similar post as yours. So I just will watch your results...
In Test Director (TD),you can't associate the defect with a test step in the Test Case with out running the test Case.
Reason is you should run all the steps & ensure to which step you want to associate the defect,fail that step & raise the defect( As you said previously).
we have realized that it is not possible by the obvious means. But then, there are alwys possibilities to fool around with the API. And maybe there ist a possibility... it really would help for explorative testing.
I just discovered a way to handle this. When adding a defect directly in the Defects module- You can choose from the popup field "Subject" a folder name from the tree structure in the "Test plan" module. That way Your Defects has an "origin" (or category) some how.
My experience adding defect, one way is either adding a defect to a teststep where the that particular test step failed or else you can directly go to defects click on the bug icon and then the pop-up box will pop-up(as usual of how we add defects/quries) and I added a defect by copying the test step details etc here.
But once when i was trying to go through defect under my name i found that one of the defect can't call it's actual test from testlab(test set). Then i realized that i added defect directly to the defects column so only i can't call the particular related test from test lab.