AssertReplyActivity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Basic assertion TestAction, which validates assertions against a reply activity.
public class AssertReplyActivity : Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestAction
type AssertReplyActivity = class
inherit TestAction
Public Class AssertReplyActivity
Inherits TestAction
- Inheritance
- Derived
Constructors
| AssertReplyActivity(String, Int32) |
Initializes a new instance of the AssertReplyActivity class. |
Fields
| Kind |
Kind for json serialization. |
Properties
| Assertions |
Gets the assertions. |
| Description |
Gets or sets the description of this assertion. |
| Timeout |
Gets or sets the milliseconds to wait for a reply. |
Methods
| ExecuteAsync(TestAdapter, BotCallbackHandler, Inspector) |
Execute the test. |
| GetConditionDescription() |
Gets the text to assert for an activity. |
| RegisterSourcePath(String, Int32) |
Registers the path to file and callers line. (Inherited from TestAction) |
| ValidateReply(Activity) |
Validates the reply of an activity. |