UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
UploadMedia(Image,String,MediaUploadOptions) Method
Image file. Supported formats: JPG, GIF, PNG, BMP, TIF (iOS only).
The unique ID of the uploaded image. The ID is used to start the simulation using IApplication.StartCameraSimulationMode.
Upload options.
Upload an image to the device for camera simulation, with the option to save the file. The file is deleted when the device is released.
Syntax

Parameters

image
Image file. Supported formats: JPG, GIF, PNG, BMP, TIF (iOS only).
mediaID
The unique ID of the uploaded image. The ID is used to start the simulation using IApplication.StartCameraSimulationMode.
options
Upload options.