Skip to content

A simple test automation solution with reporting and multiple environment support

Notifications You must be signed in to change notification settings

PankajRPandey/simple-protractor-jasmine-js-solution

Repository files navigation

SIMPLE PROTRACTOR JASMINE SOLUTION

A simple UI testing solution with reporting and multiple environment support

Please note that the Angular team plans to end development of Protractor at the end of 2022


Environment+Data Configuration

Environment+Data Configuration

TO EXECUTE THE TEST -

DOWNLOAD ALL THE DEPENDENCIES (THIS WILL BE DONE ONCE)

npm install

UPDATE AND START WEBDRIVER SERVER

Update script (wd:update) in the package.json will download the required browser drivers (This will be done once)

npm run wd:update

Start script (wd:start) will start the Selenium server

npm run wd:start

AND THEN RUN SPECS IN THE SPECIFIC ENVIRONMENT (SAY, TEST)

npm run specs:test

REPORTS CAN BE LOCATED AT reports/htmlreport/report.html