2

By default, as per the Mocha documentation on reporters, there is no Excel reporter. There are some CLI reporters (Spec, Dot, etc) and there are HTML and JSON reporters. A quick Google search shows there is an NPM package called Mocha-Insights-Reporter that can generate Excel files. Since Mocha is open-source and has documentation, your other option is to ...


1

WaitForExit() checks only for the presence of and not the visibility . You could use $(selector).waitForDisplayed instead . And also ensure there is no other element with the same selector


1

TSF exposes HTTP endpoints from which you can fetch data. You can find examples here and here.


1

No, You should NOT use static waits, it is a bad practice. Instead...Read below Disclaimer : I am an actual Protractor SDET, who has been using Protractor from last couple of years in actual Large Projects. Using Hard coded waits(static wait) along with every statement is an very bad practice for multiple reasons: It slows down the whole batch execution, ...


1

I think you can use the implicitlyWait option, although it has been removed from the Protractor documentation: onPrepare: function(){ browser.manage().timeouts().implicitlyWait(3000); }, Code example from: https://stackoverflow.com/questions/33299567/where-to-put-implicitlywait-in-protractor Read this!!!: Is it a bad practice to use implicit wait in ...


Only top voted, non community-wiki answers of a minimum length are eligible