C# Класс WindowsPhoneTestFramework.Server.WCFHostedAutomationController.ApplicationAutomationController

Наследование: IApplicationAutomationController
Показать файл Открыть проект

Открытые методы

Метод Описание
ApplicationAutomationController ( IPhoneAutomationServiceControl serviceControl, AutomationIdentification automationIdentification ) : System
ControlContainsImage ( string controlId, string imageName, int ordinal, string parentId ) : bool
FindMessageBox ( string title, string message, string buttons ) : bool
GetControlColor ( string controlIdOrText, int ordinal, string parentId ) : string
GetIsChecked ( string control ) : string
GetPositionOfControl ( string controlId, int ordinal, string parentId ) : RectangleF
GetPositionOfControlOrText ( string textOrControlId, int ordinal, string parentId ) : RectangleF
GetPositionOfText ( string text ) : RectangleF
GetProgressOfControl ( string controlId ) : ProgressValues
GetProgressOfControlOrText ( string textOrControlId ) : ProgressValues
GetProgressOfText ( string text ) : ProgressValues
HorizontalScroll ( string controlId, int amount ) : bool
InvokeAppBarTap ( string text ) : bool
InvokeControlTapAction ( string controlId, int ordinal, string parentId ) : bool
InvokeMessageboxTapAction ( string buttonText ) : bool
LookForAppBarItem ( string text ) : bool
LookForControl ( string controlId, int ordinal, string parentId ) : bool
LookForControlOrText ( string textOrControlId, int ordinal, string parentId ) : bool
LookForText ( string text ) : bool
LookIsAlive ( ) : bool
Navigate ( string direction ) : bool
Pivot ( string pivotName, PivotType pivot ) : bool
Pivot ( string pivotName, string itemName ) : bool
ScrollIntoView ( string controlId, int ordinal, string parentId = null ) : bool
ScrollIntoViewListItem ( string controlWithinItemId ) : bool
SelectListItem ( string controlWithinItemId ) : bool
SelectListItem ( string selectorName, int indexOfItemToSelect ) : bool
SetApplicationSettings ( string>.Dictionary values ) : bool
SetApplicationSettings ( string key, string value ) : bool
SetFocus ( string controlId, int ordinal, string parentId ) : bool
SetTextOnControl ( string controlId, string text, int ordinal, string parentId ) : bool
SetValueOnControl ( string controlId, string value, int ordinal, string parentId ) : bool
StopBackgroundAudio ( ) : bool
TakePicture ( Bitmap &bitmap ) : bool
TakePicture ( string controlId, Bitmap &bitmap, int ordinal, string parentId ) : bool
Toggle ( string buttonName ) : bool
TryGetAllApplicationSettings ( string>.Dictionary &values ) : bool
TryGetApplicationSettings ( string key, string &value ) : bool
TryGetControlIsEnabled ( string controlId, bool &isEnabled, int ordinal, string parentId ) : bool
TryGetPerformanceInformation ( string>.Dictionary &values ) : bool
TryGetTextFromControl ( string controlId, string &text, int ordinal, string parentId ) : bool
TryGetValueFromControl ( string controlId, string &text, int ordinal, string parentId ) : bool
VerticalScroll ( string controlId, int amount ) : bool
WaitForAppBarItem ( string text, System.TimeSpan timeout ) : bool
WaitForControl ( string controlId, System.TimeSpan timeout, int ordinal, string parentId ) : bool
WaitForControl ( string controlId, int ordinal, string parentId ) : bool
WaitForControlOrText ( string textOrControlId, System.TimeSpan timeout, int ordinal, string parentId ) : bool
WaitForControlOrText ( string textOrControlId, int ordinal, string parentId ) : bool
WaitForControlToBeEnabled ( string controlId, int ordinal, string parentId, System.TimeSpan timeout = null ) : bool
WaitForControlToDisappear ( string controlId, System.TimeSpan timeout, int ordinal, string parentId ) : bool
WaitForMessageBox ( string title, string message, string buttons ) : bool
WaitForText ( string text ) : bool
WaitForText ( string text, System.TimeSpan timeout ) : bool
WaitForTextToChange ( string controlId, string text, System.TimeSpan timeout, int ordinal, string parentId ) : bool
WaitForTextToDisappear ( string text, System.TimeSpan timeout ) : bool
WaitIsAlive ( ) : bool

