HtmlMedia Class
Represents a Html media 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
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlVideo
Namespace: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class HtmlMedia _
Inherits HtmlControl
[CLSCompliantAttribute(true)]
public class HtmlMedia : HtmlControl
[CLSCompliantAttribute(true)]
public ref class HtmlMedia : public HtmlControl
[<CLSCompliantAttribute(true)>]
type HtmlMedia =
class
inherit HtmlControl
end
public class HtmlMedia extends HtmlControl
The HtmlMedia type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HtmlMedia() | Creates a new instance of HtmlMedia class. | |
HtmlMedia(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. | |
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. | |
ControlType | (Inherited from UITestControl.) | |
CurrentSrc | Gets the current source of the media. | |
CurrentTime | Gets the current playing time of the media. | |
CurrentTimeAsString | Gets the current playing time of the media as string. | |
Duration | Gets the duration of the media. | |
DurationAsString | Gets the duration of the media as string. | |
Enabled | (Inherited from UITestControl.) | |
Ended | Gets the ended state of the media. | |
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. | |
Muted | Gets the muted state of the media. | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
Paused | Gets the paused state of the media. | |
PlaybackRate | Gets the playback rate of the media. | |
ReadyState | Gets the ready state value of the media. | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
Seeking | Gets the seeking state of the media. | |
Src | Gets the value of src attribute of the media. | |
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. | |
Width | (Inherited from UITestControl.) | |
WindowHandle | (Inherited from UITestControl.) | |
WindowTitles | (Inherited from UITestControl.) |
Top
Methods
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