SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Senior Member
    Join Date
    Oct 2008
    Posts
    128
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Load QTP Automation Test Script into QC?

    Hi all,
    I have couple of QTP demo script saved in my documents. I want to upload inside a QC now (in test Plan) how would I do that?
    Please Guide me !
    Thanks
    Bhavin

  2. #2
    Moderator
    Join Date
    Jan 2007
    Location
    Pittsburgh, PA
    Posts
    2,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Load QTP Automation Test Script into QC?

    http://www.sqaforums.com/showflat.php?Ca...true#Post498727

    'You need to run the code from a vbs file.

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

    Re: Load QTP Automation Test Script into QC?

    Thank you so much for your reply!
    Is there any other way than running a code?
    Thanks

  4. #4
    Senior Member
    Join Date
    Oct 2008
    Posts
    128
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Load QTP Automation Test Script into QC?

    Hi Reddy!
    I am pasting your code for that which you have posted in forum.
    Set qtApp = CreateObject("QuickTest.Application")
    qtApp.TDConnection.Connect "http://xxxxxxxxxxx/qcbin/", "domain", "project", "uid", "pwd", False
    qtApp.Open "C:\Test1", True
    qtApp.Test.SaveAs "[QualityCenter] Subject\..\..\Test1"
    Set qtApp = Nothing
    Now how do I ran the code from vbs file. please provide detail information because I am dummy in QTP and learning from by my self. thanks.

  5. #5
    Senior Member
    Join Date
    Oct 2001
    Location
    Nashville, TN, USA
    Posts
    713
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Load QTP Automation Test Script into QC?

    To run the VBScript code, simply save the code into a text file (using Notepad or similar editor that saves plan text without formatting) and give the file a 'vbs' file extension. Double-click the file to execute the contents.

    This assumes that VBS is properly associated with 'wscript.exe' (which is the default on Windows platforms).
    Boyd Patterson
    Patterson Consulting, LLC
    www.patterson-consulting.net

    [i]Creator of Test Design Studio - Powerful IDE for QuickTest Pro[i]

  6. #6
    Senior Member
    Join Date
    Oct 2008
    Posts
    128
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Load QTP Automation Test Script into QC?

    Thanks buddy!
    I got until saving script into the note pad. but how do I call inside a test! any command I have to write to call inside an expert view?
    I did not get it " Double-click the file to execute the contents" sorry aout that!!


    Thanks

 

 

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.71%
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 10:07 PM.

Copyright BetaSoft Inc.