UITestEngine Class

Class to run the UI tests

Namespace:SoftHai.Testing.UITest
Assembly:SoftHai.Testing

Syntax

Visual Basic
Public Class UITestEngine
	Inherits System.Object
	Implements SoftHai.Testing.IEngine
C#
public class UITestEngine
	: System.Object,
	 SoftHai.Testing.IEngine

Members

Methods

Name Description
Button_Click (System.String, System.Windows.DependencyObject) Function performs a Button-Click on thepButtonNamespecified by Button.
Button_Click (System.String) Function performs a Button-Click on thepButtonNamespecified by Button.
ComboBox_SelectItem (System.String, System.Windows.DependencyObject, System.Int32) Function selects the item under thepSelectedItemIndexspecified index. It is then a "SelectionChangedEvent" thrown in the ComboBox.
ComboBox_SelectItem (System.String, System.Int32) Function selects the item under thepSelectedItemIndexspecified index. It is then a "SelectionChangedEvent" thrown in the ComboBox.
Control_GetPropertyValue (System.String, System.Windows.DependencyObject, System.String, System.Object ()) Function returns the value of a property underpControlNameControls given back.
Control_GetPropertyValue (System.String, System.String, System.Object ()) Function returns the value of a property underpControlNameControls given back.
Control_GetPropertyValue (System.String, System.Windows.DependencyObject, System.Windows.DependencyProperty) Function returns the value of a DependencyProperty to underpControlNameControls given back.
Control_GetPropertyValue (System.String, System.Windows.DependencyProperty) Function returns the value of a DependencyProperty to underpControlNameControls given back.
Control_GetResourceObject (System.String, System.Windows.DependencyObject, System.String) Function reads from the underpControlNameControl indicated a resource element, and returns that
Control_GetResourceObject (System.String, System.String) Function reads from the underpControlNameControl indicated a resource element, and returns that
Control_HasNotValidationError (System.String, System.Windows.DependencyObject) Determines whether a ValidationError with thepControlNameControls specified exists.
Control_HasNotValidationError (System.String) Determines whether a ValidationError with thepControlNameControls specified exists.
Control_HasValidationError (System.String, System.Windows.DependencyObject) Determines whether a ValidationError with thepControlNameControls specified exists.
Control_HasValidationError (System.String) Determines whether a ValidationError with thepControlNameControls specified exists.
Control_IsVisible (System.String, System.Windows.DependencyObject) Get the Enable / Visiblility value of havingpControlNamespecified controls.
Control_IsVisible (System.String) Get the Enable / Visiblility value of havingpControlNamespecified controls.
Control_RaiseMethod (System.String, System.Windows.DependencyObject, System.String, System.Object ()) Function performs a method in apControlNameControls indicated by Reflections from.
Control_RaiseMethod (System.String, System.String, System.Object ()) Function performs a method in apControlNameControls indicated by Reflections from.
Control_SetFocus (System.String, System.Windows.DependencyObject) Sets the focus in the underpControlNamespecified by Control.
Control_SetFocus (System.String) Sets the focus in the underpControlNamespecified by Control.
Control_SetPropertyValue (System.String, System.Windows.DependencyObject, System.String, System.Object, System.Object ()) Sets the value of a property underpControlNamespecified controls.
Control_SetPropertyValue (System.String, System.String, System.Object, System.Object ()) Sets the value of a property underpControlNamespecified controls.
Control_SetPropertyValue (System.String, System.Windows.DependencyObject, System.Windows.DependencyProperty, System.Object) Sets the value of a DependencyProperty inpControlNamespecified controls.
Control_SetPropertyValue (System.String, System.Windows.DependencyProperty, System.Object) Sets the value of a DependencyProperty inpControlNamespecified controls.
DoIt_UIThreadSave (System.Delegate, System.Object ()) Function results from test a given delegate UI thread-Save.
FindName (System.String, System.Windows.DependencyObject)
GoBackToTestStartPage (Microsoft.Phone.Controls.PhoneApplicationPage) Function after a test back to page navigation, when the test was started.
ListBox_Scroll (System.String, System.Windows.DependencyObject, System.Windows.Automation.ScrollAmount, System.Windows.Automation.ScrollAmount) Function results in a scrolling a list box in the underpHorizontalandpVerticalspecified direction and magnitude through.
ListBox_Scroll (System.String, System.Windows.Automation.ScrollAmount, System.Windows.Automation.ScrollAmount) Function results in a scrolling a list box in the underpHorizontalandpVerticalspecified direction and magnitude through.
ListBox_ScrollToItem (System.String, System.Windows.DependencyObject, System.Int32) Scroll to function in a ListBox inpScrollToItemIndexspecified ListBoxItem.
ListBox_ScrollToItem (System.String, System.Int32) Scroll to function in a ListBox inpScrollToItemIndexspecified ListBoxItem.
ListBox_SelectItem (System.String, System.Windows.DependencyObject, System.Int32) Function selects the item under thepSelectedItemIndexspecified index. It is then a "SelectionChangedEvent" thrown in the list box.
ListBox_SelectItem (System.String, System.Int32) Function selects the item under thepSelectedItemIndexspecified index. It is then a "SelectionChangedEvent" thrown in the list box.
Navigation_HasNavigate (System.Int32) Function evaluates the result of usingNavigation_ListenIfNavigatedLaunched listener from whether a menu has taken place.
Navigation_HasNotNavigate (System.Int32) Function evaluates the result of usingNavigation_ListenIfNavigatedListener started out, if no navigation has taken place.
Navigation_ListenIfNavigated (System.Int32) Function Starts a listener that listens if a navigation is performed or not. The result may be used withNavigation_HasNavigateorNavigation_HasNotNavigatebe evaluated.
PasswordBox_InputPassword (System.String, System.Windows.DependencyObject, System.String) Function sets the Password Eigenschalft a PasswordBox to inpInputTextpassed value.
PasswordBox_InputPassword (System.String, System.String) Function sets the Password Eigenschalft a PasswordBox to inpInputTextpassed value.
ScrollViewer_Scroll (System.String, System.Windows.DependencyObject, System.Windows.Automation.ScrollAmount, System.Windows.Automation.ScrollAmount) Function results in a scrolling in a scroll viewer in the belowpHorizontalandpVerticalspecified direction and magnitude through.
ScrollViewer_Scroll (System.String, System.Windows.Automation.ScrollAmount, System.Windows.Automation.ScrollAmount) Function results in a scrolling one SrollViewer in the underpHorizontalandpVerticalspecified direction and magnitude through.
Selector_IsSelectedItemNotNull (System.String, System.Windows.DependencyObject) Checks the SelectedItem in thepSelectorNamespecified Selectors to zero. Supports ListBox, ComboBox and all other controls that inherits from Selector
Selector_IsSelectedItemNotNull (System.String) Checks the SelectedItem in thepSelectorNamespecified Selectors to zero. Supports ListBox, ComboBox and all other controls that inherits from Selector
Selector_IsSelectedItemNull (System.String, System.Windows.DependencyObject) Checks the SelectedItem in thepSelectorNamespecified Selectors to zero. Supports ListBox, ComboBox and all other controls that inherits from Selector
Selector_IsSelectedItemNull (System.String) Checks the SelectedItem in thepSelectorNamespecified Selectors to zero. Supports ListBox, ComboBox and all other controls that inherits from Selector
Slider_IsValueEqual (System.String, System.Double, System.Windows.DependencyObject) Checks the value of the recruits underpSliderNameSliders specified.
Slider_IsValueEqual (System.String, System.Double) Checks the value of the recruits underpSliderNameSliders specified.
Slider_Move (System.String, System.Windows.DependencyObject, SoftHai.Testing.UITest.SliderDirections, SoftHai.Testing.UITest.SliderChangeValues) Sets a function with the slider inpSliderNamename specified in thepChangeValuespecified value.
Slider_Move (System.String, SoftHai.Testing.UITest.SliderDirections, SoftHai.Testing.UITest.SliderChangeValues) Sets a function with the slider inpSliderNamename specified in thepChangeValuespecified value.
Slider_Set (System.String, System.Windows.DependencyObject, System.Double) Sets a function with the slider inpSliderNamename specified in thepNewValuespecified value.
Slider_Set (System.String, System.Double) Sets a function with the slider inpSliderNamename specified in thepNewValuespecified value.
Start Function will start the test with the UI inWorkflowgesteicherten tests
TextBox_InputText (System.String, System.Windows.DependencyObject, System.String) Function sets the text in the text box on a EigenschalftpInputTextpassed value.
TextBox_InputText (System.String, System.String) Function sets the text in the text box on a EigenschalftpInputTextpassed value.
TextBox_IsTextEmpty (System.String, System.Windows.DependencyObject) Checks the text of the underpTextBoxNamespecified TextBox.
TextBox_IsTextEmpty (System.String) Checks the text of the underpTextBoxNamespecified TextBox.
TextBox_IsTextEqual (System.String, System.String, System.Windows.DependencyObject) Checks the text of the underpTextBoxNamespecified TextBox.
TextBox_IsTextEqual (System.String, System.String) Checks the text of the underpTextBoxNamespecified TextBox.
TextBox_IsTextNotEmpty (System.String, System.Windows.DependencyObject) Checks the text of the underpTextBoxNamespecified TextBox.
TextBox_IsTextNotEmpty (System.String) Checks the text of the underpTextBoxNamespecified TextBox.
TextBox_TypeText (System.String, System.Windows.DependencyObject, System.String, System.Int32) Function sets the text in the text box on a EigenschalftpInputTextcharacters passed way. The parameter pDelayBetweenTypeMS specifies the delay between each character.
TextBox_TypeText (System.String, System.String, System.Int32) Function sets the text in the text box on a EigenschalftpInputTextcharacters passed way. The parameter pDelayBetweenTypeMS specifies the delay between each character.
ToggleButton_IsChecked (System.String, System.Windows.DependencyObject) Checks the value of the Checked-inpToggleButtonNamespecified controls to True. Supports CheckBox, Radio Button and all other controls that inherits from toggleButton
ToggleButton_IsChecked (System.String) Checks the value of the Checked-inpToggleButtonNamespecified controls to True. Supports CheckBox, Radio Button and all other controls that inherits from toggleButton
ToggleButton_IsNotChecked (System.String, System.Windows.DependencyObject) Checks the value of the Checked-inpToggleButtonNamespecified controls to False. Supports CheckBox, Radio Button and all other controls that inherits from toggleButton
ToggleButton_IsNotChecked (System.String) Checks the value of the Checked-inpToggleButtonNamespecified controls to False. Supports CheckBox, Radio Button and all other controls that inherits from toggleButton
ToggleButton_Toggle (System.String, System.Windows.DependencyObject) Function performs a toggle on the status of thepToggleButtonNamespecified by ToggleButton. Applies to all secondary controls (checkbox, radio button, ToggleControlButton, ToggleControlSwitch)
ToggleButton_Toggle (System.String) Function performs a toggle on the status of thepToggleButtonNamespecified by ToggleButton. Applies to all secondary controls (checkbox, radio button, ToggleControlButton, ToggleControlSwitch)



Properties

Name Description
CurrentInstance Is the current UITest back Instance.
Workflow Container for the test workflow


Events

Name Description
Finish Test Method Event is triggered when a test method has been completed. been either completed successfully or aborted by a test failure
Finish Test Event is triggered when the UI test is completed. been either completed successfully or aborted by a test failure
Start Test Event is triggered when a new test is started




This WikiPage was created with Codeplex WikiEditor

Last edited Jul 19, 2010 at 10:35 AM by SoftHai, version 3

Comments

No comments yet.