我正在尝试使用Appium、Jasmine和Perfecto Mobile编写测试自动化脚本。我正在使用从以下URL克隆的项目,并使用自己的配置 Appium Javascript Example。
问题在于当我执行npm test命令时,我会得到以下错误信息:
问题在于当我执行npm test命令时,我会得到以下错误信息:
下面是packages.json脚本的内容:node_modules未被识别为内部或外部命令
{
"name": "perfecto_appium_sample",
"version": "1.0.0",
"description": "The following sample shows how to Install an application and use WebDriverIO to automate and test it.<br/> It uses selendroid test application which can be downloaded from [here](https://github.com/PerfectoCode/AppsForSamples/tree/master/selendroid-test-app-0.17.0).",
"main": "perfectoSpec.js",
"scripts": {
"test": "node_modules/webdriverio/bin/wdio wdio.conf.js",
"start": "wdio wdio.conf.js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"wdio": "^0.3.3",
"wdio-jasmine-framework": "^0.2.19",
"wdio-mocha-framework": "^0.5.12"
},
"dependencies": {
"wd": "^1.5.0",
"webdriverio": "^4.10.2"
},
"keywords": []
}
node ./node_modules/webdriverio/bin/wdio wdio.conf.js
" 怎么样? - kgangadhar