public void GetVideoDetailsForInvalidStartupPath() { //Arrange VideoFileDetail videoObj = new VideoFileDetail(); string appStartPath = @":\git-code\ImageProcessing\KantarImageProcessing\Test.ImageVideoGrabber\bin\Debug";//Application.StartupPath; string frameName = Guid.NewGuid().ToString(); string outputImgFilePath = appStartPath + @"\bin\img\"; string filePath = @"D:\videos\images\unitTest\bill2.mp4"; string batchFilePath = appStartPath + @"\ff-prompt.bat"; videoObj.ApplicationStartupPath = appStartPath; videoObj.OutputImagePath = outputImgFilePath; videoObj.InputFilePath = filePath; videoObj.BatchFilePath = batchFilePath; //Act VideoContent video = _grab.GetVideoDetails(videoObj); //Assert }