HtmlAudio Class
Represents an HTML audio control.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlMedia
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlAudio
Namespace: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class HtmlAudio _
Inherits HtmlMedia
[CLSCompliantAttribute(true)]
public class HtmlAudio : HtmlMedia
[CLSCompliantAttribute(true)]
public ref class HtmlAudio : public HtmlMedia
[<CLSCompliantAttribute(true)>]
type HtmlAudio =
class
inherit HtmlMedia
end
public class HtmlAudio extends HtmlMedia
The HtmlAudio type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HtmlAudio() | Creates a new instance of the HtmlAudio class. | |
HtmlAudio(UITestControl) |
Top
Properties
Name | Description | |
---|---|---|
AccessKey | Gets the value of the AccessKey attribute of this control. (Inherited from HtmlControl.) | |
AutoPlay | Gets the value of autoplay attribute of the media. (Inherited from HtmlMedia.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
Class | Gets the value of the Class attribute of this control. (Inherited from HtmlControl.) | |
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlDefinition | Gets the definition of the control in the HTML page. (Inherited from HtmlControl.) | |
Controls | Gets the value of controls attribute of the media. (Inherited from HtmlMedia.) | |
ControlType | (Inherited from UITestControl.) | |
CurrentSrc | Gets the current source of the media. (Inherited from HtmlMedia.) | |
CurrentTime | Gets the current playing time of the media. (Inherited from HtmlMedia.) | |
CurrentTimeAsString | Gets the current playing time of the media as string. (Inherited from HtmlMedia.) | |
Duration | Gets the duration of the media. (Inherited from HtmlMedia.) | |
DurationAsString | Gets the duration of the media as string. (Inherited from HtmlMedia.) | |
Enabled | (Inherited from UITestControl.) | |
Ended | Gets the ended state of the media. (Inherited from HtmlMedia.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
Height | (Inherited from UITestControl.) | |
HelpText | Gets the value of the HelpText attribute of this control. (Inherited from HtmlControl.) | |
Id | Gets the value of the ID attribute of this control. (Inherited from HtmlControl.) | |
InnerText | Gets the text content of this control. (Inherited from HtmlControl.) | |
IsTopParent | (Inherited from UITestControl.) | |
Left | (Inherited from UITestControl.) | |
Loop | Gets the value of loop attribute of the media. (Inherited from HtmlMedia.) | |
Muted | Gets the muted state of the media. (Inherited from HtmlMedia.) | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
Paused | Gets the paused state of the media. (Inherited from HtmlMedia.) | |
PlaybackRate | Gets the playback rate of the media. (Inherited from HtmlMedia.) | |
ReadyState | Gets the ready state value of the media. (Inherited from HtmlMedia.) | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
Seeking | Gets the seeking state of the media. (Inherited from HtmlMedia.) | |
Src | Gets the value of src attribute of the media. (Inherited from HtmlMedia.) | |
State | (Inherited from UITestControl.) | |
TagInstance | Gets the index of the control in the collection of controls on the page that has the same tag name. (Inherited from HtmlControl.) | |
TagName | Gets the tag name of this control. (Inherited from HtmlControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
Title | Gets the value of the Title attribute of this control. (Inherited from HtmlControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Type | Gets the value of the Type attribute of this control. (Inherited from HtmlControl.) | |
ValueAttribute | Gets the value of the Value attribute of this control. (Inherited from HtmlControl.) | |
Volume | Gets the current volume of the media. (Inherited from HtmlMedia.) | |
Width | (Inherited from UITestControl.) | |
WindowHandle | (Inherited from UITestControl.) | |
WindowTitles | (Inherited from UITestControl.) |
Top
Methods
Name | Description | |
---|---|---|
CaptureImage | (Inherited from UITestControl.) | |
CopyFrom | (Inherited from UITestControl.) | |
DrawHighlight | (Inherited from UITestControl.) | |
EnsureClickable() | (Inherited from UITestControl.) | |
EnsureClickable(Point) | (Inherited from UITestControl.) | |
EnsureClickable(Point) | (Inherited from UITestControl.) | |
Equals | (Inherited from UITestControl.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find | (Inherited from UITestControl.) | |
FindMatchingControls | (Inherited from UITestControl.) | |
GetChildren | (Inherited from UITestControl.) | |
GetClickablePoint | (Inherited from UITestControl.) | |
GetHashCode | (Inherited from UITestControl.) | |
GetParent | (Inherited from UITestControl.) | |
GetProperty | (Inherited from UITestControl.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUITestControlsForSearch | (Inherited from UITestControl.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Mute | Mutes the media. (Inherited from HtmlMedia.) | |
Pause() | Pauses the media. (Inherited from HtmlMedia.) | |
Pause(TimeSpan) | Pauses media at the specified time. (Inherited from HtmlMedia.) | |
Play() | Plays the media. (Inherited from HtmlMedia.) | |
Play(TimeSpan) | Plays media from the specified start time. (Inherited from HtmlMedia.) | |
Seek | Seeks media to the specified time. (Inherited from HtmlMedia.) | |
SetFocus | (Inherited from UITestControl.) | |
SetProperty | (Inherited from UITestControl.) | |
SetVolume | Sets the volume of the media. (Inherited from HtmlMedia.) | |
ToString | (Inherited from UITestControl.) | |
TryFind | (Inherited from UITestControl.) | |
TryGetClickablePoint(Point%) | (Inherited from UITestControl.) | |
TryGetClickablePoint(Point%) | (Inherited from UITestControl.) | |
Unmute | Unmutes the media. (Inherited from HtmlMedia.) | |
WaitForControlCondition(Predicate<UITestControl>) | (Inherited from UITestControl.) | |
WaitForControlCondition(Predicate<UITestControl>, Int32) | (Inherited from UITestControl.) | |
WaitForControlEnabled() | (Inherited from UITestControl.) | |
WaitForControlEnabled(Int32) | (Inherited from UITestControl.) | |
WaitForControlExist() | (Inherited from UITestControl.) | |
WaitForControlExist(Int32) | (Inherited from UITestControl.) | |
WaitForControlNotExist() | (Inherited from UITestControl.) | |
WaitForControlNotExist(Int32) | (Inherited from UITestControl.) | |
WaitForControlPropertyEqual(String, Object) | (Inherited from UITestControl.) | |
WaitForControlPropertyEqual(String, Object, Int32) | (Inherited from UITestControl.) | |
WaitForControlPropertyNotEqual(String, Object) | (Inherited from UITestControl.) | |
WaitForControlPropertyNotEqual(String, Object, Int32) | (Inherited from UITestControl.) | |
WaitForControlReady() | (Inherited from UITestControl.) | |
WaitForControlReady(Int32) | (Inherited from UITestControl.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace