Automation of tests

This is for discussing general topics about how to use VirtualBox.
Post Reply
Ianman
Posts: 3
Joined: 6. Aug 2008, 10:06

Automation of tests

Post by Ianman »

Hi,

We are currently working on setting up automated tests of our new product using AutoIt and are using this in combination with VirtualBox machines. We would like to achieve the following scenario:

1. Be able to start a VirtualBox on a remote host
2. Make said VB run a version of our software installation. We would like to be able to select which version of the software is to be installed
3. There after run the desired tests from AutoIt which is provided in EXE format
4. Shutdown the VB when these operations have been completed

I have seen that it is possible to start virtualboxes using a command line but after that I am not sure how to proceed. Are any of the remaining steps that we would like to achieve possible?

Many thanks for any input.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Automation of tests

Post by Perryg »

I would use a script and VBoxManage to start the guest and then the guest control function to run the commands.

See explanation in the VBox users manual http://www.virtualbox.org/manual/ch08.html
Post Reply