SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Aug 2001
    Location
    sunnyvale,CA,USA
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    handling a reboot

    We had an application and while running on IE the application needs a reboot.Can Winrunner handles the reboot and if so please tell me how??

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

  2. #2
    Member
    Join Date
    Mar 2000
    Posts
    75
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: handling a reboot

    You should try posting this in the WinRunner forum. (if you havent already).

    I know in Silk there are agents that you can remotely manipuate. I would assume that WinRunner had the same type of facility. Atleast it should be able to continue with the testing after a reboot.

    Peter

  3. #3
    Senior Member
    Join Date
    Apr 2000
    Posts
    401
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: handling a reboot

    This is quite a common question. The best way to know if you can do this type of thing for any automation tool is to think like the following:

    1) Can my tool be ran automatically upon startup (e.g. can you create some kind of service that kicks off the test tool. If yes then the following applies.
    2) Record/script the activities as normal.
    3) Before the activity where the reboot should occur write some kind of indicator (just a number or a word will do) to a txt file.
    4) Write the reboot functionality.
    5) In the beginning of your script have some code that checks the txt file for the indicator. If it is there then skip the code/function before the reboot and execute the next code/function. else run from the beginning.

    Something like that should work in any of the tools if you can get it to boot up automatically on startup.

    ------------------
    The Test Force is strong in this one

  4. #4
    Points for Confirmed Friends
    Guest

    Re: handling a reboot

    I think I remember reading about a setup where there is an automation server and automation clients. The server can reboot the clients and restart the automated test tool if the clients crash or if the need to be manually rebooted.

  5. #5
    Senior Member
    Join Date
    Aug 2001
    Posts
    529
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: handling a reboot

    I would split the script into two parts:

    The part before the reboot, and the part after. Just before reboot, the script would write an entry to the windows registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cur rentVersion\RunOnce) that would automatically run the second script (using your testing tool command line).


    ------------------
    Eric Holton
    Microsoft Corp.

 

 

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.00%
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 09:52 AM.

Copyright BetaSoft Inc.