Page 1 of 1

Installation testcase using Ranorex

Posted: Sat May 30, 2009 1:40 pm
by sunitha
My test case is to install my product & reboot the sys.Check for registry keys after installation..

How to resume the test execution after System restart in Ranorex 2.0

Posted: Mon Jun 01, 2009 4:12 pm
by Ciege
Mind you I've never tried this with Ranorex. However, with other automation apps I would do the following.

1) Write to the RunOnce registry key to launch your automation app.
2) Before shutting down have your automation app write out a text file that says restart (or something just so we have it for future reference).
3) After the computer restarts and the automation app is restarted from the run once, have your automation app check for the restart text file. If it does not exist, assume this is a clean run and go accordingly. If it does exists assume that this is a restart and tell you automation app to start at the new place in code where it needs to be after a restart.
4) IF this is a restart, make sure your automation app deletes the text file after the restart or else your next clean run of the automation app will assume this is another restart.

Make sense?