1

This question is related to this one: Automated windows restart testing

In order to automate testing in Windows, it could be useful to save multiple hibernate states and running them to see whether a new version of some software behaves appropriately in the different states. Is it possible to save multiple hibernate states?

1 Answer 1

4

I assume you are talking about Windows saving the current memory contents in a hibernate file.

My first thought was, sure, just boot that machine with a different OS (may be linux or even a second Windows) and copy the file to a archive. However, you probably also need to save thw pagefile than too. I am not sure what else you need. So the safest way would be to backup the whole hard drive.

That said, it might be the easiest to use a virtual machine. Than you can hibernate your Windows and backup the whole virtual machine. You can later restore it several times or restore different hibernate scenarios.

2
  • +1 Virtual machines for automating testing Dec 29, 2009 at 16:01
  • +1 for VMs. VMware Workstation is superb for this type of thing.
    – Corey S.
    Dec 29, 2009 at 19:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .