Home > Automation Testing > How to install protractor and configure?

How to install protractor and configure?

To configure protractor below are the steps:

1. Download eclipse from https://www.eclipse.org/downloads/ and install it.

2. Download node.js from https://nodejs.org/en/download/ and install it.

3. Open the command prompt and run below command. It will install protractor globally.

“npm install -g protractor”.

4. Run below command in protractor to update webdriver.

“webdriver-manager update“.

5. Start the selenium server by running below command in Command Prompt.

“webdriver-manager start“

6. Install Jasmine by using below command.

“npm install -g jasmine“

To configure eclipse for protractor:

1. From eclipse market place install Angular Eclipse

2. Create Java script project and convert it into turn project. By Configure > Convert to Tern Project.

3. In new window Select Jasmine & Protractor check box > Apply

This Article is TAGGED in . BOOKMARK THE permalink.

Avatar photo
Amit Bharamasali
Automation Software Test Engineer. Skills: Manual Testing, Selenium, Java, Protractor, JavaScript, Katalon Studio, Groovy, Appium, Sahi, Sahi Script and UI/UX testing.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">