mardi 6 janvier 2015

Can we give test case name as title of screenshot in protractor?

from protractorConfig.js :



jasmine.getEnv().addReporter(new HtmlReporter({
baseDirectory: './reports/'+outputFolder+'/screenshots',
takeScreenShotsOnlyForFailedSpecs: true
}));


There is an option, docTitle, but not sure how to fetch test case name as title here....


Aucun commentaire:

Enregistrer un commentaire