Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Cannot find test-cloud.exe, the path specified by "--uitest-tools-dir" was not found

Trying to run UITest using TestCloud in AppCenter for Xamarin Forms project, both Android and iOS, on both I receive same error when trying to run tests via the appcenter-cli.

I am using following command:

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]

Anyone else came across similar issue and manage to solve it?

like image 877
Woj Avatar asked Dec 09 '25 18:12

Woj


1 Answers

Your --uitest-tools-dir [Dir of tools] parameter is incorrect. This parameter needs to point to the tools folder directly (the folder which contains test-cloud.exe).

So you should change this command parameter to be: --uitest-tools-dir [Dir of tools]/tools

It may also be useful to check the logic in the code (the appcenter-cli is open source) so if you're ever not sure what's going on - just take a look at the code.

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

like image 108
Owen Niblock Avatar answered Dec 11 '25 22:12

Owen Niblock



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!