SPONSORS:






User Tag List

Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Sep 2000
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can Silktest restart the system and continue testing?

    Need to restart a win2k mashine, and then continue the test script. Can it be done and how?
    Konrad Nau
    Software Test Automation Specialist Intern
    CQOS INC.

  2. #2
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can Silktest restart the system and continue testing?

    Yes you can...

    Goto http://qadownloads.com
    search for TweakUI, download and install it
    search for Remote Reboot and look at the code

    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

  3. #3
    Member
    Join Date
    Sep 2000
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can Silktest restart the system and continue testing?

    Ok, here is the exact problem. I need to test the installation/unistallation of a program and of course verify that all files/folders/registry settings were installed/unistalled. Basicly what I want my script to do is install the app, reboot the local system/ verify that all files/folders/registry settings were installed and then unistall the program, reboot again and verify that all files/folders/registry settings were uninstalled. Can all of this be done?
    Konrad Nau
    Software Test Automation Specialist Intern
    CQOS INC.

  4. #4
    Guest

    Re: Can Silktest restart the system and continue testing?

    The short answer is "Yes". We currently validate the install/uninstall of our AnyPoint(TM) Home Networking software components on Win95, Win98 Gold, Win98 SE, and Win ME (we're still working on our Win2000 support).

    We use Silk to control Imagecast IC3 to multicast a "clean" O/S image on to multiple target test PCs. Then, we take a "snapshot" of the target PCs hard drive using the DriveBeforeSnapshot() function (see below). This "snapshot" data is saved in the lsPreInstallFiles global variable, and to a file ("machineName_BeforeSnap.tst"). At this point, we execute the installation process for the application under test.

    After installation is completed, we verify that the system registry is correctly set up, and take the post installation "snapshot" of the target PC hard drive using the DriveSnapshotDiff() function, which returns a list of the differences between the pre and post install snapshots.

    This same process works for validation of uninstalls as well.

    I've included some snippets of code to assist you in taking "snapshots" of the hard drive contents. The code for verifying registry contents and performing reboots is available elsewhere on this site.

    Good luck...

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

    Tony Mrozinski
    Sr. Software Test Automation Engineer
    Home Networking Operations
    Intel Corporation


    [This message has been edited by Tony Mrozinski (edited 09-14-2000).]

  5. #5
    Member
    Join Date
    Sep 2000
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can Silktest restart the system and continue testing?

    Thanks alot Tony!!!
    that should get me started. Only problem left is how to get the local machine to reboot, and continue testing.
    Konrad Nau
    Software Test Automation Specialist Intern
    CQOS INC.

  6. #6
    Member
    Join Date
    Dec 1999
    Location
    Columbus, OH
    Posts
    78
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can Silktest restart the system and continue testing?

    The remote reboot function AJ was talking about work well. I used these as a starting point and customized them in creating my own RemoteReboot functions that work for all our supported Operating systems. I use PowerQuest Disk Image Pro to automate reimaging my machines with clean or different Operating system between test cycles. Check out http://www.qaforums.com/boards/ubb/F...ML/000973.html http://www.qaforums.com/boards/ubb/F...ML/000174.html http://www.qaforums.com/boards/ubb/F...ML/000202.html http://www.qaforums.com/boards/ubb/F...ML/000331.html http://www.qaforums.com/boards/ubb/F...ML/000579.html for some more information on the subject.

    [This message has been edited by Tom VonderBrink (edited 09-15-2000).]

  7. #7
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can Silktest restart the system and continue testing?

    You never want to get the local machine to reboot. That way you lose where you were in SilkTest and plus you cannot have SilkTest wuit while it's running... Or have SilkTest shut it's self down (Terminator movie).

    That's why I always recommend you run 2 machines at least. A controller and a client.

    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

 

 

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 10:43 AM.

Copyright BetaSoft Inc.