Activities
latest
false
Banner background image
Workflow Activities
Last updated Apr 1, 2024

PREVIEW
VerifyIsLess

Verifies that the first expression is less than the second expression.

Definition

Namespace: UiPath.Testing.API

Assembly: UiPath.Testing.Activities.Api (in UiPath.Testing.Activities.Api.dll)

VerifyIsLess(object, object, string)

bool VerifyIsLess(
       object firstExpression,
       object secondExpression
       string outputMessageFormat = null
)bool VerifyIsLess(
       object firstExpression,
       object secondExpression
       string outputMessageFormat = null
)
firstExpression Object
The first expression in the verification process.
secondExpression Object
The second expression in the verification process.
outputMessageFormat String
The format of the output message. The supported arguments are:
  • {LeftExpression}
  • {LeftExpressionText}
  • {RightExpression}
  • {RightExpressionText}
  • {Result}
  • {Operator}
For instance, you can use the following output message format:
"{LeftExpressionText}
    (with value {LeftExpression}) {Operator} {RightExpressionText} (with value {RightExpression})
    has result {Result}."{LeftExpressionText}
    (with value {LeftExpression}) {Operator} {RightExpressionText} (with value {RightExpression})
    has result {Result}.
This message format indicates a comparison between two values or variables (LeftExpression and RightExpression), using a certain operator. The {Result} represents the outcome of this comparison.

Return value

It is True if the first expression is less than the second expression , and False if the first expression is equal to or greater than the second expression.
  • Definition
  • VerifyIsLess(object, object, string)
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.