Protractor : How to use JAVA programming language for protractor
January 30, 2023 2023-01-30 10:39Protractor : How to use JAVA programming language for protractor
Protractor : How to use JAVA programming language for protractor
- Hi All,
Hope you are doing good.
As you are aware we have to use NodeJS in writing code for protractor to automate angular JS application.
In this post i would like to give you an idea how can we write protractor code using java programming language.
We need a jar file which supports Protractor methods and we need to add that jar file to our eclipse editor which is JProtractor.
Please find the below steps to create JProtractor jar file:
- · Download the code from this location as shown below: https://github.com/sergueik/jProtractor

- · Unzip the downloaded folder
- · Open the command prompt
- · Switch to the folder exactly we have above downloaded zip file
- · Remove the java folder from this location src/test/java
- · mvn clean package
- · it will take sometime to generate jar file
- · You can find the jar file from the below location
· C:\developer\username\jProtractor\target\jprotractor-1.2-SNAPSHOT.jar
In the next post we are going show an example how to write a program in your eclipse editor
Thanks,
Surendra Jaganadam
Related Posts
APPIUM architecture overview
January 30, 2023
89 views
APPIUM Limitations
January 30, 2023
84 views
APPIUM: Introduction to mobile testing and overview on mobile devices
January 30, 2023
91 views
Jenkins: What is Jenkins and its installation steps
January 30, 2023
70 views
WebDriver: Differences between findElement and findElements
January 30, 2023
72 views
Search
Categories
Latest Posts