Class AutomationRemarksDesktopVideoRecordingProvider
java.lang.Object
com.shaft.gui.internal.video.AutomationRemarksDesktopVideoRecordingProvider
- All Implemented Interfaces:
com.shaft.gui.internal.video.DesktopVideoRecordingProvider
public class AutomationRemarksDesktopVideoRecordingProvider
extends Object
implements com.shaft.gui.internal.video.DesktopVideoRecordingProvider
Desktop video provider backed by Automation Remarks and JAVE.
The provider is published by the optional shaft-video module and discovered automatically through
ServiceLoader. Engine orchestration and Appium-native recording remain independent of these
desktop-only libraries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReports whether a desktop recording is active for the current test thread.voidStarts a Monte desktop recording for the current test thread.stopRecording(boolean testPassed, String recordingName) Stops, processes, and MP4-encodes the current thread's desktop recording.
-
Constructor Details
-
AutomationRemarksDesktopVideoRecordingProvider
public AutomationRemarksDesktopVideoRecordingProvider()
-
-
Method Details
-
startRecording
public void startRecording()Starts a Monte desktop recording for the current test thread.- Specified by:
startRecordingin interfacecom.shaft.gui.internal.video.DesktopVideoRecordingProvider
-
stopRecording
Stops, processes, and MP4-encodes the current thread's desktop recording.- Specified by:
stopRecordingin interfacecom.shaft.gui.internal.video.DesktopVideoRecordingProvider- Parameters:
testPassed- whether the current test passedrecordingName- unique name to use when saving the recording- Returns:
- the encoded recording, or
nullwhen it cannot be read
-
isRecording
public boolean isRecording()Reports whether a desktop recording is active for the current test thread.- Specified by:
isRecordingin interfacecom.shaft.gui.internal.video.DesktopVideoRecordingProvider- Returns:
truewhen recording; otherwisefalse
-