Protractor : 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
![Protractor : How to use JAVA programming language for protractor 1 desktop 2](https://lebyy.com/wp-content/uploads/2023/01/desktop-2.png)
- · 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
269 views
APPIUM Limitations
January 30, 2023
268 views
APPIUM: Introduction to mobile testing and overview on mobile devices
January 30, 2023
246 views
Jenkins: What is Jenkins and its installation steps
January 30, 2023
189 views
WebDriver: Differences between findElement and findElements
January 30, 2023
213 views
Search
Categories
Latest Posts
APPIUM architecture Overview
January 30, 2023APPIUM Limitations
January 30, 2023Popular Tags