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/counters-panel-in-load-test-analyzer.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ The Counters panel provides the following features:
41
41
42
42
### Scenario Name Node in Counters Panel
43
43
44
-
|||
44
+
|Counters Panel|Description|
45
45
|-|-|
46
46
||1. All performance counters associated with Scenario1 of the load test appear under this node.<br />2. All tests of a scenario are located beneath the scenario node. The label indicates the test name.<br />3. Leaf nodes under a test node are load test test case counters, where the instance name for the counter is the test name.<br />4. All load test page counter instances associated with a Web performance test branch. At this node, all the load test pace counter instances associated with page Login GET (Reporting name) of the IBuyBrowse Web performance test in Scenario1 of the load test are contained here.<br />5. Leaf nodes under a page node are load test page counters.<br />6. All load test requests counter instances associated with a Web performance test are contained within a Web performance test branch. At this node, all request counter instances associated with the request Login GET (Reporting name) of IBuyBrowse Web performance test in Scenario1 o the load test contained here.<br />7. Leaf nodes under a request node are load test request counters.<br />8. All load test transaction counter instances associated with a Web performance test are contained within a Web performance test branch. At this node, all transaction counter instances associate with the transaction named Transaction1 of the IBuyBrowse Web performance test in Scenraio1 of the load test are contained here.<br />9. Leaf nodes under a transaction node are load test transaction counters.<br />10. Unit test node.|
Copy file name to clipboardExpand all lines: docs/test/edit-load-test-scenarios.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,8 @@ Any initial configuration options and settings that you specify when you create
27
27
28
28
Scenarios contain the following components:
29
29
30
-
|||
31
-
|-|-|
32
30
|Term|Definition|
31
+
|-|-|
33
32
|Browser Mix|Simulates that virtual users access a Web site through a variety of Web browsers.|
34
33
|Load Pattern|Specifies the number of virtual users that are active during a load test, and the rate at which new users are started. For example: step, constant, and goal-based.|
35
34
|Test Mix Model|Specifies the probability of a virtual user running a given test in a load test scenario. For example: 20% chance to run TestA and 80% chance to run TestB. The test mix model should reflect the objectives of your test for a particular scenario.|
Copy file name to clipboardExpand all lines: docs/test/live-unit-testing.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ If you have older MSTest based test projects that are referencing `Microsoft.Vis
52
52
53
53
In some cases, you may need to explicitly restore the NuGet packages referenced by the projects in the solution in order for Live Unit Testing to work. You can do this either by doing an explicit build of the solution (select **Build**, **Rebuild Solution** from the top-level Visual Studio menu) or by restoring packages in the solution (right-click on the solution and select **Restore NuGet Packages**) before enabling Living Unit Testing.
54
54
55
-
#Configuring Live Unit Testing
55
+
## Configuring Live Unit Testing
56
56
57
57
You can configure Live Unit Testing by selecting **Tools**, **Options** from the top-level Visual Studio menu, and then selecting **Live Unit Testing** in the left pane of the **Options** dialog. The following figure shows the Live Unit Testing configuration options available in the dialog.
Copy file name to clipboardExpand all lines: docs/test/run-unit-tests-with-test-explorer.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ The pass/fail bar at the top of the Test Explorer window is animated as the test
48
48
49
49
### Run tests after every build
50
50
51
-
|||
51
+
|Button|Description|
52
52
|-|-|
53
53
||To run your unit tests after each local build, choose **Test** on the standard menu, and then choose **Run Tests After Build** on the Test Explorer toolbar.|
54
54
@@ -148,7 +148,7 @@ To filter by a different criteria:
148
148
149
149
To exclude a subset of the results of a filter, use the following syntax:
Copy file name to clipboardExpand all lines: docs/test/unit-test-basics.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ It is often quicker to generate the unit test project and unit test stubs from y
90
90
91
91

92
92
93
-
4. Now jump ahead to learn how to [add code to the unit test methods](#BKMK_Writing_your_tests) to make your unit test meaningful, and any extra unit tests that you might want to add to thoroughly test your code.
93
+
4. Now jump ahead to learn how to [add code to the unit test methods](#write-your-tests) to make your unit test meaningful, and any extra unit tests that you might want to add to thoroughly test your code.
94
94
95
95
**Create your unit test project and unit tests manually**
96
96
@@ -220,7 +220,7 @@ The Test Explorer toolbar helps you discover, organize, and run the tests that y
220
220
> [!WARNING]
221
221
> Running unit tests after every build is supported only in Visual Studio Enterprise.
222
222
223
-
|||
223
+
|Button|Description|
224
224
|-|-|
225
225
||To run your unit tests after each local build, choose **Test** on the standard menu, choose **Run Tests After Build** on the Test Explorer toolbar.|
226
226
@@ -230,7 +230,7 @@ When you have a large number of tests, you can Type in Test Explorer search box
Copy file name to clipboardExpand all lines: docs/test/using-html5-controls-in-coded-ui-tests.md
+7-66Lines changed: 7 additions & 66 deletions
Original file line number
Diff line number
Diff line change
@@ -26,18 +26,7 @@ Coded UI tests include support for some of the HTML5 controls that are included
26
26
> If you create a coded UI test in Internet Explorer 10, it might not run using Internet Explorer 9 or Internet Explorer 8. This is because Internet Explorer 10 includes HTML5 controls such as Audio, Video, ProgressBar and Slider. These HTML5 controls are not recognized by Internet Explorer 9, or Internet Explorer 8. Likewise, your coded UI test using Internet Explorer 9 might include some HTML5 controls that also will not be recognized by Internet Explorer 8.
27
27
28
28
29
-
## Supported HTML5 Controls
30
-
Coded UI tests include support for record, playback, and validation of the following HTML5 controls:
@@ -51,27 +40,7 @@ Coded UI tests include support for some of the HTML5 controls that are included
51
40
|**Unmute audio**<br /><br /> Directly from control, or from controls context menu.|Unmute \<name> Audio|HtmlAudio.Unmute()|
52
41
|**Change volume of audio**|Set volume of \<name> Audio to 79%|HtmlAudio.SetVolume(float)|
53
42
54
-
The following properties are available for HtmlAudio and you can add an assertion on all of them:
55
-
56
-
```
57
-
string AutoPlay
58
-
string Controls
59
-
string CurrentSrc
60
-
string CurrentTime
61
-
string CurrentTimeAsString
62
-
string Duration
63
-
string DurationAsString
64
-
string Ended
65
-
string Loop
66
-
string Muted
67
-
string Paused
68
-
string PlaybackRate
69
-
string ReadyState
70
-
string Seeking
71
-
string Src
72
-
string Volume
73
-
74
-
```
43
+
See [HTMLAudioElement](https://developer.mozilla.org/docs/Web/API/HTMLAudioElement) for a list of properties on which you can add an assertion.
75
44
76
45
**Search properties:** The search properties for `HtmlAudio` are `Id`, `Name` and `Title`.
77
46
@@ -81,7 +50,7 @@ string Volume
81
50
> The amount of time for Seek and Pause can be significant. During playback, the coded UI test will wait until the specified time in `(TimeSpan)` before Pausing the audio. If by some special circumstance, the specified time has passed before hitting the Pause command, an exception will be thrown.
82
51
83
52
84
-
### <aname="UsingHTML5ControlsCodedUITestsVideo"></a> Video Control
53
+
## Video Control
85
54
**Video control:** Actions on the HTML5 Video control are correctly recorded and played back.
86
55
87
56

@@ -95,14 +64,7 @@ string Volume
95
64
|**Unmute video**<br /><br /> Directly from control, or from controls context menu.|Unmute \<name> Video|HtmlVideo.Unmute()|
96
65
|**Change volume of video**|Set volume of \<name> Video to 79%||
97
66
98
-
All the properties of HtmlAudio are available for HtmlVideo. In addition, the following three properties are also available. Assertion can be added on all of them.
99
-
100
-
```
101
-
string Poster
102
-
string VideoHeight
103
-
string VideoWidth
104
-
105
-
```
67
+
See [HTMLVideoElement](https://developer.mozilla.org/docs/Web/HTML/Element/video) for a list of properties on which you can add an assertion.
106
68
107
69
**Search properties:** The search properties for `HtmlVideo` are `Id`, `Name` and `Title`.
108
70
@@ -111,35 +73,14 @@ string VideoWidth
111
73
> [!NOTE]
112
74
> If you rewind or fast forward the video using -30s or +30s labels, this will be aggregated to seek to the appropriate time.
**ProgreesBar control:** The ProgressBar is a non-interactable control. You can add assertions on the `Value` and `Max` properties of this control.
76
+
## ProgressBar
77
+
**ProgressBar control:** The ProgressBar is a non-interactable control. You can add assertions on the `Value` and `Max` properties of this control. For more information, see [HTMLProgressElement](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress).
-[Supported Configurations and Platforms for Coded UI Tests and Action Recordings](../test/supported-configurations-and-platforms-for-coded-ui-tests-and-action-recordings.md)
0 commit comments