Table of Contents

Class TechnologyLimitation

Namespace
Ranorex.Core
Assembly
Ranorex.Core.dll

Describes a limitation that a technology has encountered.

[TypeConverter(typeof(ExpandableObjectConverter))]
public sealed class TechnologyLimitation
Inheritance
TechnologyLimitation
Inherited Members

Properties

LogToReport

Gets a value indicating whether this technology limitation should be logged to the Report.

public TechnologyLimitation.LogToReportOption LogToReport { get; }

Property Value

TechnologyLimitation.LogToReportOption

Message

Gets a message describing the limitation.

public string Message { get; }

Property Value

string

Name

Gets the unique identifier for the limitation.

public string Name { get; }

Property Value

string

Technology

Gets the technology that encountered the limitation.

public string Technology { get; }

Property Value

string

WizardPageName

Gets the name of the wizard page to use.

public string WizardPageName { get; }

Property Value

string

The name of the wizard page.

WizardProperties

Gets the wizard properties.

public IDictionary<string, string> WizardProperties { get; }

Property Value

IDictionary<string, string>

Methods

Build(string, string, string)

Creates a new builder instance with all mandatory fields.

public static TechnologyLimitation.Builder Build(string id, string technology, string message)

Parameters

id string

A unique identifier for the limitation.

technology string

The technology that encountered the limitation.

message string

A message that describes the limitation.

Returns

TechnologyLimitation.Builder

Builder.

Examples

var baseBuilder = TechnologyLimitation.Build("sometech-someuniqueid", "sometech", "It did not work.");
var error1 = baseBuilder.ProcessInfo("SomeTechProcess", pid).Create();
var error2 = baseBuilder.HelpUrl("/foo/bar").ProcessInfo("OtherProcess", pid2).Create();
// ...

Equals(object)

Returns whether this instance is equal to obj.

public override bool Equals(object obj)

Parameters

obj object

Another instance.

Returns

bool

True if obj is a TechnologyLimitation instance and is equal to this instance.

Remarks

Two TechnologyLimitation instances are considered equal if their Names are equal.

GetFirstNonIgnoredLimitation(Element)

Gets the first non-ignored limitation that applies to element or to one of its ancestors.

public static TechnologyLimitation GetFirstNonIgnoredLimitation(Element element)

Parameters

element Element

The element to get the limitation from.

Returns

TechnologyLimitation

A non-ignored limitation or null if no limitation applies to the passed element or to one of its parents.

GetHashCode()

Gets a hash code for this instance.

public override int GetHashCode()

Returns

int

A hash code.