2.5.4 • Published 3 years ago

perfecto-reporting v2.5.4

Weekly downloads
738
License
SEE LICENSE IN <L...
Repository
github
Last release
3 years 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

3 years ago

2.5.3

7 years ago

2.5.2

7 years ago

2.5.1

7 years ago

2.5.0

7 years ago

2.4.4

8 years ago

2.4.3

8 years ago

2.4.1

8 years ago

2.4.0

8 years ago

2.2.1

8 years ago

2.2.0

8 years ago

2.1.0-beta

8 years ago

2.1.0

8 years ago

2.0.0

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.1.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago