Export (0) Print
Expand All

HtmlRadioButton Class

Represents an option button control for testing the user interface (UI) Web applications.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public class HtmlRadioButton : HtmlControl

The HtmlRadioButton type exposes the following members.

  NameDescription
Public methodHtmlRadioButton()Initializes a new instance of the HtmlRadioButton class.
Public methodHtmlRadioButton(UITestControl)Infrastructure. Initializes a new instance of the HtmlRadioButton class.
Top

  NameDescription
Public propertyAccessKeyGets the value of the AccessKey attribute of this control. (Inherited from HtmlControl.)
Public propertyBoundingRectangleGets the Bounding rectangle for this control. (Inherited from UITestControl.)
Public propertyClassGets the value of the Class attribute of this control. (Inherited from HtmlControl.)
Public propertyClassNameGets the class name for this control. (Inherited from UITestControl.)
Public propertyContainerGets or sets the container of this UITestControl. (Inherited from UITestControl.)
Public propertyControlDefinitionGets the definition of the control in the HTML page. (Inherited from HtmlControl.)
Public propertyControlTypeGets the type of the UI Control. (Inherited from UITestControl.)
Public propertyEnabledGets a value that indicates whether this control is enabled. (Inherited from UITestControl.)
Public propertyExistsGets a value that indicates whether this control exists on the user interface. (Inherited from UITestControl.)
Public propertyFilterPropertiesGets the property-value pair collection that is used to disambiguate a control. (Inherited from UITestControl.)
Public propertyFriendlyNameGets the name of this control to use in the user interface. (Inherited from UITestControl.)
Public propertyGroupGets the collection of option buttons to which this option button control belongs.
Public propertyHasFocusGets a value that indicates whether this control currently has the focus in the user interface. (Inherited from UITestControl.)
Public propertyHelpTextGets the value of the HelpText attribute of this control. (Inherited from HtmlControl.)
Public propertyIdGets the value of the ID attribute of this control. (Inherited from HtmlControl.)
Public propertyInnerTextGets the text content of this control. (Inherited from HtmlControl.)
Public propertyIsTopParentGets a value that indicates whether this control is the top-level element. (Inherited from UITestControl.)
Public propertyItemCountGets the number of items in the Group collection.
Public propertyLabeledByGets the text of the label of this control.
Public propertyNameGets the name of this control. (Inherited from UITestControl.)
Public propertyNativeElementGets the native technology element that corresponds to this control. (Inherited from UITestControl.)
Public propertySearchConfigurationsGets or sets search configurations. (Inherited from UITestControl.)
Public propertySearchPropertiesGets the property-value pair collection that is used to identify a control. (Inherited from UITestControl.)
Protected propertySearchPropertiesSetExplicitlyGets a value that indicates whether the search properties for this control were set by the user in the user interface. (Inherited from UITestControl.)
Public propertySelectedGets a value that indicates whether this option button is selected.
Public propertyTagInstanceGets the index of the control in the collection of controls on the page that has the same tag name. (Inherited from HtmlControl.)
Public propertyTagNameGets the tag name of this control. (Inherited from HtmlControl.)
Public propertyTechnologyNameGets or sets the technology framework that implements this control. (Inherited from UITestControl.)
Public propertyTitleGets the value of the Title attribute of this control. (Inherited from HtmlControl.)
Public propertyTopParentGets the top-level parent of this control. (Inherited from UITestControl.)
Public propertyTypeGets the value of the Type attribute of this control. (Inherited from HtmlControl.)
Public propertyValueGets the value of this option button.
Public propertyValueAttributeGets the value of the Value attribute of this control. (Inherited from HtmlControl.)
Public propertyWindowHandleGets the window handle for this control. (Inherited from UITestControl.)
Public propertyWindowTitlesGets a collection of the window titles of the top-level window. (Inherited from UITestControl.)
Top

  NameDescription
Public methodCaptureImageCaptures the image of the UITestControl. The UITestControl must be present on the screen. (Inherited from UITestControl.)
Public methodCopyFromCreates a UITestControl object that references the same element on the user interface as the original UITestControl. (Inherited from UITestControl.)
Public methodDrawHighlightHighlights the control. (Inherited from UITestControl.)
Public methodEnsureClickable()Scrolls the user interface to make sure that the control is clickable. (Inherited from UITestControl.)
Public methodEnsureClickable(Point)Scrolls the user interface to a specific point to make sure that the control is clickable. (Inherited from UITestControl.)
Public methodEqualsDetermines whether the specified UITestControl is equal to the current UITestControl. (Inherited from UITestControl.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFindFinds the UITestControl. (Inherited from UITestControl.)
Public methodFindMatchingControlsReturns a collection of all UITestControls that match the specified SearchProperties and FilterProperties. (Inherited from UITestControl.)
Public methodGetChildrenReturns a collection of all first-level children of the current UITestControl. (Inherited from UITestControl.)
Public methodGetClickablePointReturns a clickable point on the control. (Inherited from UITestControl.)
Public methodGetHashCodeReturns a unique value that represents the current UITestControl instance. (Inherited from UITestControl.)
Public methodGetParentReturns the parent of the current UITestControl. (Inherited from UITestControl.)
Public methodGetPropertyGets the value of the specified property. (Inherited from UITestControl.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodGetUITestControlsForSearchReturns an array of UITestControl objects that will be used for searching. (Inherited from UITestControl.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetFocusSets the keyboard focus to the UITestControl. (Inherited from UITestControl.)
Public methodSetPropertySets the value of a given property. (Inherited from UITestControl.)
Public methodToStringReturns a String that represents the current UITestControl. (Inherited from UITestControl.)
Public methodTryGetClickablePointReturns a clickable point in the UITestControl. If the control is not clickable, this method returns false. (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>)Blocks the current thread until this control meets the specified condition, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>, Int32)Blocks the current thread until this control meets the specified condition, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlEnabled()Blocks the current thread until this control is enabled, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlEnabled(Int32)Blocks the current thread until this control is enabled, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlExist()Blocks the current thread until this control occurs in the user interface, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlExist(Int32)Blocks the current thread until this control occurs in the user interface, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlNotExist()Blocks the current thread until this control no longer exists in the user interface, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlNotExist(Int32)Blocks the current thread until this control no longer occurs in the user interface, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object)Blocks the current thread until the specified property of this control is equal to the specified value, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object, Int32)Blocks the current thread until the specified property of this control is equal to the specified value, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object)Blocks the current thread until the specified property of this control is not equal to the specified value, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object, Int32)Blocks the current thread until the specified property of this control is not equal to the specified value, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlReady()Blocks the current thread until this control is ready to receive mouse or keyboard input, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlReady(Int32)Blocks the current thread until this control is ready to receive mouse or keyboard input, or until the specified time-out expires. (Inherited from UITestControl.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft