jeudi 15 mars 2018

Appium Maven Project unable to run to real device

i was writing scrips on appium as an eclipse maven project.While trying to run the script using TESTNg to connected mobile device.. getting the following error

[RemoteTestNG] detected TestNG version 6.14.2
FAILED CONFIGURATION: @BeforeTest createAppiumDriver
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: 'java -version' failed. Error: Command failed: C:\Windows\system32\cmd.exe /s /c "java -version"
The system cannot find the path specified.
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
) (WARNING: The server did not provide any stacktrace information)

All java paths are set properly using below tutorial http://www.software-testing-tutorials-automation.com/2015/09/steps-to-download-and-install-javajdk.html

Aucun commentaire:

Enregistrer un commentaire