gpt4 book ai didi

c# - 错误: Cannot find test-cloud. exe,找不到 "--uitest-tools-dir"指定的路径

转载 作者:行者123 更新时间:2023-11-30 17:30:22 25 4
gpt4 key购买 nike

尝试在 AppCenter 中使用 TestCloud 为 Xamarin Forms 项目运行 UITest,包括 Android 和 iOS,我在尝试通过 appcenter-cli 运行测试时收到相同的错误。

我正在使用以下命令:

appcenter test run uitest --app "[dir of iOS project]" --devices d675398e --app-path [Dir of IPA file] --test-series "master" --locale "en_US" --build-dir [Dir of UITEst project] --uitest-tools-dir [Dir of tools]

有没有人遇到过类似的问题并设法解决了?

最佳答案

您的 --uitest-tools-dir [Dir of tools] 参数不正确。该参数需要直接指向tools文件夹(test-cloud.exe所在的文件夹)。

因此您应该将此命令参数更改为:--uitest-tools-dir [Dir of tools]/tools

检查代码中的逻辑(appcenter-cli 是开源的)可能也很有用,所以如果您不确定发生了什么 - 只需看一下代码.

The logic referred to in the error you're seeing is here

关于c# - 错误: Cannot find test-cloud. exe,找不到 "--uitest-tools-dir"指定的路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50024437/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com