AssertReplyOneOf 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.
Assertion that reply from the bot matches one of options.
public class AssertReplyOneOf : Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestActions.AssertReplyActivity
type AssertReplyOneOf = class
inherit AssertReplyActivity
Public Class AssertReplyOneOf
Inherits AssertReplyActivity
- Inheritance
Constructors
AssertReplyOneOf(String, Int32) |
Initializes a new instance of the AssertReplyOneOf class. |
Fields
Kind |
kind for serialization. |
Properties
Assertions |
Gets the assertions. (Inherited from AssertReplyActivity) |
Description |
Gets or sets the description of this assertion. (Inherited from AssertReplyActivity) |
Exact |
Gets or sets a value indicating whether exact match policy should be used. |
Text |
Gets the text variations. |
Timeout |
Gets or sets the milliseconds to wait for a reply. (Inherited from AssertReplyActivity) |
Methods
ExecuteAsync(TestAdapter, BotCallbackHandler, Inspector) |
Execute the test. (Inherited from AssertReplyActivity) |
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. |