It is not common that software testers to get a requirement to test WDS deployment in Virtual machines.
However, recently, we tested this using some simple test cases. We can use them to check if the deployment is complete.
As part of our Server Management Service, we assist our customers with several Windows queries.
Today, let us see the test cases of WDS deployment in Virtual machines.
WDS deployment in Virtual machines
Moving ahead, let us see a few tests done by our Support Engineers.
Test case 1
WDS- Windows installation: To ensure proper Windows installation.
- Log in to the virtual machine
- Then in the command prompt type ‘winver’
This is the first and simple way to check the deployment. A prompt will show us the Windows version details.
Test case-2
WDS- Windows version: To test if the version is correct
- Log in to the virtual machine
- Then click the start button -> control panel -> system and security -> system and check the versions and bits
Test case-3
WDS- Anti-piracy: To test the auto-activation anti-piracy technology
For Windows 2008/Windows 7/Windows Vista
- Initially, login to the virtual machine
- Press windows+ R keys on the keyboard
- Then type slui and press Enter
For Windows 2003/Windows XP
- Log in to the virtual machine
- Then, Start -> Run and type command oobe/msoobe /a
- Eventually, hit Enter
This will display the action status.
Test case-4
WDS- Configure IP address
Once we have the operating system, we need to make sure it has the right IP address assigned and that it can ping.
IP correctness
- Log in to the virtual machine
- Click Start -> Run and take command prompt window
- Then enter ipconfig/all and check that the proper IP is assigned to the machine.
Ability to ping
If we are unable to ping, then:
- Click the start button and take Administrative tools -> Firewall with Advanced security on local computer
- Click Windows firewall properties and make Public profile -> off and again ping the IP address.
Test case-5
WDS- Configure Hostname: To test that hostname is set to the Virtual machine
- Log in to the virtual machine
- Then click Start -> Run, take command prompt window, and type hostname
Assign the correct hostname.
Test case-6
WDS- Configures Support information
In Windows 2008, if a customer has a managed service, this information will be provided.
- Log in to the virtual machine
- Right-click on Computer and choose Properties to bring up the System properties screen
- In the support information, check the information and compare it to the requirement
Test case-7
WDS- GPO settings
To ensure proper update of the Group Policy.
- Log in to the virtual machine
- Press Start -> Run and type gpedit.msc
- Check if the Group Policy settings are right and points to the Internal Windows update Server.
Test case-8
WDS- Windows updates installation
- Log in to the virtual machine
- Press Start -> Control Panel -> Programs -> Programs and Features
- Then view installed updates
Check that windows updates are proper.
Test case-9
WDS- Machine access
Once the deployment is complete, the machine should be accessible through other machines. We can check this as follows.
Access windows from Linux machine (Remote Desktop)
- Login to control panel using rdesktop -u username -p ‘password’ IP -g resolution in the terminal.
- Check if the user is able to access the windows system
For security, Remote access should allow through the firewall. We can check this from:
- Start -> Control Panel -> System and Security -> Windows Firewall -> Allowed Programs
- Check if rdesktop firewall is enabled
Access Linux from Windows machine
- Initially, log in to the virtual machine
- Then download putty.exe
- Eventually, save and open putty.exe file
- Specify the connection name by typing hostname or IP address in the open window
- Then click on the Open button to connect to remote Linux server via SSH
- Click on the Yes button to accept the server’s host key and cache the same key
- Finally, check if the user is able to access the Linux system
[Need help to perform any test? We’d be happy to assist]
Conclusion
To conclude, these are some easy ways to test Windows deployment in virtual machines.
0 Comments