SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5

Thread: Running Scripts

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Running Scripts

    I have scripts that I am testing/running in robot and occationally they fail (normal). Once I fix them, I find I have to re-run the scripts from the beginning.

    There appears to be ways to start the scripts from the beginning and stop at a user-defined spot but not from the user-defined spot to the end (or I am missing something really simple).

    I was wondering if there is a way to continue running a script from where the fix was done (eg, in the middle) once the error has been corrected (other than creating a lot of modular scripts)?

    thx [img]images/icons/smile.gif[/img]

  2. #2
    Senior Member
    Join Date
    Jul 2002
    Location
    Palm Bay, FL USA
    Posts
    2,346
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Running Scripts

    GUI scripts, right?

    Well, if you navigate to the place you want to start and comment out the part of the code you don't want to run, then run the script (you'll probably have to click the application again manually after you click run) that could work, but that's probably more work than it's worth.
    Scott Barber
    Chief Technologist, PerfTestPlus
    Executive Director, Association for Software Testing
    Co-Author, Performance Testing Guidance for Web Applications
    sbarber@perftestplus.com

    If you can see it in your mind...
    you will find it in your life.

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Running Scripts

    Yes, GUI scripts.

    I have been doing what you suggested and also copying/pasting into seperate "modules" and when they work, either calling the modules in another script or pasting them all in one script...was looking for a better way...oh well.

    Thanks for the reply Scott [img]images/icons/smile.gif[/img]

  4. #4
    Senior Member
    Join Date
    Jul 2002
    Location
    Palm Bay, FL USA
    Posts
    2,346
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Running Scripts

    Are you talking about shell scripts? Doing something like putting the "login" activity into a script that you just call at the beginning of the other scripts? That's easy - or at least it used to be, I haven't done it for a version or two.
    Scott Barber
    Chief Technologist, PerfTestPlus
    Executive Director, Association for Software Testing
    Co-Author, Performance Testing Guidance for Web Applications
    sbarber@perftestplus.com

    If you can see it in your mind...
    you will find it in your life.

  5. #5
    Junior Member
    Join Date
    Mar 2002
    Location
    USA
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Running Scripts

    I would just throw in a goto statement..

    goto starthere
    -----

    starthere:

 

 

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 6.90%
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 02:20 PM.

Copyright BetaSoft Inc.