Приватные методы

Метод Описание
CommonScroll ( string controlId, int horizontalAmount, int verticalAmount ) : bool
CreateAutomationIdentifier ( string id ) : AutomationIdentifier
CreateControlOrTextAutomationIdentifier ( string textOrControlId ) : AutomationIdentifier
CreateTextOnlyAutomationIdentifier ( string text ) : AutomationIdentifier
GetPositionOfAutomationIdentifier ( AutomationIdentifier controlIdentifier, int ordinal, AutomationIdentifier parentIdentifier ) : RectangleF
GetProgressOfAutomationIdentifier ( AutomationIdentifier automationIdentifier ) : ProgressValues
LogFailedMessage ( ResultBase toReturn ) : void
LookForAutomationIdentifer ( AutomationIdentifier controlIdentifier, int ordinal, AutomationIdentifier parentIdentifier ) : bool
SetTextOnAutomationIdentification ( AutomationIdentifier controlIdentifier, string text, int ordinal, AutomationIdentifier parentIdentifier ) : bool
SetValueOnAutomationIdentification ( AutomationIdentifier controlIdentifier, string textValue, int ordinal, AutomationIdentifier parentIdentifier ) : bool
SyncExecuteCommand ( CommandBase command ) : ResultBase
SyncLookExecuteCommand ( CommandBase command ) : ResultBase
TryGetTextFromAutomationIdentifier ( AutomationIdentifier controlIdentifier, string &text, int ordinal, AutomationIdentifier parentIdentifier ) : bool
TryGetValueFromAutomationIdentifier ( AutomationIdentifier controlIdentifier, string &value, int ordinal, AutomationIdentifier parentIdentifier ) : bool
WaitForTestSuccess ( Func test, System.TimeSpan timeout ) : bool

Описание методов

ApplicationAutomationController() публичный Метод

public ApplicationAutomationController ( IPhoneAutomationServiceControl serviceControl, AutomationIdentification automationIdentification ) : System
serviceControl IPhoneAutomationServiceControl
automationIdentification AutomationIdentification
Результат System

ControlContainsImage() публичный Метод

public ControlContainsImage ( string controlId, string imageName, int ordinal, string parentId ) : bool
controlId string
imageName string
ordinal int
parentId string
Результат bool

FindMessageBox() публичный Метод

public FindMessageBox ( string title, string message, string buttons ) : bool
title string
message string
buttons string
Результат bool

GetControlColor() публичный Метод

public GetControlColor ( string controlIdOrText, int ordinal, string parentId ) : string
controlIdOrText string
ordinal int
parentId string
Результат string

GetIsChecked() публичный Метод

public GetIsChecked ( string control ) : string
control string
Результат string

GetPositionOfControl() публичный Метод

public GetPositionOfControl ( string controlId, int ordinal, string parentId ) : RectangleF
controlId string
ordinal int
parentId string
Результат System.Drawing.RectangleF

GetPositionOfControlOrText() публичный Метод

public GetPositionOfControlOrText ( string textOrControlId, int ordinal, string parentId ) : RectangleF
textOrControlId string
ordinal int
parentId string
Результат System.Drawing.RectangleF

GetPositionOfText() публичный Метод

public GetPositionOfText ( string text ) : RectangleF
text string
Результат System.Drawing.RectangleF

GetProgressOfControl() публичный Метод

public GetProgressOfControl ( string controlId ) : ProgressValues
controlId string
Результат WindowsPhoneTestFramework.Server.Core.ProgressValues

