I have Used QC and QTP individually in my past and I was good maintaining my QTP scripts running
them during regressions and updating the QC with the defects.So both of them were independent of
each other and worked pretty fine together.
Now the requirement for my new project is to link up the QTP with the QC.
Will it be a good idea?
We have already written many manual test scripts under the test plan for QC9.0
Now I will need to automate them using QTP9.0 for regression testing.
There are several QC Manual test scripts which are almost same with slight functonality change.
Case 1:- And If I think of generating QTP scripts (without interlinking them to the QC), that would be good
and easy for me , as I can design my framework according to my comfort levels (as I used to do in
Case 2:- And If I keep QC in mind and start generating my scripts
(by clicking on the <<Generate Script>> button under in the Test Plan -> Design Steps tab).It would be like
beating the bush. Coz lots of scenarios are almost the same with few changes .
And this means I would be writing QTP scripts again and again . which seems to be meaning less for me.
This is the first time I am trying to interlink QTP and QC .
So I would invite everyone who might have worked in such a situation to suggest me and comment on my
How does the QTP Automation Framework work with QC for others , when they are interlinked.Is that scenario existent, Or
I am being lost in it.
What I would have done would have been to write the tests and immediately save them to QC even if you were not planning on using QC. How are your tests, that are similar, written now? Are they in separate tests? If so, just open each test and save it to QC. It's that simple. Next time, write one standard test script for each group of similar tests and drive all the parameters that you will be changing with a spread-sheet. Each row has the parameters for that one test, then it increments and the next row is used for the same tests but with the different parameters for it.
Success is the ability to go from one failure to another with no loss of enthusiasm.
~ Winston Churchill ~
I have not yet started generating QTP scripts for my test .
But If I plan to write in QTP and then link them to the QC then it would not save those scripts in the existing QC test script .
For example . I have a QC Manual Test Script saying "Login" with some design steps in it . And If I have a QTP test script saying "Login Script" in my local drive.And now I try to save this file in the QC "Login" test , It would not allow me to do so . As it would say that it would be creating a new file under the root folder , but not copy my script into the existing "Login" test file in QC.
I think everyone who has started working on QC and QTP independently has faced this problem...
Even Iam also struggling to to save my QTP scripts from the file system of my local machine to the QC manual design steps in QC...
earlier I have also done as suggested by the jjcorbett above to save them in diffrent name....
Recently someone suggested me another way which seems intersting and will probably work though I havent tried myself but you can give it a try..and tell me how it works?
Open the Manual design steps of login in the QC ->click on generate scripts from QTP i.e launch QTp from QC , QTP scripting window appears , copy and paste you earlier scripted logon script from the file system-> Associate the Object repository of the logonscript to this test and save it in QC.
It will work but it has a overhead of opening each manual design steps ->generating QTP script by launching QTP ->associating the OR and then saving for each and every steps/test cases....