My customer would like to use Silk Test to install the server portion of the application under test (AUT). This application uses install shield to deploy the server software (and web services). What would be the best way to automate the installation using Silk Test?
We have automated the installation of our software. We just created a frame (like you would from the AUT) and captured each page of the InstallShield program. We then have a testcase that starts the installation and goes through the dialogs. It works pretty well. We pass the location of the install file into the testcase as testdata, so we can change the install location from the testplan.
Well, the good thing about our software is that you don't need to restart after you install it [img]images/icons/smile.gif[/img] I don't think there's any way to handle restarts if SilkTest is running locally, since restarting would shutdown SilkTest.
If you are controlling your scripts from a central machine and connecting remotely to your test machines (with CONNECT() and SPAWN() or however that works), you can have your script restart the test machine and then SLEEP() for a while (like 2 or 3 minutes) then have it attempt to reconnect to the machine. I've never done this but I've read a few posts on this message board that talked about doing that. Maybe someone else can you fill you in on that, or you could do a search.