Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iamgovindthakur opened this issue Apr 5, 2021 · 1 comment
Open

Comments

@iamgovindthakur
Copy link

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.

@JoshP
Copy link

JoshP commented Jun 4, 2023

You have video.enabled=false in the property file which would disable all recording.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants