Share this page

UploadMedia(Uri,String,MediaUploadOptions) Method
Upload a media file to the device for camera or video simulation, with the option to save the file. The files are deleted when the device is released.

C# Syntax

    void UploadMedia(
       Uri mediaUrl,
       string mediaID,
       MediaUploadOptions options
    )

Parameters

mediaUrl
  The URL, including the extension, of the media file (image or video). Supported formats: JPG, GIF, PNG, BMP, TIF (iOS only), MP4, 3GP (Android only), MKV (Android only), MOV (iOS only), M4V (iOS only).
mediaID
  The unique ID of the uploaded media. The ID is used to start the simulation using IApplication.StartCameraSimulationMode.
options
  Upload options.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: