Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

Unable to generate protractor video reporter in Windows #27

Open
saranya-vthink opened this issue May 8, 2018 · 0 comments
Open

Unable to generate protractor video reporter in Windows #27

saranya-vthink opened this issue May 8, 2018 · 0 comments

Comments

@saranya-vthink
Copy link

saranya-vthink commented May 8, 2018

var VideoReporter = require('protractor-video-reporter');
var path = require('path');
exports.config = {
// directConnect: true,
multiCapabilities: [
{
'browserName': 'chrome',
},
],

specs : ['spec1.js'],
framework : 'jasmine2',
seleniumAddress: 'http://localhost:4444/wd/hub',
// Options to be passed to Jasmine.
jasmineNodeOpts: {
defaultTimeoutInterval: 170000
},

onPrepare: function() {
jasmine.getEnv().addReporter(new VideoReporter({
// baseDirectory: Path.join(__dirname, 'reports\videos\'),
baseDirectory: "..\jasmine-allure-reporter\REPORTS\videos",
saveSuccessVideos: true,
createSubtitles: false,
singleVideo : true,
ffmpegCmd: "..\ffmpeg-20180506-0736f32-win64-static\bin\ffmpeg.exe",
ffmpegArgs: [
'-f',
'gdigrab',
'-framerate',
'30',
'-i',
'title=Google - Mozilla Firefox',
]
}));
console.log("logs: "+__dirname+"");
}
}

In config file cannot able to generate the automatic video reporter for protractor e2e testing.

Please help

@saranya-vthink saranya-vthink changed the title Unable to generate protractor video reporter Unable to generate protractor video reporter in Windows May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant