Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HtmlMedia Class

Represents a Html media control.

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)
[CLSCompliantAttribute(true)]
public class HtmlMedia : HtmlControl

The HtmlMedia type exposes the following members.

  NameDescription
Public methodHtmlMedia()Creates a new instance of HtmlMedia class.
Public methodHtmlMedia(UITestControl)
Top
  NameDescription
Public propertyAccessKeyGets the value of the AccessKey attribute of this control. (Inherited from HtmlControl.)
Public propertyAutoPlayGets the value of autoplay attribute of the media.
Public propertyBoundingRectangle (Inherited from UITestControl.)
Public propertyClassGets the value of the Class attribute of this control. (Inherited from HtmlControl.)
Public propertyClassName (Inherited from UITestControl.)
Public propertyContainer (Inherited from UITestControl.)
Public propertyControlDefinitionGets the definition of the control in the HTML page. (Inherited from HtmlControl.)
Public propertyControlsGets the value of controls attribute of the media.
Public propertyControlType (Inherited from UITestControl.)
Public propertyCurrentSrcGets the current source of the media.
Public propertyCurrentTimeGets the current playing time of the media.
Public propertyCurrentTimeAsStringGets the current playing time of the media as string.
Public propertyDurationGets the duration of the media.
Public propertyDurationAsStringGets the duration of the media as string.
Public propertyEnabled (Inherited from UITestControl.)
Public propertyEndedGets the ended state of the media.
Public propertyExists (Inherited from UITestControl.)
Public propertyFilterProperties (Inherited from UITestControl.)
Public propertyFriendlyName (Inherited from UITestControl.)
Public propertyHasFocus (Inherited from UITestControl.)
Public propertyHeight (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 propertyIsTopParent (Inherited from UITestControl.)
Public propertyLeft (Inherited from UITestControl.)
Public propertyLoopGets the value of loop attribute of the media.
Public propertyMutedGets the muted state of the media.
Public propertyName (Inherited from UITestControl.)
Public propertyNativeElement (Inherited from UITestControl.)
Public propertyPausedGets the paused state of the media.
Public propertyPlaybackRateGets the playback rate of the media.
Public propertyReadyStateGets the ready state value of the media.
Public propertySearchConfigurations (Inherited from UITestControl.)
Public propertySearchProperties (Inherited from UITestControl.)
Protected propertySearchPropertiesSetExplicitly (Inherited from UITestControl.)
Public propertySeekingGets the seeking state of the media.
Public propertySrcGets the value of src attribute of the media.
Public propertyState (Inherited from UITestControl.)
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 propertyTechnologyName (Inherited from UITestControl.)
Public propertyTitleGets the value of the Title attribute of this control. (Inherited from HtmlControl.)
Public propertyTop (Inherited from UITestControl.)
Public propertyTopParent (Inherited from UITestControl.)
Public propertyTypeGets the value of the Type attribute of this control. (Inherited from HtmlControl.)
Public propertyValueAttributeGets the value of the Value attribute of this control. (Inherited from HtmlControl.)
Public propertyVolumeGets the current volume of the media.
Public propertyWidth (Inherited from UITestControl.)
Public propertyWindowHandle (Inherited from UITestControl.)
Public propertyWindowTitles (Inherited from UITestControl.)
Top
  NameDescription
Public methodCaptureImage (Inherited from UITestControl.)
Public methodCopyFrom (Inherited from UITestControl.)
Public methodDrawHighlight (Inherited from UITestControl.)
Public methodEnsureClickable() (Inherited from UITestControl.)
Public methodEnsureClickable(Point) (Inherited from UITestControl.)
Public methodEnsureClickable(Point) (Inherited from UITestControl.)
Public methodEquals (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 methodFind (Inherited from UITestControl.)
Public methodFindMatchingControls (Inherited from UITestControl.)
Public methodGetChildren (Inherited from UITestControl.)
Public methodGetClickablePoint (Inherited from UITestControl.)
Public methodGetHashCode (Inherited from UITestControl.)
Public methodGetParent (Inherited from UITestControl.)
Public methodGetProperty (Inherited from UITestControl.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodGetUITestControlsForSearch (Inherited from UITestControl.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMuteMutes the media.
Public methodPause()Pauses the media.
Public methodPause(TimeSpan)Pauses media at the specified time.
Public methodPlay()Plays the media.
Public methodPlay(TimeSpan)Plays media from the specified start time.
Public methodSeekSeeks media to the specified time.
Public methodSetFocus (Inherited from UITestControl.)
Public methodSetProperty (Inherited from UITestControl.)
Public methodSetVolumeSets the volume of the media.
Public methodToString (Inherited from UITestControl.)
Public methodTryFind (Inherited from UITestControl.)
Public methodTryGetClickablePoint(Point) (Inherited from UITestControl.)
Public methodTryGetClickablePoint(Point) (Inherited from UITestControl.)
Public methodUnmuteUnmutes the media.
Public methodWaitForControlCondition(Predicate<UITestControl>) (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>, Int32) (Inherited from UITestControl.)
Public methodWaitForControlEnabled() (Inherited from UITestControl.)
Public methodWaitForControlEnabled(Int32) (Inherited from UITestControl.)
Public methodWaitForControlExist() (Inherited from UITestControl.)
Public methodWaitForControlExist(Int32) (Inherited from UITestControl.)
Public methodWaitForControlNotExist() (Inherited from UITestControl.)
Public methodWaitForControlNotExist(Int32) (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object) (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object, Int32) (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object) (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object, Int32) (Inherited from UITestControl.)
Public methodWaitForControlReady() (Inherited from UITestControl.)
Public methodWaitForControlReady(Int32) (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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.