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
    Dec 2011
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to run QTP using .BAT file

    Hi All,
    Can anyone please tell me the syntax to run QTP using .BAT file?

  2. #2
    Member
    Join Date
    Oct 2010
    Posts
    218
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to run QTP using .BAT file

    what you want to do ? Do you want to invoke QTP from Bat file or use QTP Automation model in vbscript & invoke vb script from a bat file?

  3. #3
    Junior Member
    Join Date
    Dec 2011
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to run QTP using .BAT file

    My requirement is to run .BAT file on remote system.For that i am using psexec.exe and i have the solution to run QTP by invoking vb script from a .BAT file.
    I actually need a command line to run QTP on remote system. Please tell me is there any syntax to run QTP from command prompt on remote system.

  4. #4
    Member
    Join Date
    Jul 2007
    Location
    Mumbai
    Posts
    203
    Post Thanks / Like
    Blog Entries
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to run QTP using .BAT file

    Set objQTP=CreateObject("QuickTest.Application","ip of remote machine")

    Thanks,
    Mansoor
    Thanks,
    Mansoor
    QTP Inside Out

  5. #5
    Junior Member
    Join Date
    Dec 2011
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to run QTP using .BAT file

    I am able to invoke QTP from Command line by using following command in .BAT file

    "C:\Program Files\HP\QuickTest Professional\Bin\QTPro.exe" "D:\QTPTest\Test"

    But the problem is i am not able to run, Please help me if any one knows command to run QTP from command line prompt that would solve my issue.

    Thanks.

  6. #6
    Apprentice
    Join Date
    Nov 2010
    Posts
    34
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to run QTP using .BAT file


  7. #7
    New Member
    Join Date
    Nov 2014
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    My requirement is same as this.
    I am running a batch file,which has a command calling vbscript to run QTP.

    This is not starting the QTP on remote machine.
    In remote machine's task manager i am not able to see QTPro.exe running.

    Can you please help??

    Thanks in advance.

 

 

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 9.38%
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 11:58 PM.

Copyright BetaSoft Inc.