Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can we use protractor in eclipse?

Can we write protractor test/scripts in eclipse. Enabling syntax highlighting , intellisense etc. for Javascript in Eclipse.

like image 495
Rahul Avatar asked Jan 08 '23 16:01

Rahul


1 Answers

Yes, you can use protractor plugin in eclipse.

  1. Go to help-->Marketplace
  2. Search for tern.java
  3. Install Tern Eclipse IDE
  4. and accept the licence.

Now create a project in eclipse

  1. Right click on project,
  2. Mouse hover to configure and
  3. Click on convert to tern project
  4. Properties window pop-up>> goto Modules
  5. you will be able to see Protractor,
  6. Select the check box and click on the Protractor and
  7. Also check the dependencies as well.

Now you are ready to write scripts using protractor.

like image 75
Nick Avatar answered Jan 10 '23 05:01

Nick