Defining the Configurations to Test
Creating Test Cases
41
Defining the Configurations to Test
You can use configurations to set up test cases so that they run automatically on
computers with specific hardware or software. For example, you might need to make
sure that a test case runs successfully on certain operating systems and certain
browsers. You could have configurations that test each operating system and browser
separately. Optionally you might need to test that certain combinations of operating
systems and browsers work together.
For example, a test case might need to run successfully on the following combinations
of an operating system and a Web browser:
s
Windows 2000 and Internet Explorer 4
s
Windows 2000 and Netscape 4
s
Windows NT 4 and Internet Explorer 4
s
Windows NT 4 and Netscape 4
Each of these combinations is a configuration that you need to test. After you define
the configurations in TestManager, you can associate the configurations with test
cases to create configured test cases. You can then run the configured test cases on the
appropriate computers.
There are four main steps when setting up configurations:
1
For example, Browser is not a built-in configuration attribute. You would create a
configuration attribute named Browser, with values of Internet Explorer 4 and
Netscape 4.
2
Create a file named
tmsconfig.csv
or use the
tmsconfig.csv
file provided for each
computer on which you intend to run a configured test case. Type the custom
attributes and the appropriate values for that computer in the
tmsconfig.csv
file.
For example, if a computer has Internet Explorer 4, you must create a
tmsconfig.csv file
on that computer to indicate the browser that is on it.
3
For example, Win2000 - IE4 is one configuration, and Win2000 - Netscape4 is
another configuration.