Class SapAgentResolutionException
Thrown when FieldFinder or ButtonFinder in the agent layer
cannot resolve a semantic target to a SAP GUI element.
public sealed class SapAgentResolutionException : Exception, ISerializable, _Exception
- Inheritance
-
SapAgentResolutionException
- Implements
- Inherited Members
Constructors
SapAgentResolutionException(string, string, IReadOnlyList<string>?)
Initialises the exception.
public SapAgentResolutionException(string target, string elementType, IReadOnlyList<string>? candidates = null)
Parameters
targetstringelementTypestringcandidatesIReadOnlyList<string>
Properties
Candidates
Candidate elements that were available at the time of the resolution attempt.
public IReadOnlyList<string> Candidates { get; }
Property Value
ElementType
The element type being resolved: "field", "button", etc.
public string ElementType { get; }
Property Value
Target
The semantic target string that could not be resolved.
public string Target { get; }