SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    124
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    TestExecute and Command line

    Hi,

    Is it possible to run a .bat that contain a command line for run a scenarii with TestExecute, but the routine contains differents parameters?

    Example:
    "C:\ProgramFiles\Automated qa\TestExecute\TestExecute.exe" /run c:\Projet\Isagc.pjs" /p:GC_Applciation /u:sce_scenario /rt:Chrono("Toto", '15122007')

    Is it possible to pass parameter to routine Chrono??

    thanks

  2. #2
    Apprentice nomad1973's Avatar
    Join Date
    Jan 2004
    Location
    Miami, FL
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: TestExecute and Command line

    Sure it is. I've been able to make TestComplete play a wave file like this:

    var oShell = Sys.OleObject("Wscript.Shell");
    oShell.Run( "sndrec32 /play /close \"" + psFileName + "\"",0,true);

  3. #3
    Senior Member
    Join Date
    Nov 2009
    Posts
    124
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: TestExecute and Command line

    Yes, but is it possible in to file ".bat" file? what is the command for add parameters?

  4. #4
    Apprentice nomad1973's Avatar
    Join Date
    Jan 2004
    Location
    Miami, FL
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: TestExecute and Command line

    Sorry, I misunderstood the question. I thought you were trying to execute a simple batch file or command line executable from within TestComplete.

    For what you're wanting to do, the help file explicitly states that the routine you want to run cannot take any parameters, and cannot return any values.

  5. #5
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: TestExecute and Command line

    Hi,

    You can find a way to pass routine parameters via the command line here.
    Jared - AQA Support

 

 

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 06:10 PM.

Copyright BetaSoft Inc.