3

I would like to test desktop application. So, I got winium as a best open source to test Desktop Application. When I gone through online tutorial but unable to find any reporter. Example - Allure Reports is used in Protractor to test Web Applications.

5

Reporting tool depends on the artifacts of the unit testing framework (e.g. NUnit, JUnit, TestNG), not on the testing library used (Selenium, Winium or Protractor).

So you can use the same reporting tool for desktop application testing as for the web app.

It might be Allure, ReportPortal, ExtentReports or any other tool that you prefer.

| improve this answer | |
1

Use protractor beautiful report if you are using jasmine 2.0:

https://www.npmjs.com/package/protractor-beautiful-reporter

npm install protractor-beautiful-reporter

Config:

framework: 'jasmine',
onPrepare: function(){
let HtmlReporter = require('protractor-beautiful-reporter');
             jasmine.getEnv().addReporter(new HtmlReporter({
                baseDirectory: 'reports_new',
                screenshotsSubfolder: 'screenshotsOnFailure',
                takeScreenShotsOnlyForFailedSpecs: true,
                jsonsSubfolder: 'jsonFiles',
                excludeSkippedSpecs: true,
                preserveDirectory: false,
                clientDefaults:{
                showTotalDurationIn: "header",
                totalDurationFormat: "h:m:s",
                gatherBrowserLogs: true
              },
             }).getJasmine2Reporter());
}
| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.