为什么我的浏览器在测试开始时出现故障?

hcoder 测试交流评论74字数 1628阅读模式
摘要我在Windows 10机器上启动TestCafé时遇到问题。我一开始测试,浏览器就会弹出,然后再次关闭,并显示以下错误消息: TypeError:无法读取。。。

我在Windows 10机器上启动TestCafé时遇到问题。我一开始测试,浏览器就会弹出,然后再次关闭,并显示以下错误消息:

TypeError:无法读取null的属性(读取“测试”)文章源自玩技e族-https://www.playezu.com/204292.html

at LiveModeRunner._finishPreviousTestRuns (C:Users…test-runner.js:149:38)文章源自玩技e族-https://www.playezu.com/204292.html

at LiveModeRunner.runTests (C:Users…test-runner.js:36:21)文章源自玩技e族-https://www.playezu.com/204292.html

at C:Users…test-runner.js:111:30文章源自玩技e族-https://www.playezu.com/204292.html

在processTicksAndRejections(节点:internal/process/task_queues:96:5)文章源自玩技e族-https://www.playezu.com/204292.html

错误:无法打开浏览器“;“铬”:;由于错误。文章源自玩技e族-https://www.playezu.com/204292.html

错误:生成未知文章源自玩技e族-https://www.playezu.com/204292.html

在这个过程中。spawn(节点:内部/child_process:413:11)文章源自玩技e族-https://www.playezu.com/204292.html

在spawn(节点:child_process:700:9)文章源自玩技e族-https://www.playezu.com/204292.html

在execFile(节点:child_process:327:17)文章源自玩技e族-https://www.playezu.com/204292.html

at C:Users…index.js:29:7

at invokeResolver (C:Users…testcafenode_modulespinkieindex.js:44:3)

at new Promise (C:Users…testcafenode_modulespinkieindex.js:181:2)

at C:Users…testcafenode_modulespifyindex.js:12:10

at ret (C:Users…testcafenode_modulespifyindex.js:56:34)

at Object.execFile (C:Users…testcafenode_modulestestcafe-browser-toolssrcutilsexec.js:121:22)

at runFindWindowBinary (C:Users…testcafenode_modulestestcafe-browser-toolssrcapifind-window.js:23:22)

我在一个特殊的环境中工作。在Windows7上一切正常,但是我在Windows10上遇到了问题

版本:
TestCafé:1.9.4
Windows 10:1809
节点。js:16.15.0
铬:103.0.5060.53
Firefox:91.11.0esr(64位)

命令行:
${env:NODE_OPTIONS}='–require "c:/Program Files/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js" --max-http-header-size=640000 --inspect-publish-uid=http'; ${env:VSCODE_INSPECTOR_OPTIONS}='{"inspectorIpc":".pipenode-cdp.2508-1.sock","deferredMode":false,"waitForDebugger":"","execPath":"C:Program Filesnodejsnode.exe","onlyEntrypoint":false,"autoAttachMode":"always","fileCallback":"C:Users…AppDataLocalTempnode-debug-callback-ecd154ca5b61a763"}'; & 'C:Program Filesnodejsnode.exe' '…node_modulestestcafebintestcafe.js' '–live' 'chrome' '–skip-js-errors' 'c:Users…debugTest.ts'

软件测试app功能

 
  • 版权提示:本站仅供存储任何法律责任由作者承担▷诈骗举报◁▷新闻不符◁▷我要投稿◁
    风险通知:非原创文章均为网络投稿真实性无法判断,侵权联系2523030730
    免责声明:内容来自用户上传发布或新闻客户端自媒体,切勿!切勿!切勿!添加联系方式以免受骗。
  • 原创转载:https://www.playezu.com/204292.html
    转载说明: 点我前往阅读>>>
匿名

发表评论

匿名网友
确定