new to automation and have some QnA
Im not really new to QTP automation, I have automated using QTP for about a year. This was a while back and I never integrated it with Quality Center (QC).
I have been asked to refresh my QTP QC memory and automate current system. We have well documented Test cases.
I plan on automating scenario test cases. So we will write test cases that follow the expected use by our clients and check it at various checkpoints.
Here is my question, is it possible to have a test case (Call it MAIN) in QC which calls 10 small test cases in each step.
Then have a automation script that is linked to MAIN, and has 10 checkpoints, each which passes the small 10 test cases inside MAIN.
I don't completely understand the framework of test cases in relation with automation scripts and if its a 1 script-1 test case relation?
Im really confused, and I want to start with the correct framework now to make my life easier in the future.
Re: new to automation and have some QnA
You can of course develop any framework you find appropriate. However, a 1:1 relation of QC tests to scripts is the intention.
You have to determine the scope of a single 'test case'. If you lump 10 tests into 1 and only 1 checkpoint fails, reports will essentially show all 10 of those scenarios failed. So for detailed reporting(built-in anyway) you want more granular tests.
My script in QC is just a generic driverscript common to all tests, so really it's a many:1 relation, however it is a physical 1:1 relation with copies of that driver.