installation testing

20
© 2011 LogiGear Corporation. All Rights Reser Installation Testing Installation Testing Definition & Method

Upload: robin0590

Post on 12-Nov-2014

512 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Installation testing

© 2011 LogiGear Corporation. All Rights Reserved

Installation TestingInstallation Testing

Definition & Method

Page 2: Installation testing

© 2011 LogiGear Corporation. All Rights Reserved

TABLE OF CONTENTTABLE OF CONTENT

INTRODUCTION METHODOLOGY SAMPLE TEST CASES & BUG CASES TIPS AND TRICKS

Page 3: Installation testing

© 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

Page 4: Installation testing

© 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\.”

Page 5: Installation testing

© 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.

Page 6: Installation testing

© 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

Page 7: Installation testing

© 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

Page 8: Installation testing

© 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

Page 9: Installation testing

© 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

Page 10: Installation testing

© 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

Page 11: Installation testing

© 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

Page 12: Installation testing

© 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.

Page 13: Installation testing

© 2011 LogiGear Corporation. All Rights Reserved

Tips and TricksTips and Tricks

Flow diagram

Page 14: Installation testing

© 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.

Page 15: Installation testing

© 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.

Page 16: Installation testing

© 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.

Page 17: Installation testing

© 2011 LogiGear Corporation. All Rights Reserved

Tips and TrickTips and Trick

If possible set a dedicated system for only creating disk images. 

Page 18: Installation testing

© 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.

Page 19: Installation testing

© 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.

Page 20: Installation testing

© 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