Small Cheese

How To Save Effort Of Preparing Virtual Testing Environment By Using VMWare

How do we prepare the virtual testing environment to verify the web based application compatibility issue that running in different Internet Explorer (IE) version?

I believe many web based programmer may need running the testing for their work before this can be released. However, the machine can only allow 1 IE version to be installed, so to pass the testing programmer will need virtual environment or third party tool like IE tester to verify the application.

For automation testing purposes, I will use VMware to setup multiple virtual machine for my work. If there is a request to run the test for 3 version of IE then I may whether to repeat the windows setup for 3 times or duplicate the virtual machine folder into 3.

I just thinking is there any way that can save the disk space and effort finally I think of the workaround by making the disk drive into primary and slave like our physical machine so that I can swap the system easily.

Steps
a) I will use VMware to create a virtual machine for IE 7 (disk 1).
b) Power off the virtual machine and add new disk drive (disk 2) for data only.
c) Open the configuration file to find out which is disk 1.
d) Create a new folder and name it as IE 6, IE 7 or IE 8 then copy and paste the virtual disk into the folder respectively.
e) Turn on the virtual machine again and upgrade to IE 8 and repeat the step c and d.
f) In future, just copy the virtual disk for the IE version that would like to test from the folder to the working folder will do, after finishing of work and move it back to the respectively folder.

Find The Virtual Disk From The Configuration File
Find The Virtual Disk From The Configuration File

Retrieve The Desire Drive From The Folder To Virtual Machine Working Folder
Retrieve The Desire Drive From The Folder To Virtual Machine Working Folder

Result
C Drive(disk 1) – 8 GB
D Drive(disk 2) – 10GB
3 IE environments = (8GB x 3) +10GB = 34GB
It saves 20GB of disk space rather than 54GB and also the time of setting up the environment.


Custom Search