SPONSORS:






User Tag List

Results 1 to 9 of 9
  1. #1
    Junior Member
    Join Date
    Sep 2001
    Location
    Shrewsbury, MA, USA
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Client Server type testing

    I know how to get Silktest to work with Web applications but getting it to work with Windows apps such as a simple Dos Prompt isn't working with what I try. Do you have to change the extensions? Do you have to use a different INC file? Any help is appreciated. Thanks.


    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Client Server type testing

    What are you trying to do with this command prompt?

    ------------------

  3. #3
    Junior Member
    Join Date
    Sep 2001
    Location
    Shrewsbury, MA, USA
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Client Server type testing

    I need to run tests via the Command prompt. So I have to enter text using the command prompt. I can't even get Silk to open the command prompt for me however. I need to do things like make dirs from the command prompt and things of this sort. Any help would be great. Hope this is enough info for you.

    ------------------

  4. #4
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Client Server type testing

    Well, there are a number of things you can do. If you are working on a Windows machine, you are in particularly good shape.

    I recommend you spend some time in the Library Browser under the help menu. Segue has done a particularly nice job here. Once you have it open, go to the Functions Tab and look at "System Functions"

    From here you can use SYS_Execute("cmd") to pop up your command line you want. If your test methodology will allow it, you can actually send the command you want to run and never even have to mess with the box. Use SYS_Execute("md mydir") and you will have your directory. Or even better yet, you can call SYS_MakeDir("yetanotherdir"), then SYS_SetDir("yetanotherdir"), and then SYS_MakeDir("deepdir"). You get the idea.

    But, again, I strongly recommend time in the library browser. I lived there for about the first two years I worked with Silk.

    ------------------

  5. #5
    Junior Member
    Join Date
    Sep 2001
    Location
    Shrewsbury, MA, USA
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Client Server type testing

    Thank you very much DJGray, I will spend more time there as well.

    ------------------

  6. #6
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Client Server type testing

    There is also a library of DOS window related functions in the betasoft main page.

    Click on Downloads

    ------------------
    John W Green
    jwgreen@automationexpertise.com http://www.automationexpertise.com

    [This message has been edited by John Green (edited 10-02-2001).]

  7. #7
    Moderator
    Join Date
    May 2001
    Location
    SanJose,CA,USA
    Posts
    363
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  8. #8
    Junior Member
    Join Date
    Sep 2001
    Location
    Shrewsbury, MA, USA
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Client Server type testing

    Another thing, I can check if a folder exists, and it returns true or false, but I want the testcase to fail if it returns false.

    Is there an
    If false
    return false
    type of command?

    ------------------

  9. #9
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Client Server type testing

    Do a boolean.

    bFound = Your folder.exists()
    if bFound
    run some tests...
    else
    LogError("Stupid folder was missing. We're outta here.")
    exit


    Something like that...

    ------------------

 

 

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 07:20 PM.

Copyright BetaSoft Inc.