Hi Folks,
I have come across some issues while running Feature file in Eclipse after installation. If you have more user friendly installation document please share it and also let me know some basic checks to perform to find the issue.
The issues are listed below along with installation details:
1.After running my sub-steps scripts by placing some parameters in Run Configuration for chrome drivers, Browser is not loading and I am getting given below error in POM(I have attached screen shot(Error_Message_After_Running_Feature_File) and POM file for better understanding of the issue)
Missing artifact sun.jdk:tools:jar:1.6.31
Error resolving version for plugin 'org.apache.maven.plugins:maven-compiler-plugin' from the repositories [local (C:\Users
Probably this is the main issue. I have also highlighted couple of other issues as below.
2.I have extracted Maven 3.0.5(Source.zip file) and set the paths as below but I am unable to run MVN command from dos
prompt.(refer snapshot "Eclipse_Unable_To_Run_Mvn_Command"). Since I have also installed M2e-maven integration for Eclipse-
1.5.1.201.40.606. from eclipse editor. Could I ignore this?
M2 %M2_HOME%\bin
M2_HOME C:\Program Files\apache-maven-3.2.5\apache-maven\src
3.Where do we need to place the SubstepsMaven plugin 1.1.2 after downloading. It is a Jar file. Is this really required?.
However I could see "sub-steps maven plugin 1.1.1" in Maven dependencies under in Eclipse editor after installing M2e-maven integration for Eclipse-
1.5.1.201.40.606. from eclipse editor. Again Could I ignore this plugin installation.
Given below are my installation details
=============================================================================================
1. Installed Java JSE and JRE 1.7.0.0_75.
2. Installed Eclipse Luna 4.4.0.
4. Installed Maven 3.0.5(Source.zip file).
5. Installed Gits.
6. Installed M2e-maven integration for Eclipse-1.5.1.201.40.606.(Not sure if it is right one)
7. Given below are the Java&Maven paths set in Evironment
System variable:
Java_HOME C:\Progra Files\Java\jdk1.7.0_71
M2 %M2_HOME%\bin
M2_HOME C:\Program Files\apache-maven-3.2.5\apache-maven\src
8. Given below are the Eclipse and Run Configuration for the files.
Eclipse Project==>Properties==>Substeps contents==>
Feature Folder:target\test-classes\features
Substep Folder:target\test-classes\substeps
Run Configuration values for substeps:
Run configuration==>Substeps tab
Project=webdriver-substeps-example
Feature file=target\test-classes\features\innovate\Registration.feature
substeps file/folder=src/test/resources/substeps.