Latest Maven Project with io.cucumber dependencies

  Рет қаралды 8,678

Automation Hub Sarthak

Automation Hub Sarthak

Күн бұрын

Пікірлер: 36
@jesinthanithya1191
@jesinthanithya1191 Жыл бұрын
Thanks for the detailed explanation
@shumylaansari3433
@shumylaansari3433 2 жыл бұрын
You have resolved my issue in pom
@gurjeetsingh-sd2wj
@gurjeetsingh-sd2wj Жыл бұрын
Thank you it really help
@Bhartahkumar
@Bhartahkumar Жыл бұрын
Really great work sarthak, Tried with so many other tutorials to build the cucumber POM.xml finally I found one where I can easily setup new cucumber POM.xml file , Im happy that I found your channel at least now
@SportsGyan_
@SportsGyan_ Жыл бұрын
Hi, I am getting error on tools jar file line in pom.xml that it should not be hardcoded
@automationhubsarthak1186
@automationhubsarthak1186 Жыл бұрын
It is warning you can use ${JAVA_HOME}/lib/tools.jar but make sure you customise that path
@SportsGyan_
@SportsGyan_ Жыл бұрын
@@automationhubsarthak1186 I have given full path under system path and I am using jdk 11.0.16 and my tool jar version is 1.7. No issue in this?
@automationhubsarthak1186
@automationhubsarthak1186 Жыл бұрын
@@SportsGyan_ right click on the jar 1.7 > Properties > drop-down select 11 SE
@SportsGyan_
@SportsGyan_ Жыл бұрын
@@automationhubsarthak1186 not getting
@automationhubsarthak1186
@automationhubsarthak1186 Жыл бұрын
@@SportsGyan_ you will see JRE System library [JAVA SE1.7] in your Maven project. Right click on it. Properties option will show up. Click on Properties. Then in the Execution Environment dropdown select JAVA SE - 11(jre) and ApplynClose
@HRITHIKM-nw6rv
@HRITHIKM-nw6rv Жыл бұрын
I'm finding problem in adding com.sun i.e i dont have tools.jar file in my c drive. My current jdk version is 18.0.1. Will you please help me sir
@automationhubsarthak1186
@automationhubsarthak1186 Жыл бұрын
if possible uninstall java 18 and move to 17 and if it is ok with you move to java 8, it is much more stable with Automation. Even Appium works best with java 8
@abhishekkunte4573
@abhishekkunte4573 2 жыл бұрын
Sir can u please tell me which version of eclipse you used here?
@automationhubsarthak1186
@automationhubsarthak1186 2 жыл бұрын
it really does not matter to be honest. Eclipse has got nothing to do with this setup. But for your reference I guess June 19
@abhishekkunte4573
@abhishekkunte4573 2 жыл бұрын
@@automationhubsarthak1186 Sir in jdk17 tools.jar file is not available in lib folder of java. So after adding cobertura and tools dependency missing artifact com.sun.jar error still exist in pom.xml. Also tools.jar path cannot be added in systemPath in tool dependency. So please tell how to resolve it
@automationhubsarthak1186
@automationhubsarthak1186 2 жыл бұрын
@@abhishekkunte4573 it can be resolved. The path is there but then I guess it is better you email me on automationhubsarthak@gmail.com and I will invite you in zoom tomorrow. And we will fix it.
@abhishekkunte4573
@abhishekkunte4573 2 жыл бұрын
@@automationhubsarthak1186 done Sir
@HRITHIKM-nw6rv
@HRITHIKM-nw6rv Жыл бұрын
@@abhishekkunte4573 Abhishek how did you solve tools.jar error
@mahendrareddy6569
@mahendrareddy6569 2 жыл бұрын
while adding depedencies u copy tools jar show how to a do tools jar please there showing error in tools only
@automationhubsarthak1186
@automationhubsarthak1186 2 жыл бұрын
clearly explained. Check the Maven Playlist. You will understand better
@veerepallijhansi8812
@veerepallijhansi8812 2 жыл бұрын
What is the difference between dependucies of maven archetype 1.1 and 1.4
@automationhubsarthak1186
@automationhubsarthak1186 Жыл бұрын
basically 1.4 will give you more packages. Also the plugin management is better with 1.4
@geetsatyou
@geetsatyou 6 ай бұрын
Hey Sarthak.. i am not able to create maven project. getting this error: Archetype repository not defined. Using the one from [org.apache.maven.archetypes:maven-archetype-quickstart:1.4] found in catalog remote;... could you please check and let me know what did i do wrong
@automationhubsarthak1186
@automationhubsarthak1186 5 ай бұрын
hope you have downloaded maven and configured in env variables. Then when you create the maven project, skip the archetype selection and use the artifact id maven-archetype-quickstart and select 1.4 in it and proceed. I hope you are using Java 17 at least...
@manuelsteele8030
@manuelsteele8030 2 жыл бұрын
Does this video setup demonstration still apply to Java 17 or higher? I had a pom.xml that was working fine until I upgraded to Java 17. It was working great on 1.8 jdk. Now, I have to hunt down updated pom setup videos to find one that works with Java 17 or higher.
@automationhubsarthak1186
@automationhubsarthak1186 2 жыл бұрын
yes it should work fine.
@abhishekkunte4573
@abhishekkunte4573 2 жыл бұрын
@@automationhubsarthak1186 Sir i have eclipse version 2021-03 (4.19.0) and JDK 17. Its not working with it. Is there any solution for this version?
@automationhubsarthak1186
@automationhubsarthak1186 2 жыл бұрын
@@abhishekkunte4573 it should work but I suggest switching to Java 8 as it is the most stable with Automation
@abhishekkunte4573
@abhishekkunte4573 2 жыл бұрын
@@automationhubsarthak1186 OK Sir, Eclipse version2021-03 is ok or this also needs to degrade?
@automationhubsarthak1186
@automationhubsarthak1186 2 жыл бұрын
@@abhishekkunte4573 should work fine
@CuteWorld614
@CuteWorld614 2 жыл бұрын
I m getting error in pom after adding dependencies
@automationhubsarthak1186
@automationhubsarthak1186 2 жыл бұрын
what is the error?
@jesinthanithya1191
@jesinthanithya1191 Жыл бұрын
getting An error occurred while collecting items to be installed session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Result of processing steps. OK OK OK Public key not found for 8122282445186051625. OK while trying to install Natural
@poojashinde9494
@poojashinde9494 6 ай бұрын
Facing issue downloading archetype 1.4
Regular Expressions in Cucumber
23:22
Automation Hub Sarthak
Рет қаралды 646
Selenium Cucumber Java BDD Framework 11 | How to run from CommandLine
36:27
Automation Step by Step
Рет қаралды 56 М.
Wait for it 😂
00:32
ILYA BORZOV
Рет қаралды 7 МЛН
兔子姐姐最终逃走了吗?#小丑#兔子警官#家庭
00:58
小蚂蚁和小宇宙
Рет қаралды 13 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 15 МЛН
Я сделала самое маленькое в мире мороженое!
00:43
Cucumber Dependency In Maven | How To Add Cucumber Dependency In Maven
13:39
Teach Yourself Test Automation
Рет қаралды 1 М.
Add Required Dependencies for Selenium Cucumber Framework Video-4
9:40
Selenium Cucumber Java BDD Framework 5 - Parameterization & Data Driven Testing
16:23
How to create selenium, cucumber with Java project in IntelliJ IDEA || Ganesh Jadhav
26:20
Ganesh Jadhav AutomationStudio
Рет қаралды 12 М.
#12. Creating Cucumber Maven Project in IntelliJ IDEA | Cucumber with Selenium WebDriver Part 12
10:16
Krishna Sakinala (Automation Testing)
Рет қаралды 41 М.
Selenium with Cucumber 7.x - Java BDD Framework - Mini Project | Crash Course
46:56
Monster magnet meets microwave magnetron...
17:44
Brainiac75
Рет қаралды 39 М.
Wait for it 😂
00:32
ILYA BORZOV
Рет қаралды 7 МЛН