2

I am working on protractor and using "protractor-angular-screenshot-reporter" to generate the report.But i am unable to add screenshot and test steps in this report.Can any one please help me in this.Any help from anyone is appreciated.Below i have attached the report that i am getting.I want to add some steps like "Clicked on web Element name" after clicking on any web Element:

enter image description here

enter image description here

  • Could you post your protractor config and also highlight where the "Clicked on web Element name" would come from? Thanks. – alecxe Jun 22 '17 at 13:00
  • Sorry, @alecxe it will not come from my config file, like right now i am using console.log(text) to print some action like after using getText(),then it is printing in the console window,but my requirement is to print it in the report.I just want to customise this report....My method is--- textMsg.getText().then(function (text) { console.log(text); }); – vedant Jun 22 '17 at 13:27
  • Right, understood this part. I would still like to see your Protractor config - the way you've configured the reporter. Thanks. – alecxe Jun 22 '17 at 13:50
  • Nono, please edit your question and include it there. Thanks. – alecxe Jun 22 '17 at 14:52
  • @alecxe i have added my config file – vedant Jul 3 '17 at 13:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.