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

Name Description
AssertReply(String, Int32)

Initializes a new instance of the AssertReply class.

Fields

Name Description
Kind

Kind for the json object.

Properties

Name Description
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

Name Description
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