HtmlCheckBox Class
TOC
Collapse the table of content
Expand the table of content

HtmlCheckBox Class

 

Represents a check box for Web page user interface (UI) testing.

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


[CLSCompliantAttribute(true)]
public class HtmlCheckBox : HtmlControl

NameDescription
System_CAPS_pubmethodHtmlCheckBox()

Initializes a new instance of the HtmlCheckBox class.

System_CAPS_pubmethodHtmlCheckBox(UITestControl)

Initializes a new instance of the HtmlCheckBox class by using the provided parent control.

NameDescription
System_CAPS_pubpropertyAccessKey

Gets the value of the AccessKey attribute of this control.(Inherited from HtmlControl.)

System_CAPS_pubpropertyBoundingRectangle

Gets the Bounding rectangle for this control.(Inherited from UITestControl.)

System_CAPS_pubpropertyChecked

Gets or sets a value that indicates whether the check box is selected.

System_CAPS_pubpropertyClass

Gets the value of the Class attribute of this control.(Inherited from HtmlControl.)

System_CAPS_pubpropertyClassName

Gets the class name for this control.(Inherited from UITestControl.)

System_CAPS_pubpropertyContainer

Gets or sets the container of this UITestControl.(Inherited from UITestControl.)

System_CAPS_pubpropertyControlDefinition

Gets the definition of the control in the HTML page.(Inherited from HtmlControl.)

System_CAPS_pubpropertyControlType

Gets the type of the UI Control.(Inherited from UITestControl.)

System_CAPS_pubpropertyEnabled

Gets a value that indicates whether this control is enabled.(Inherited from UITestControl.)

System_CAPS_pubpropertyExists

Gets a value that indicates whether this control exists on the user interface.(Inherited from UITestControl.)

System_CAPS_pubpropertyFilterProperties

Gets the property-value pair collection that is used to disambiguate a control.(Inherited from UITestControl.)

System_CAPS_pubpropertyFriendlyName

Gets the name of this control to use in the user interface.(Inherited from UITestControl.)

System_CAPS_pubpropertyHasFocus

Gets a value that indicates whether this control currently has the focus in the user interface.(Inherited from UITestControl.)

System_CAPS_pubpropertyHeight

Gets height of the control.(Inherited from UITestControl.)

System_CAPS_pubpropertyHelpText

Gets the value of the HelpText attribute of this control.(Inherited from HtmlControl.)

System_CAPS_pubpropertyId

Gets the value of the ID attribute of this control.(Inherited from HtmlControl.)

System_CAPS_pubpropertyInnerText

Gets the text content of this control.(Inherited from HtmlControl.)

System_CAPS_pubpropertyIsTopParent

Gets a value that indicates whether this control is the top-level element.(Inherited from UITestControl.)

System_CAPS_pubpropertyLabeledBy

Gets the label text of this control.

System_CAPS_pubpropertyLeft

Gets the x-coordinate of the left edge of the control.(Inherited from UITestControl.)

System_CAPS_pubpropertyName

Gets the name of this control.(Inherited from UITestControl.)

System_CAPS_pubpropertyNativeElement

Gets the native technology element that corresponds to this control.(Inherited from UITestControl.)

System_CAPS_pubpropertySearchConfigurations

Gets or sets search configurations.(Inherited from UITestControl.)

System_CAPS_pubpropertySearchProperties

Gets the property-value pair collection that is used to identify a control.(Inherited from UITestControl.)

System_CAPS_protpropertySearchPropertiesSetExplicitly

Gets a value that indicates whether the search properties for this control were set by the user in the user interface.(Inherited from UITestControl.)

System_CAPS_pubpropertyState

Gets the state of the control.(Inherited from UITestControl.)

System_CAPS_pubpropertyTagInstance

Gets the index of the control in the collection of controls on the page that has the same tag name.(Inherited from HtmlControl.)

System_CAPS_pubpropertyTagName

Gets the tag name of this control.(Inherited from HtmlControl.)

System_CAPS_pubpropertyTechnologyName

Gets or sets the technology framework that implements this control.(Inherited from UITestControl.)

System_CAPS_pubpropertyTitle

Gets the value of the Title attribute of this control.(Inherited from HtmlControl.)

System_CAPS_pubpropertyTop

Gets the x-coordinate of the top edge of the control.(Inherited from UITestControl.)

System_CAPS_pubpropertyTopParent

Gets the top-level parent of this control.(Inherited from UITestControl.)

System_CAPS_pubpropertyType

Gets the value of the Type attribute of this control.(Inherited from HtmlControl.)

System_CAPS_pubpropertyValue

Gets the value of the value attribute of the check box.

System_CAPS_pubpropertyValueAttribute

Gets the value of the Value attribute of this control.(Inherited from HtmlControl.)

System_CAPS_pubpropertyWidth

Gets width of the control.(Inherited from UITestControl.)

System_CAPS_pubpropertyWindowHandle

Gets the window handle for this control.(Inherited from UITestControl.)

System_CAPS_pubpropertyWindowTitles

Gets a collection of the window titles of the top-level window. (Inherited from UITestControl.)

NameDescription
System_CAPS_pubmethodCaptureImage()

Captures the image of the UITestControl. The UITestControl must be present on the screen.(Inherited from UITestControl.)

System_CAPS_pubmethodCopyFrom(UITestControl)

Creates a UITestControl object that references the same element on the user interface as the original UITestControl.(Inherited from UITestControl.)

System_CAPS_pubmethodDrawHighlight()

Highlights the control.(Inherited from UITestControl.)

System_CAPS_pubmethodEnsureClickable()

Scrolls the user interface to make sure that the control is clickable.(Inherited from UITestControl.)

System_CAPS_pubmethodEnsureClickable(Point)

Scrolls the user interface to a specific point to make sure that the control is clickable.(Inherited from UITestControl.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified UITestControl is equal to the current UITestControl.(Inherited from UITestControl.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFind()

Finds the UITestControl.(Inherited from UITestControl.)

System_CAPS_pubmethodFindMatchingControls()

Returns a collection of all UITestControls that match the specified SearchProperties and FilterProperties.(Inherited from UITestControl.)

System_CAPS_pubmethodGetChildren()

Returns a collection of all first-level children of the current UITestControl.(Inherited from UITestControl.)

System_CAPS_pubmethodGetClickablePoint()

Returns a clickable point on the control.(Inherited from UITestControl.)

System_CAPS_pubmethodGetHashCode()

Returns a unique value that represents the current UITestControl instance.(Inherited from UITestControl.)

System_CAPS_pubmethodGetParent()

Returns the parent of the current UITestControl.(Inherited from UITestControl.)

System_CAPS_pubmethodGetProperty(String)

Gets the value of the specified property.(Inherited from UITestControl.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodGetUITestControlsForSearch()

Returns an array of UITestControl objects that will be used for searching.(Inherited from UITestControl.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSetFocus()

Sets the keyboard focus to the UITestControl.(Inherited from UITestControl.)

System_CAPS_pubmethodSetProperty(String, Object)

Sets the value of a given property.(Inherited from UITestControl.)

System_CAPS_pubmethodToString()

Returns a String that represents the current UITestControl.(Inherited from UITestControl.)

System_CAPS_pubmethodTryFind()

Tries to find the control on the user interface.(Inherited from UITestControl.)

System_CAPS_pubmethodTryGetClickablePoint(Point)

Returns a clickable point in the UITestControl. If the control is not clickable, this method returns false.(Inherited from UITestControl.)

System_CAPS_pubmethodWaitForControlCondition(Predicate<UITestControl>)

Blocks the current thread until this control meets the specified condition, or until the default time-out expires.(Inherited from UITestControl.)

System_CAPS_pubmethodWaitForControlCondition(Predicate<UITestControl>, Int32)

Blocks the current thread until this control meets the specified condition, or until the specified time-out expires.(Inherited from UITestControl.)

System_CAPS_pubmethodWaitForControlEnabled()

Blocks the current thread until this control is enabled, or until the default time-out expires.(Inherited from UITestControl.)

System_CAPS_pubmethodWaitForControlEnabled(Int32)

Blocks the current thread until this control is enabled, or until the specified time-out expires.(Inherited from UITestControl.)

System_CAPS_pubmethodWaitForControlExist()

Blocks the current thread until this control occurs in the user interface, or until the default time-out expires.(Inherited from UITestControl.)

System_CAPS_pubmethodWaitForControlExist(Int32)

Blocks the current thread until this control occurs in the user interface, or until the specified time-out expires.(Inherited from UITestControl.)

System_CAPS_pubmethodWaitForControlNotExist()

Blocks the current thread until this control no longer is in the user interface, or until the default time-out expires.(Inherited from UITestControl.)

System_CAPS_pubmethodWaitForControlNotExist(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.)

System_CAPS_pubmethodWaitForControlPropertyEqual(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.)

System_CAPS_pubmethodWaitForControlPropertyEqual(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.)

System_CAPS_pubmethodWaitForControlPropertyNotEqual(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.)

System_CAPS_pubmethodWaitForControlPropertyNotEqual(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.)

System_CAPS_pubmethodWaitForControlReady()

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.)

System_CAPS_pubmethodWaitForControlReady(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.)

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

Return to top
Show:
© 2016 Microsoft