Wise Package Studio Reference
159
Chapter 7
Test Expert
This chapter includes the following topics:
z
About Test Expert
on page 159
z
Opening a Package in Test Expert
on page 160
z
About Test Cases
on page 164
z
Test Case Reference
on page 172
z
Installation Tests
on page 173
z
Standard Tests
on page 177
z
Application Verification Tests
on page 180
z
Application Execution Tests
on page 187
z
Uninstall Tests
on page 193
About Test Expert
¾
Quality Assurance module only.
Test Expert provides a structured, intelligent approach to testing Windows Installer
packages that eliminates the random approach often used in an ad hoc testing
environment. Test Expert generates test cases based on the .MSI contents and lets you
add test cases that fit your organization’s needs. Testers are guided step-by-step
through test plans and can view the test status at any stage of the testing. You can test
.MSIs, .EXEs that were compiled from .MSIs, and groups of packages from the Wise
Software Repository.
Use Test Expert as part of your organization’s quality assurance process for testing
Windows Installer packages. Test Expert generates test cases, lets you create your own
test cases, tracks statuses, and helps you create a test plan that fits your organization’s
needs.
Test Expert reads package contents and generates a Master Test Plan that contains test
cases based on the contents. Example: If an .MSI contains launch conditions that
require Windows XP and Windows Vista, tests cases are created to test each launch
condition.
Generated tests are run within Test Expert. The buttons in the Test Expert toolbar
change to let you run each type of test. (Example: If you are running an installation
test, the Install button appears and clicking it runs the installation.) Some tests run
automatically, some tests start a process but wait for you to visually confirm results,
and some tests must be run manually and might require varying degrees of manual
configuration.
When you run an installation test, you can install the package into a virtual software
layer.
See
Installing an Installation Test into a Virtual Software Layer
on page 164.