© 2011 LogiGear Corporation. All Rights Reserved
Installation TestingInstallation Testing
Definition & Method
© 2011 LogiGear Corporation. All Rights Reserved
TABLE OF CONTENTTABLE OF CONTENT
INTRODUCTION METHODOLOGY SAMPLE TEST CASES & BUG CASES TIPS AND TRICKS
© 2011 LogiGear Corporation. All Rights Reserved
IntroductionIntroduction
Installation testing is performed to ensure that all Installed features and options function properly.
It is also performed to verify that all necessary components of the application are, indeed, installed.
In another word, Installation testing focuses on the way the new application or system is placed into its production environment
© 2011 LogiGear Corporation. All Rights Reserved
MethodologyMethodology
Installation testing should take care of the following points: To check if while installing product checks for the
dependent software / patches say Service pack3. Content/instructions displayed in installers are correct
(typo, grammar, characters) The product should check for the version of the same
product on the target machine, say the previous version should not be over installed on the newer version.
Installer should give a default installation path say “C:\programs\.”
© 2011 LogiGear Corporation. All Rights Reserved
MethodologyMethodology
Installer should allow user to install at location other then the default installation path.
Check if the product can be installed “Over the Network”
Installation should start automatically when the CD is inserted.
Installer should give the remove / Repair options.
When uninstalling, check that all the registry keys, files, Dll, shortcuts, active X components are removed from the system.
© 2011 LogiGear Corporation. All Rights Reserved
MethodologyMethodology
Try to install the software without administrative privileges (login as guest).
Try installing on different operating system. Try installing on system having non-compliant
configuration such as less memory / RAM / HDD.
Different domain\time zone
Installation completion details like Readme, INI and log file
© 2011 LogiGear Corporation. All Rights Reserved
MethodologyMethodology
with existing instance (for update)
Forward\reverse compatibility
Server\Client side validation
Uninstalled application can be repaired with reinstall
© 2011 LogiGear Corporation. All Rights Reserved
Sample Test Cases & Bug CasesSample Test Cases & Bug Cases
Test Cases Test Case 1 Summary: Verify application is
installed to the correct folder path specified by user Steps:
Run application executable installation file Set the destination of installing application to a
specific folder ( e.g. C:\AUT Complete the installation process Browse to C:\AUT folder Check that all files and folders of installed
application are presents
© 2011 LogiGear Corporation. All Rights Reserved
Sample Test Cases & Bug CasesSample Test Cases & Bug Cases
Test Case 2 Summary: Verify instructions in installers are displayed correctly
Steps Run application executable installation file Continue installation process through each screen
and make sure the content of instructions displays correctly
© 2011 LogiGear Corporation. All Rights Reserved
Sample Test Cases & Bug CasesSample Test Cases & Bug Cases
Bug Cases• Summary: Installation process failed due to
defective installation package
© 2011 LogiGear Corporation. All Rights Reserved
Sample Test Cases & Bug CasesSample Test Cases & Bug Cases
Summary: installers still gives out error even user tries to install with Administrator account
© 2011 LogiGear Corporation. All Rights Reserved
Tips and TricksTips and Tricks
Use flow diagrams to perform installation testing. Flow diagrams simplify our task. See example flow diagram for basic installation testing test case.
© 2011 LogiGear Corporation. All Rights Reserved
Tips and TricksTips and Tricks
Flow diagram
© 2011 LogiGear Corporation. All Rights Reserved
Tips and TrickTips and Trick
If you have previously installed compact basic version of application then in next test case install the full application version on the same path as used for compact version.
© 2011 LogiGear Corporation. All Rights Reserved
Tips and TricksTips and Tricks
Use flow diagrams to automate the testing efforts. It will be very easy to convert diagrams into automated scripts.
© 2011 LogiGear Corporation. All Rights Reserved
Tips and TrickTips and Trick
Test the installer scripts used for checking the required disk space. If installer is prompting required disk space 1MB, then make sure exactly 1MB is used or whether more disk space utilized during installation. If yes flag this as error.
© 2011 LogiGear Corporation. All Rights Reserved
Tips and TrickTips and Trick
If possible set a dedicated system for only creating disk images.
© 2011 LogiGear Corporation. All Rights Reserved
Tips and TricksTips and Tricks
Forcefully break the installation process in between. See the behavior of system and whether system recovers to its original state without any issues. You can test this “break of installation” on every installation step.
© 2011 LogiGear Corporation. All Rights Reserved
Tips and TricksTips and Tricks
Use software’s available freely in market to verify registry changes on successful installation. Verify the registry changes with your expected change list after installation.
© 2011 LogiGear Corporation. All Rights Reserved
ReferenceReference
http://www.softwaretestinghelp.com/category/installation-testing/
http://www.vietnamesetestingboard.org/zbxe/?document_srl=406085
http://csqa.info/istqb_certification#comment-7733