You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/test/test-different-configurations.md
+106-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Test different configurations
3
-
description: Manual and exploratory testing - test different configurations with Azure DevOps and Team Foundation Server (TFS)
3
+
description: Learn about manual and exploratory testing. You can test different configurations with Azure Test Plans and Team Foundation Server.
4
4
ms.assetid: 750F033E-A39E-4C85-BF85-012629C33DE6
5
5
ms.technology: devops-test
6
6
ms.topic: conceptual
@@ -42,6 +42,45 @@ Then you can:
42
42
<aname="create-configs"></a>
43
43
44
44
## Create configurations and variables
45
+
::: moniker range=">=azure-devops-2020"
46
+
47
+
A test configuration is a combination of configuration variable values.
48
+
Your configuration variables could be, for example, operating system, browser, CPU type, database.
49
+
A configuration might be "Windows 8 + 32-bit CPU" or "Windows 10 + 64-bit CPU."
50
+
51
+
Create the configuration variables first.
52
+
Then combine multiple variable values to create a configuration.
53
+
54
+
1. Open the **Configurations** page in the **Test Plans** web portal, select the **+** icon, and select **New configuration variable**.
55
+
56
+

57
+
58
+
1. Type a name for the variable, such as **Browser**, and a description.
59
+
Select **Add new value**, and then add a value.
60
+
Add as many values as you wish to the configuration variable, and then save it.
61
+
62
+

63
+
64
+
1. Repeat the steps to create any other configuration variables you need.
65
+
For example, create a configuration variable named **Operating system** with the names of each operating system on which you want to test.
66
+
67
+

68
+
69
+
1. Select the **+** icon and select **New test configuration**.
70
+
71
+

72
+
73
+
1. Type a name for the test configuration and add the configuration variables you created.
74
+
Choose a value for each variable for this configuration.
75
+
76
+

77
+
78
+
Be sure that **Assign to new test plans** is checked to make this configuration the default for all the new test plans you create.
79
+
80
+
1. Save your new test configuration.
81
+
::: moniker-end
82
+
83
+
::: moniker range="<=azure-devops-2019"
45
84
46
85
A test configuration is a combination of configuration variable
47
86
values. Your configuration variables could be, for example,
@@ -82,9 +121,35 @@ multiple variable values to create a configuration.
82
121
configuration for all the new test plans you create.
83
122
84
123
6. Save your new test configuration.
124
+
::: moniker-end
85
125
86
126
<aname="assign-configs"></a>
127
+
87
128
## Assign configurations to test plans and suites
129
+
::: moniker range=">=azure-devops-2020"
130
+
131
+
You can assign configurations to a test suite or an individual test case.
132
+
Configurations assigned to a test suite apply to all tests or suites within it.
133
+
134
+
1. To assign a configuration to a test suite, in the **Test plans** page, select a plan.
135
+
In the **Test Suites** area, select a test suite and select **More options** or right-click to open the context menu and then select **Assign configuration**.
136
+
137
+

138
+
139
+
If you add multiple configurations to a test suite, the tests cases are repeated with each of the configurations you have assigned.
140
+
141
+

142
+
143
+
1. If necessary, override the default configuration assigned to a test case and assign the configuration you need.
144
+
Select one or more test cases, open the context menu, and select **Assign configuration**.
145
+
146
+

147
+
148
+
1. Search for and select the configurations to assign to the test cases.
149
+
150
+

151
+
::: moniker-end
152
+
::: moniker range="<=azure-devops-2019"
88
153
89
154
You can assign configurations to a test plan, a test suite,
90
155
or an individual test case. Configurations assigned to a test plan
@@ -101,7 +166,7 @@ or test suite apply to all tests or suites within it.
101
166

102
167
103
168
If you add multiple configurations to a test plan or suite,
104
-
the tests cases are repeated in the plan or suite with the
169
+
the tests cases are repeated in the plan or suite with
105
170
each of the configurations you have assigned.
106
171
107
172

@@ -115,9 +180,25 @@ or test suite apply to all tests or suites within it.
115
180
1. Search for and select the configurations to assign to these test case(s).
116
181
117
182

183
+
::: moniker-end
118
184
119
185
<aname="run-configs"></a>
186
+
120
187
## Run tests with each configuration
188
+
::: moniker range=">=azure-devops-2020"
189
+
190
+
Set up a testing platform for a particular configuration, such as testing the app using Google Chrome on Windows 10.
191
+
192
+
1. Select and run a test that has this configuration assigned.
193
+
194
+

195
+
196
+
As you run the test, a reminder of the configuration appears in the status bar.
197
+
198
+

199
+
::: moniker-end
200
+
201
+
::: moniker range="<=azure-devops-2019"
121
202
122
203
1. Set up a testing platform for a particular configuration, such
123
204
as testing the app using Google Chrome on Windows 10.
@@ -130,9 +211,31 @@ or test suite apply to all tests or suites within it.
130
211
in shown in the status bar of the Test Runner window.
131
212
132
213

214
+
::: moniker-end
133
215
134
216
<aname="track-configs"></a>
217
+
135
218
## Track test results for each configuration
219
+
::: moniker range=">=azure-devops-2020"
220
+
221
+
1. Open the **Charts** page for your test suite, select **New**, and select **New test result chart**.
222
+
223
+

224
+
225
+
1. Choose a type of chart, like a pie chart or bar chart, and then select **Group by** > **Configuration** and choose **OK**.
226
+
227
+

228
+
229
+
A chart is created that can help you track your tests based on configurations.
230
+
You can pin this chart to your dashboard.
231
+
232
+

233
+
234
+
If you have a test case that appears in several test suites, you can set the different configurations for each suite.
235
+
The same test case can have different configuration settings in different test suites and test plans.
236
+
::: moniker-end
237
+
238
+
::: moniker range="<=azure-devops-2019"
136
239
137
240
1. Open the **Charts** page for your test plan or test suite, choose
138
241
**New**, and select **New test result chart**.
@@ -151,6 +254,7 @@ or test suite apply to all tests or suites within it.
151
254
152
255
> If you have a test case that appears in several test plans and test suites, you can set the different configurations for each of these.
153
256
The same test case can have different configuration settings in different test suites and test plans.
0 commit comments