Share via


AssertReply Class

Definition

Test Script action to assert that the bots' reply matches expectations.

public class AssertReply : Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestActions.AssertReplyActivity
type AssertReply = class
    inherit AssertReplyActivity
Public Class AssertReply
Inherits AssertReplyActivity
Inheritance

Constructors

AssertReply(String, Int32)

Initializes a new instance of the AssertReply class.

Fields

Kind

Kind for the json object.

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 text should be an exact match.

Text

Gets or sets the Text to assert.

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.

Applies to