Share via


AssertReplyActivity Class

Definition

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
AssertReplyActivity
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.

Applies to