SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Aug 2004
    Location
    HCM city
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Export Test Plan that calls other Test Plan

    Hello,

    Could you please help me on this issue below?

    - I create Test named TP 1 with 3 steps like below:
    1. Open A application
    2. Call <Login> (call Login test)
    3. Close A application

    - Login test is as below:
    1. Enter a at user name
    2. Enter b at password
    3. Press ok button

    If I stand at TP1 test and select to export the test to excel file, it does not show all steps of Login test.

    Could you please tell me what I should do so that I have the Test exported like below:

    1. Open A application
    1. Enter a at user name
    2. Enter b at password
    3. Press ok button
    3. Close A application

    Thank you so much
    NTL

  2. #2
    Moderator
    Join Date
    Mar 2004
    Location
    West Coast of the East Coast!
    Posts
    7,756
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Export Test Plan that calls other Test Plan

    The way you wrote the test above, don't you have two step ones and two step three's? Looks like it to me. They would have to be written as two test cases or change your numbering system.
    Personal Comment

    Success is the ability to go from one failure to another with no loss of enthusiasm.
    ~ Winston Churchill ~


    ...Rich Wagner

  3. #3
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: Export Test Plan that calls other Test Plan

    QC does not check for what's inside the templates. And you will have to write your own code using QC OTA. Also you can't just use a SQL query with OTA APIs (because it would need recursion), you will need code also as a template can itself have templates and so on...

  4. #4
    Moderator
    Join Date
    Mar 2004
    Location
    West Coast of the East Coast!
    Posts
    7,756
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Export Test Plan that calls other Test Plan

    Tarun, what the heck are you talking about? He does not need to use OTA. He can export the two tests and Massage them once they are in QC.
    Personal Comment

    Success is the ability to go from one failure to another with no loss of enthusiasm.
    ~ Winston Churchill ~


    ...Rich Wagner

  5. #5
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: Export Test Plan that calls other Test Plan

    Rich, Here is the thing

    If you have a test case in QC say test1 and internally it has 3 steps
    1. Open A application
    2. Call Login template/test (A template call)
    3. Close A application

    Then when you export the test1 as a excel from QC you will get the second step a Call <Login> (something like that) but not the steps inside the Login template/test. So to achive that you would need to write code. QC does not go any level further when exporting the test as excel, word etc...

    I hope that makes sense...

  6. #6
    Junior Member
    Join Date
    Aug 2004
    Location
    HCM city
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Export Test Plan that calls other Test Plan

    Tarun,

    Could you please tell me where I can find documents for my reference about writing code that you mentioned?
    Does it take much time?

    Thank you
    NTL

  7. #7
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: Export Test Plan that calls other Test Plan

    Login to QC project, and then go to Help (menu) -> Documentation Library

    Download the below 2 documents from that page
    Mercury Quality Center Database Reference
    Mercury Quality Center Open Test Architecture API Reference

    [ QUOTE ]

    Does it take much time?


    [/ QUOTE ]
    Depends on you , how fast you can grasp the Object model. If you know the objects that you need to work with and also then excel COM apis then it should not take more than 7-8 hrs of development + testing effort.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:05 AM.

Copyright BetaSoft Inc.