Skip to content

Video is not recording even after running the test in TestNGΒ #72

@iamgovindthakur

Description

@iamgovindthakur

video.properties file code

video.folder=${user home}/video
video.enabled=false               // default true
video.mode=ALL                    // default ANNOTATED
recorder.type=FFMPEG              // default MONTE
video.save.mode=ALL               // default FAILED_ONLY
video.frame.rate=1                // default 24
ffmpeg.format=x11grab             // default value depends on OS platform
ffmpeg.display=:0.0               // default value depends on OS platform
ffmpeg.pixelFormat=yuv444p        // default yuv420p (for Apple QuickTime player compatibility)

My Testclass demo.java code

import com.automation.remarks.testng.UniversalVideoListener;
import com.automation.remarks.video.annotations.Video;

@Listeners(UniversalVideoListener.class)
public class demo extends BaseTestClass {

	@Test
	@Video
	public void checkVideo() {
		invokeBrowser("chrome");
		PageBaseClass pageBase = new PageBaseClass(driver, logger);
		PageFactory.initElements(driver, pageBase);
		driver.get("https://google.com");

	}
}

My Test is running everything is fine but i don't know my video is not recording.
ffmpeg & SendSignalCtrlC.exe are already installed both commands are working in cmd.

Any help will be appreciated. Thank You.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions