Open topic with navigation

ItemNotFoundException Constructor(ITestObject,Int32,String)
Initializes a new instance of the ItemNotFoundException class with the test object on which the run error occurred, a specified error message and an error code associated with this exception.

C# Syntax

    public ItemNotFoundException(
       ITestObject testObject,
       int errorCode,
       string message
    )

Parameters

testObject
  The test object on which the run error occurred.
errorCode
  The error code associated with this exception.
message
  The error message that explains the reason for the exception.