SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 2001
    Location
    India
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Calling TCL Scripts through SilkTest

    Hi,
    Has anyone tried to call TCL Scripts (Windows-based) through SilkTest before? If yes, could you please let me know how it can be done.

    Basically I want to use Silk Test to automate the UI flow of my application and to deliver the required inputs. I then want to use TCL scripts to check for the corresponding output my application generates. Is there some way to call the TCL Script from within my SilkTest testcase?

    Thanks

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Calling TCL Scripts through SilkTest

    If you can run it manually -- SilkTest can run it for you. SYS_Execute() is one way, Invoke() is another. SilkTest start a command with the "Start Menu -> Run" box. It can also bring up a command prompt and type your command, just as you might do.

    There is no reason it can't kick of some TCL cgi scripts, if that's what you want to do.

    ------------------
    Rob Kapteyn
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

  3. #3
    Junior Member
    Join Date
    Oct 2001
    Location
    India
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Calling TCL Scripts through SilkTest

    Thanks for the reply!
    Was able to successfully run the TCL script using the SYS_EXECUTE() function.
    Basically created a batch file which invoked the TCLShell.exe with the source file (containing the TCL commands) as its argument. Ran this batch file from within the SilkTest script using the SYS_Execute command. Voila! It worked

  4. #4
    Member
    Join Date
    Feb 2003
    Location
    Bedford MA, USA
    Posts
    75
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Calling TCL Scripts through SilkTest

    Funny, with ST 7.1, I get the following when kicking off tcl/expect script running in cygwin.

    [ ] *** Error: Unable to process P:/automation/WAM/FIM/FARTS/utils/run_remote_cmds -h fim-autowin-1 -u rsas -pw admin1234 -pr C: -bd C:/bea/user_projects/domains/fimdomain -sut_controller lemon "ls", File is of an unsupported type for this command.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 09:21 AM.

Copyright BetaSoft Inc.