GetProgressOfControlOrText() публичный Метод

public GetProgressOfControlOrText ( string textOrControlId ) : ProgressValues
textOrControlId string
Результат WindowsPhoneTestFramework.Server.Core.ProgressValues

GetProgressOfText() публичный Метод

public GetProgressOfText ( string text ) : ProgressValues
text string
Результат WindowsPhoneTestFramework.Server.Core.ProgressValues

HorizontalScroll() публичный Метод

public HorizontalScroll ( string controlId, int amount ) : bool
controlId string
amount int
Результат bool

InvokeAppBarTap() публичный Метод

public InvokeAppBarTap ( string text ) : bool
text string
Результат bool

InvokeControlTapAction() публичный Метод

public InvokeControlTapAction ( string controlId, int ordinal, string parentId ) : bool
controlId string
ordinal int
parentId string
Результат bool

InvokeMessageboxTapAction() публичный Метод

public InvokeMessageboxTapAction ( string buttonText ) : bool
buttonText string
Результат bool

LookForAppBarItem() публичный Метод

public LookForAppBarItem ( string text ) : bool
text string
Результат bool

LookForControl() публичный Метод

public LookForControl ( string controlId, int ordinal, string parentId ) : bool
controlId string
ordinal int
parentId string
Результат bool

LookForControlOrText() публичный Метод

public LookForControlOrText ( string textOrControlId, int ordinal, string parentId ) : bool
textOrControlId string
ordinal int
parentId string
Результат bool

LookForText() публичный Метод

public LookForText ( string text ) : bool
text string
Результат bool

LookIsAlive() публичный Метод

public LookIsAlive ( ) : bool
Результат bool

Navigate() публичный Метод

public Navigate ( string direction ) : bool
direction string
Результат bool

Pivot() публичный Метод

public Pivot ( string pivotName, PivotType pivot ) : bool
pivotName string
pivot PivotType
Результат bool

Pivot() публичный Метод

public Pivot ( string pivotName, string itemName ) : bool
pivotName string
itemName string
Результат bool

ScrollIntoView() публичный Метод

public ScrollIntoView ( string controlId, int ordinal, string parentId = null ) : bool
controlId string
ordinal int
parentId string
Результат bool

ScrollIntoViewListItem() публичный Метод

public ScrollIntoViewListItem ( string controlWithinItemId ) : bool
controlWithinItemId string
Результат bool

SelectListItem() публичный Метод

public SelectListItem ( string controlWithinItemId ) : bool
controlWithinItemId string
Результат bool

SelectListItem() публичный Метод

public SelectListItem ( string selectorName, int indexOfItemToSelect ) : bool
selectorName string
indexOfItemToSelect int
Результат bool

SetApplicationSettings() публичный Метод

public SetApplicationSettings ( string>.Dictionary values ) : bool
values string>.Dictionary
Результат bool

SetApplicationSettings() публичный Метод

public SetApplicationSettings ( string key, string value ) : bool
key string
value string
Результат bool

SetFocus() публичный Метод

public SetFocus ( string controlId, int ordinal, string parentId ) : bool
controlId string
ordinal int
parentId string
Результат bool

SetTextOnControl() публичный Метод

public SetTextOnControl ( string controlId, string text, int ordinal, string parentId ) : bool
controlId string
text string
ordinal int
parentId string
Результат bool

SetValueOnControl() публичный Метод

public SetValueOnControl ( string controlId, string value, int ordinal, string parentId ) : bool
controlId string
value string
ordinal int
parentId string
Результат bool

StopBackgroundAudio() публичный Метод

public StopBackgroundAudio ( ) : bool
Результат bool

TakePicture() публичный Метод

public TakePicture ( Bitmap &bitmap ) : bool
bitmap System.Drawing.Bitmap
Результат bool

TakePicture() публичный Метод

public TakePicture ( string controlId, Bitmap &bitmap, int ordinal, string parentId ) : bool
controlId string
bitmap System.Drawing.Bitmap
ordinal int
parentId string
Результат bool

