Class
ElementImageData

Definition

Namespace:ArtOfTest.WebAii.Design.ImageCapturing

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class ElementImageData

Inheritance: objectElementImageData

Constructors

ElementImageData()

Declaration

cs-api-definition
public ElementImageData()

ElementImageData(ElementImageData)

Declaration

cs-api-definition
public ElementImageData(ElementImageData dataToClone)

Parameters

dataToClone

ElementImageData

ElementImageData(Guid)

Declaration

cs-api-definition
public ElementImageData(Guid id)

Parameters

id

Guid

Properties

BrowserType

Declaration

cs-api-definition
public BrowserType BrowserType { get; set; }

Property Value

BrowserType

Id

A unique Id, used to distinguish between different instances of ElementViewViewModel where this ElementImageData is used. The Id is used runtime-only and is not stored on the file system. Different instances of ElementImageData that represent different step shadows will have the same Id as long as they are merged as the a single ElementViewViewModel

Declaration

cs-api-definition
public Guid Id { get; set; }

Property Value

Guid

Image

Declaration

cs-api-definition
public byte[] Image { get; set; }

Property Value

byte[]

Index

Declaration

cs-api-definition
public int Index { get; set; }

Property Value

int

Key

The key that is used to store the element image in the TestElementImageStore

Declaration

cs-api-definition
public string Key { get; set; }

Property Value

string

OsVersion

Declaration

cs-api-definition
public Version OsVersion { get; set; }

Property Value

Version

Resolution

Declaration

cs-api-definition
public Size Resolution { get; set; }

Property Value

Size

ScreenScale

Declaration

cs-api-definition
public float ScreenScale { get; set; }

Property Value

float

ScrollOnImageSearch

Declaration

cs-api-definition
public bool? ScrollOnImageSearch { get; set; }

Property Value

bool?

Threshold

Declaration

cs-api-definition
public int Threshold { get; set; }

Property Value

int

Methods

Clone()

Clone the existing ElementImageData

Declaration

cs-api-definition
public ElementImageData Clone()

Returns

ElementImageData

The cloned ElementImageData

SetFromImageSearchClause(ImageSearchClause)

Sets properties from ImageSearchClause

Declaration

cs-api-definition
public void SetFromImageSearchClause(ImageSearchClause imgClause)

Parameters

imgClause

ImageSearchClause