在appcenter 上为我的React Native 应用程序进行一些自动化 UI 测试的最佳方法是什么?
是否有使用 appcenter for react native 进行 UI 自动化测试的教程?
我有一个要在 AppCenter 上使用的 UITest,但收到此错误消息测试分块失败。
\ Preparing tests... Test chunking failed: Format of the executable (.exe) or library (.dll) is invalid.
appcenter test run uitest --app "NCCN/Reimbursement-Android" --devices d1c9f63e --debug --app-path "PathToAPK.apk" --test-series "master" --locale "en_US" --build-dir "PathToReleaseFoler"
Run Code Online (Sandbox Code Playgroud) 要执行Xamarin Test Cloud测试,您必须执行appcenter命令,例如
appcenter test run uitest --app "appName" --devices 228faeda --app-path *appPath* --test-series "master" --locale "en_US" --build-dir *debugFolderPath*
Run Code Online (Sandbox Code Playgroud)
这非常有效.
我想通过Jenkins触发这个命令.
我使用上面显示的命令添加了"执行Windows批处理命令".
我执行构建.
但是我在控制台输出中收到以下错误
"C:\ Program Files(x86)\ Jenkins\workspace\Xamarin Test Cloud Android> appcenter'appcenter'不被识别为内部或外部命令,可操作程序或批处理文件."
这是为什么?
谢谢
jenkins xamarin xamarin.uitest visual-studio-app-center visual-studio-app-center-test