Toggle() публичный Метод

public Toggle ( string buttonName ) : bool
buttonName string
Результат bool

TryGetAllApplicationSettings() публичный Метод

public TryGetAllApplicationSettings ( string>.Dictionary &values ) : bool
values string>.Dictionary
Результат bool

TryGetApplicationSettings() публичный Метод

public TryGetApplicationSettings ( string key, string &value ) : bool
key string
value string
Результат bool

TryGetControlIsEnabled() публичный Метод

public TryGetControlIsEnabled ( string controlId, bool &isEnabled, int ordinal, string parentId ) : bool
controlId string
isEnabled bool
ordinal int
parentId string
Результат bool

TryGetPerformanceInformation() публичный Метод

public TryGetPerformanceInformation ( string>.Dictionary &values ) : bool
values string>.Dictionary
Результат bool

TryGetTextFromControl() публичный Метод

public TryGetTextFromControl ( string controlId, string &text, int ordinal, string parentId ) : bool
controlId string
text string
ordinal int
parentId string
Результат bool

TryGetValueFromControl() публичный Метод

public TryGetValueFromControl ( string controlId, string &text, int ordinal, string parentId ) : bool
controlId string
text string
ordinal int
parentId string
Результат bool

VerticalScroll() публичный Метод

public VerticalScroll ( string controlId, int amount ) : bool
controlId string
amount int
Результат bool

WaitForAppBarItem() публичный Метод

public WaitForAppBarItem ( string text, System.TimeSpan timeout ) : bool
text string
timeout System.TimeSpan
Результат bool

WaitForControl() публичный Метод

public WaitForControl ( string controlId, System.TimeSpan timeout, int ordinal, string parentId ) : bool
controlId string
timeout System.TimeSpan
ordinal int
parentId string
Результат bool

WaitForControl() публичный Метод

public WaitForControl ( string controlId, int ordinal, string parentId ) : bool
controlId string
ordinal int
parentId string
Результат bool

WaitForControlOrText() публичный Метод

public WaitForControlOrText ( string textOrControlId, System.TimeSpan timeout, int ordinal, string parentId ) : bool
textOrControlId string
timeout System.TimeSpan
ordinal int
parentId string
Результат bool

WaitForControlOrText() публичный Метод

public WaitForControlOrText ( string textOrControlId, int ordinal, string parentId ) : bool
textOrControlId string
ordinal int
parentId string
Результат bool

WaitForControlToBeEnabled() публичный Метод

public WaitForControlToBeEnabled ( string controlId, int ordinal, string parentId, System.TimeSpan timeout = null ) : bool
controlId string
ordinal int
parentId string
timeout System.TimeSpan
Результат bool

WaitForControlToDisappear() публичный Метод

public WaitForControlToDisappear ( string controlId, System.TimeSpan timeout, int ordinal, string parentId ) : bool
controlId string
timeout System.TimeSpan
ordinal int
parentId string
Результат bool

WaitForMessageBox() публичный Метод

public WaitForMessageBox ( string title, string message, string buttons ) : bool
title string
message string
buttons string
Результат bool

WaitForText() публичный Метод

public WaitForText ( string text ) : bool
text string
Результат bool

WaitForText() публичный Метод

public WaitForText ( string text, System.TimeSpan timeout ) : bool
text string
timeout System.TimeSpan
Результат bool

WaitForTextToChange() публичный Метод

public WaitForTextToChange ( string controlId, string text, System.TimeSpan timeout, int ordinal, string parentId ) : bool
controlId string
text string
timeout System.TimeSpan
ordinal int
parentId string
Результат bool

WaitForTextToDisappear() публичный Метод

public WaitForTextToDisappear ( string text, System.TimeSpan timeout ) : bool
text string
timeout System.TimeSpan
Результат bool

WaitIsAlive() публичный Метод

public WaitIsAlive ( ) : bool
Результат bool