Extra Settings in VS Code for Protractor | Install jasmine | Install typescript | package.json

Published: 04 August 2020
on channel: AJ AUTOMATION
75
2

Extra setup in vs code project
-----------------------------------------------

1. package.json= project + dependencies info

-Open Integrated Terminal in VS Code

-Run cmd: npm init

2. Install jasmine package

-run cmd: npm install --save-dev @types/jasmine

3. Install javascript package

-Run cmd: npm install javascript

4. Install typescript package

-Run cmd: npm install typescript

5. Run the protractor script

-Run cmd: protractor conf/conf.js

-Run cmd: npm test

To Use npm test, do the following thing first:

-Add "protractor conf/conf.js" value for "test" key in
package.json

"test": "protractor conf/conf.js"


======================================
***************AJ AUTOMATION*************
======================================

Let's learn Selenium and Protractor Automation without any Fee. Just Free @ AJ Automation Channel :=
   / @ajautomation  

Selenium series videos Playlist :=
   • Selenium tutorial for beginners - Mos...  

Protractor series videos playlist :=
   • Let's Learn Protractor - By AjAutomation  

Maven Tool videos playlist :=
   • Maven Tool - Learn Basics To Advanced...  

Videos on the WebDriverIO are going to be posted soon. Stay Tuned.

Subscribe to the channel to get some amazing videos on Selenium, API, Protractor, WebDriverIO and much more.

Never STOP Learning...

Keep Learning...Keep Sharing...Keep Growing.

#AjAutomation