2.5.4 • Published 2 years ago

perfecto-reporting v2.5.4

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

2 years ago

2.5.3

6 years ago

2.5.2

6 years ago

2.5.1

6 years ago

2.5.0

7 years ago

2.4.4

7 years ago

2.4.3

7 years ago

2.4.1

7 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

8 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.1.0

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago