Trying to run Project in Eclipse by Right Click Project>>Run As>>Maven Install
I have only 2 Test Cases in my src\\tests folder and both the Test Cases are running Fine. After the Tests got completed, Getting Build Failure in Console.
Error:-Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project selenium-project: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: There was an error in the forked process org.openqa.selenium.remote.SessionNotFoundException

I have the following way to execute your test from testing.xml file using Maven
Add one
Testing.xmlfile in project root. Content will be likeAdd Below code in your
pom.xmljust above<dependencies>tagDo below steps
Right Click on Project > Run As > Maven Clean
Then
Right Click on Project > Run As > Maven Build
Then
Right Click on Project > Run As > Maven Test