2.5.4 • Published 1 year ago

perfecto-reporting v2.5.4

Weekly downloads
738
License
SEE LICENSE IN <L...
Repository
github
Last release
1 year ago

Perfecto Reporting SDK for NodeJS projects

The solution for digital automation projects using NodeJS

Usage

perfectoReporting = require('perfecto-reporting')

perfectoExecutionContext = new perfectoReporting.Perfecto.PerfectoExecutionContext({
  webdriver,
  tags: ['optional tag']
});
reportingClient = new perfectoReporting.Perfecto.PerfectoReportingClient(perfectoExecutionContext);

reportingClient.testStart('This is the test name');

reportingClient.testStep('Navigate to my site');
webdriver.get('https://mysite.com');

reportingClient.testStep('Create new purchase order');
// Business logic executed via webdriver...

// Report the test status - either passed...
reportingClient.testStop({
  status: perfectoReporting.Constants.results.passed
});
// ... Or failed with an err
reportingClient.testStop({
  status: perfectoReporting.Constants.results.failed,
  message: err
});
2.5.4

1 year ago

2.5.3

5 years ago

2.5.2

5 years ago

2.5.1

5 years ago

2.5.0

6 years ago

2.4.4

6 years ago

2.4.3

6 years ago

2.4.1

6 years ago

2.4.0

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.0-beta

6 years ago

2.1.0

6 years ago

2.0.0

7 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago