Skip to content

A simple project to demonstrate reporting and logging of protractor project

Notifications You must be signed in to change notification settings

sameeksha-sahib/protractor-reporter-and-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protractor-reporter-and-logger

This is simple project to demonstrate reporting and logging of protractor project. 3 reporters are covered in the project:

1 logger is covered:

Steps:

  • Download project and open in any editor of your choice (I prefer VS code)
  • Install protractor: https://www.protractortest.org/#/
  • Start WebDriver manager
  • Open project folder in terminal and run:
    • npm install (Will install dependencies reuired by project)
    • npm run protractortest
    • npm run report (For report of allure reporter, not required for other reporters)
    • cd path_to_chrome.exe > "./chrome.exe" --allow-file-access-from-files (Give file read permission to chrome, so that you can ignore installing web server to view report htmls in chrome)
  • View reports in chrome
  • View logs in file winston-basic.log
  • Stay happy :)

About

A simple project to demonstrate reporting and logging of protractor project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published