Class
ElementViewViewModel

Definition

Namespace:ArtOfTest.WebAii.Design.UI

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class ElementViewViewModel : ViewModelBase, IFindElementModel

Inheritance: objectElementViewViewModel

Implements: IFindElementModel

Constructors

ElementViewViewModel(ElementNode, Dispatcher)

Declaration

cs-api-definition
public ElementViewViewModel(ElementNode element, Dispatcher dispatcher)

Parameters

element

ElementNode

dispatcher

Dispatcher

Properties

AdvanceViewText

Declaration

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

Property Value

string

ApplyToCommand

Declaration

cs-api-definition
public CommandHandler ApplyToCommand { get; }

Property Value

CommandHandler

AreImageRecognitionSettingsApplicable

Declaration

cs-api-definition
public bool AreImageRecognitionSettingsApplicable { get; }

Property Value

bool

BackupClause

Declaration

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

Property Value

string

BackupSearchToolTip

Declaration

cs-api-definition
public string BackupSearchToolTip { get; }

Property Value

string

CanBeDataBound

Declaration

cs-api-definition
public bool CanBeDataBound { get; set; }

Property Value

bool

Implements IFindElementModel.CanBeDataBound

CanDeleteGroup

Declaration

cs-api-definition
public bool CanDeleteGroup { get; }

Property Value

bool

CanRunToStep

Declaration

cs-api-definition
public bool CanRunToStep { get; set; }

Property Value

bool

CloseNotificationPanel

Declaration

cs-api-definition
public CommandHandler CloseNotificationPanel { get; }

Property Value

CommandHandler

ConnectToText

Declaration

cs-api-definition
public string ConnectToText { get; }

Property Value

string

ConnectionError

Declaration

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

Property Value

string

CurrentDescriptor

Declaration

cs-api-definition
public ElementDescriptor CurrentDescriptor { get; }

Property Value

ElementDescriptor

CurrentElement

Declaration

cs-api-definition
public ITargetElement CurrentElement { get; set; }

Property Value

ITargetElement

CurrentElementName

Declaration

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

Property Value

string

Implements IFindElementModel.CurrentElementName

CurrentHost

Declaration

cs-api-definition
public IAutomationHost CurrentHost { get; set; }

Property Value

IAutomationHost

Implements IFindElementModel.CurrentHost

CurrentPath

Declaration

cs-api-definition
public string CurrentPath { get; }

Property Value

string

CurrentTechType

Declaration

cs-api-definition
public TechnologyType CurrentTechType { get; set; }

Property Value

TechnologyType

DataDrivenFilter

Declaration

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

Property Value

string

Implements IFindElementModel.DataDrivenFilter

DeleteElementImageCommand

Declaration

cs-api-definition
public CommandHandler DeleteElementImageCommand { get; }

Property Value

CommandHandler

DomTreeSelectedElement

Declaration

cs-api-definition
public ITargetElement DomTreeSelectedElement { get; set; }

Property Value

ITargetElement

ElementDescriptors

Declaration

cs-api-definition
public List<ElementDescriptor> ElementDescriptors { get; }

Property Value

List<ElementDescriptor>

Implements IFindElementModel.ElementDescriptors

ElementDescriptorsOrdered

Declaration

cs-api-definition
public IEnumerable<ElementDescriptor> ElementDescriptorsOrdered { get; }

Property Value

IEnumerable<ElementDescriptor>

ElementDomSelected

Declaration

cs-api-definition
public ITargetElement ElementDomSelected { get; set; }

Property Value

ITargetElement

ElementNode

Declaration

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

Property Value

ElementNode

ErrorCallBack

Declaration

cs-api-definition
public Action<GenericEventArgs<string>> ErrorCallBack { get; set; }

Property Value

Action<GenericEventArgs<string>>

FilterGroups

Declaration

cs-api-definition
public SelectionTrackedList<FilterGroupModel> FilterGroups { get; }

Property Value

SelectionTrackedList<FilterGroupModel>

FindExpressionGen

Declaration

cs-api-definition
public IFindExpressionGenerator FindExpressionGen { get; }

Property Value

IFindExpressionGenerator

HasImage

Declaration

cs-api-definition
public bool HasImage { get; }

Property Value

bool

HasSuggesstionState

Declaration

cs-api-definition
public bool HasSuggesstionState { get; set; }

Property Value

bool

ImageBitmap

Declaration

cs-api-definition
public BitmapImage ImageBitmap { get; set; }

Property Value

BitmapImage

ImageBrowserType

Declaration

cs-api-definition
public string ImageBrowserType { get; }

Property Value

string

ImageIndex

Declaration

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

Property Value

int

ImageKey

Declaration

cs-api-definition
public string ImageKey { get; }

Property Value

string

ImageOsVersion

Declaration

cs-api-definition
public string ImageOsVersion { get; }

Property Value

string

ImageResolution

Declaration

cs-api-definition
public string ImageResolution { get; }

Property Value

string

ImageScreenScale

Declaration

cs-api-definition
public string ImageScreenScale { get; }

Property Value

string

ImageThreshold

Declaration

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

Property Value

int

IsApplyToEnabled

Declaration

cs-api-definition
public bool IsApplyToEnabled { get; }

Property Value

bool

IsBackUpSearchSuccessfull

Declaration

cs-api-definition
public bool IsBackUpSearchSuccessfull { get; set; }

Property Value

bool

IsConnected

Declaration

cs-api-definition
public bool IsConnected { get; set; }

Property Value

bool

Implements IFindElementModel.IsConnected

IsDataDriven

Declaration

cs-api-definition
public bool IsDataDriven { get; set; }

Property Value

bool

Implements IFindElementModel.IsDataDriven

IsDirty

Declaration

cs-api-definition
public bool IsDirty { get; set; }

Property Value

bool

Implements IFindElementModel.IsDirty

IsFromBackupSearch

Declaration

cs-api-definition
public bool IsFromBackupSearch { get; }

Property Value

bool

IsImageModeSupported

Declaration

cs-api-definition
public bool IsImageModeSupported { get; }

Property Value

bool

IsSuccessfullValidated

Declaration

cs-api-definition
public bool IsSuccessfullValidated { get; }

Property Value

bool

IsUnsuccessfullValidated

Declaration

cs-api-definition
public bool IsUnsuccessfullValidated { get; set; }

Property Value

bool

IsValidationInProgress

Declaration

cs-api-definition
public bool IsValidationInProgress { get; set; }

Property Value

bool

LoadingFile

Declaration

cs-api-definition
public bool LoadingFile { get; set; }

Property Value

bool

NewElementNodeType

Declaration

cs-api-definition
public Type NewElementNodeType { get; }

Property Value

Type

RootNode

Declaration

cs-api-definition
public ITargetElement RootNode { get; set; }

Property Value

ITargetElement

ScrollOnImageSearch

Declaration

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

Property Value

bool?

SelectedHostModel

Declaration

cs-api-definition
public SelectHostModel SelectedHostModel { get; set; }

Property Value

SelectHostModel

SelectedImageDescriptor

Declaration

cs-api-definition
public ElementDescriptor SelectedImageDescriptor { get; set; }

Property Value

ElementDescriptor

ShowAdvancedMode

Declaration

cs-api-definition
public bool ShowAdvancedMode { get; set; }

Property Value

bool

ShowDesktopPanel

Declaration

cs-api-definition
public bool ShowDesktopPanel { get; }

Property Value

bool

ShowDomHiddenPanel

Declaration

cs-api-definition
public bool ShowDomHiddenPanel { get; }

Property Value

bool

ShowExpressionBuilderMode

Declaration

cs-api-definition
public bool ShowExpressionBuilderMode { get; set; }

Property Value

bool

ShowImageMode

Declaration

cs-api-definition
public bool ShowImageMode { get; set; }

Property Value

bool

ShowImagePreviewCommand

Declaration

cs-api-definition
public CommandHandler ShowImagePreviewCommand { get; }

Property Value

CommandHandler

ShowInfoCommand

Declaration

cs-api-definition
public CommandHandler ShowInfoCommand { get; }

Property Value

CommandHandler

SuggestionHeight

Declaration

cs-api-definition
public string SuggestionHeight { get; }

Property Value

string

Suggestions

Declaration

cs-api-definition
public ObservableCollection<SuggestedExpressionModel> Suggestions { get; }

Property Value

ObservableCollection<SuggestedExpressionModel>

Implements IFindElementModel.Suggestions

SupportElementSplit

Declaration

cs-api-definition
public bool SupportElementSplit { get; set; }

Property Value

bool

Implements IFindElementModel.SupportElementSplit

UpdateFindExpressionCommand

Declaration

cs-api-definition
public CommandHandler UpdateFindExpressionCommand { get; }

Property Value

CommandHandler

ValidationTimeStamp

Declaration

cs-api-definition
public DateTime ValidationTimeStamp { get; set; }

Property Value

DateTime

VisibleHostExpandCommand

Declaration

cs-api-definition
public CommandHandler VisibleHostExpandCommand { get; }

Property Value

CommandHandler

VisibleHosts

Declaration

cs-api-definition
public ObservableCollection<SelectHostModel> VisibleHosts { get; }

Property Value

ObservableCollection<SelectHostModel>

Methods

AddBlankGroup()

Declaration

cs-api-definition
public void AddBlankGroup()

Implements IFindElementModel.AddBlankGroup()

AddSuggestion(SuggestedExpressionModel)

Declaration

cs-api-definition
public void AddSuggestion(SuggestedExpressionModel suggestion)

Parameters

suggestion

SuggestedExpressionModel

Implements IFindElementModel.AddSuggestion(SuggestedExpressionModel)

AttemptConnectingToExistingHostAsync(Action<IAutomationHost, string>)

Declaration

cs-api-definition
public void AttemptConnectingToExistingHostAsync(Action<IAutomationHost, string> callBack)

Parameters

callBack

Action<IAutomationHost, string>

Close()

Declaration

cs-api-definition
public void Close()

DeleteGroup(FilterGroupModel)

Declaration

cs-api-definition
public void DeleteGroup(FilterGroupModel fmg)

Parameters

fmg

FilterGroupModel

Implements IFindElementModel.DeleteGroup(FilterGroupModel)

FindElement()

Declaration

cs-api-definition
public void FindElement()

HighlightElement(ITargetElement)

Declaration

cs-api-definition
protected virtual void HighlightElement(ITargetElement element)

Parameters

element

ITargetElement

OnFilterNameChanged(string)

Declaration

cs-api-definition
public void OnFilterNameChanged(string newName)

Parameters

newName

string

Implements IFindElementModel.OnFilterNameChanged(string)

OnFilterNameChanging(string)

Declaration

cs-api-definition
public void OnFilterNameChanging(string oldName)

Parameters

oldName

string

Implements IFindElementModel.OnFilterNameChanging(string)

OnValidationRequest()

Declaration

cs-api-definition
public void OnValidationRequest()

Implements IFindElementModel.OnValidationRequest()

RebuildSuggestions(FilterGroupModel)

Declaration

cs-api-definition
public void RebuildSuggestions(FilterGroupModel fgm)

Parameters

fgm

FilterGroupModel

Implements IFindElementModel.RebuildSuggestions(FilterGroupModel)

ReloadElementNode(bool)

Declaration

cs-api-definition
public void ReloadElementNode(bool skipPropmt = false)

Parameters

skipPropmt

bool

ReportError(string)

Declaration

cs-api-definition
protected virtual void ReportError(string errorMsg)

Parameters

errorMsg

string

UpdateFindExpression()

Declaration

cs-api-definition
public void UpdateFindExpression()

Validate()

Declaration

cs-api-definition
public void Validate()

ValidateImage()

Declaration

cs-api-definition
public void ValidateImage()
In this article
DefinitionConstructorsElementViewViewModel(ElementNode, Dispatcher)PropertiesAdvanceViewTextApplyToCommandAreImageRecognitionSettingsApplicableBackupClauseBackupSearchToolTipCanBeDataBoundCanDeleteGroupCanRunToStepCloseNotificationPanelConnectToTextConnectionErrorCurrentDescriptorCurrentElementCurrentElementNameCurrentHostCurrentPathCurrentTechTypeDataDrivenFilterDeleteElementImageCommandDomTreeSelectedElementElementDescriptorsElementDescriptorsOrderedElementDomSelectedElementNodeErrorCallBackFilterGroupsFindExpressionGenHasImageHasSuggesstionStateImageBitmapImageBrowserTypeImageIndexImageKeyImageOsVersionImageResolutionImageScreenScaleImageThresholdIsApplyToEnabledIsBackUpSearchSuccessfullIsConnectedIsDataDrivenIsDirtyIsFromBackupSearchIsImageModeSupportedIsSuccessfullValidatedIsUnsuccessfullValidatedIsValidationInProgressLoadingFileNewElementNodeTypeRootNodeScrollOnImageSearchSelectedHostModelSelectedImageDescriptorShowAdvancedModeShowDesktopPanelShowDomHiddenPanelShowExpressionBuilderModeShowImageModeShowImagePreviewCommandShowInfoCommandSuggestionHeightSuggestionsSupportElementSplitUpdateFindExpressionCommandValidationTimeStampVisibleHostExpandCommandVisibleHostsMethodsAddBlankGroup()AddSuggestion(SuggestedExpressionModel)AttemptConnectingToExistingHostAsync(Action<IAutomationHost, string>)Close()DeleteGroup(FilterGroupModel)FindElement()HighlightElement(ITargetElement)OnFilterNameChanged(string)OnFilterNameChanging(string)OnValidationRequest()RebuildSuggestions(FilterGroupModel)ReloadElementNode(bool)ReportError(string)UpdateFindExpression()Validate()ValidateImage()
Not finding the help you need?
Contact Support