Skip to content
This repository was archived by the owner on Feb 19, 2023. It is now read-only.

Commit d576e1b

Browse files
committed
feat: set FailCountLimit
1 parent 53b57f6 commit d576e1b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

frmMain.vb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1743,6 +1743,7 @@ LocalErrorHandler:
17431743
chkReportPassedTests.CheckState = System.Windows.Forms.CheckState.Unchecked
17441744
End If
17451745
chkReportPassedTests.Enabled = True
1746+
.FailCountLimit = DebugNumericUpDown.Value
17461747
End With
17471748

17481749
'update the statistics status bar
@@ -2626,4 +2627,12 @@ LocalErrorHandler:
26262627
Private Sub DebugCheckBox_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DebugCheckBox.CheckedChanged
26272628
DebugNumericUpDown.Enabled = DebugCheckBox.Checked
26282629
End Sub
2630+
2631+
Private Sub DebugNumericUpDown_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DebugNumericUpDown.ValueChanged
2632+
Try
2633+
TestExecSL1.Testplan.Preference.FailCountLimit = DebugNumericUpDown.Value
2634+
Catch ex As AxHost.InvalidActiveXStateException
2635+
' Not activated yet. Just pass.
2636+
End Try
2637+
End Sub
26292638
End Class

0 commit comments

Comments
 (0)