SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4

Thread: Run ID from QC

  1. #1
    Member
    Join Date
    Mar 2008
    Posts
    58
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Run ID from QC

    Hi Guys,

    When ever i run script from QC i see that it is stored in temp folder...
    E.g;
    "C:\temp\TD_80\d4ab8fca\Test\QSH_price_extraction_ 737\737\737\Run_4016"

    Run_XXXX is the Run ID from QC (I guess) so. Is there any way to retrive this Run ID??

    I am trying to use following code:
    If QCUtil.IsConnected Then
    'Get report path
    Set objQCTest = QCUtil.CurrentRun
    strRepPath = Environment("TestDir") & "\Run_" & objQCTest.Field("RN_RUN_ID")
    Set objQCTest = Nothing
    End IF <font color="blue"> </font>

    Is there anything that i am doing wrong.. Please help... <font color="blue"> </font>

  2. #2
    Senior Member
    Join Date
    Dec 2006
    Location
    Germany, Dresden
    Posts
    1,536
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Run ID from QC

    QCUtil.CurrentRun.ID
    http://qcmt.pc-polis.de

    de omnibus dubitandum

    For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this

  3. #3
    Member
    Join Date
    Mar 2008
    Posts
    58
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Run ID from QC

    I tried using QCUtil.CurrentRun.ID. It is returning 737. I guess this is the test ID..
    Is there any way to get the run ID of the test...
    I want to get Run_xxxx. I guess that it changes with each run..

    "C:\temp\TD_80\d4ab8fca\Test\QSH_price_extraction_ 737\737\737\Run_4016"

  4. #4
    Senior Member
    Join Date
    Dec 2006
    Location
    Germany, Dresden
    Posts
    1,536
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Run ID from QC

    [ QUOTE ]
    I tried using QCUtil.CurrentRun.ID. It is returning 737. I guess this is the test ID..
    Is there any way to get the run ID of the test...
    I want to get Run_xxxx. I guess that it changes with each run..

    "C:\temp\TD_80\d4ab8fca\Test\QSH_price_extraction_ 737\737\737\Run_4016"

    [/ QUOTE ]

    no, it returns the current run id.
    attention: you will only get a valid run ID if the test is running within a QC testset.
    http://qcmt.pc-polis.de

    de omnibus dubitandum

    For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this

 

 

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 10.00%
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:12 PM.

Copyright BetaSoft Inc.