Hi Team,
Can u send the code to capture a video for a test case in selenium c#.
public void Videorecording()
{
ScreenCaptureJob scj = new ScreenCaptureJob();
scj.OutputScreenCaptureFileName = @"D:\Selenium\Test.avi";
scj.Start();
IWebDriver diver = new FirefoxDriver();
driver.Url = "http://google.com";
Thread.Sleep(2000);
scj.Stop();
driver.Quit();
}
Hopefully this code is helpfull.
Instructor
gunjan Replied on 16/07/2019
Is it working now?