locked
Unable to upload and test in Xamarin Test Cloud. RRS feed

  • Question

  • User319688 posted

    Hi all, I'm new-bee to xamarin UI Test, and learning and practicing.

    I have added UITest to my xamarin.iOS project. I have added the AppIntiliazer class and .ipa file. I can test my test cases on simulator but unable to upload to Xamarin Test Cloud sue to this error. When I try to upload to Xamarin Test Cloud, I am getting this error. Also, used NUnit 2.6.4.

    /Users/lexushitachi/Downloads/CreditCardValidator.iOS/CreditCardValidator/CreditCardValidator.csproj(1,1): Error: Unknown MSBuild failure. Please try building the project again (CreditCardValidator)

    Can you please help me with this issue?

    Thank you..!!

    Sunday, April 30, 2017 7:21 PM

Answers

  • User52517 posted
    1. Are you trying to upload your app from Xamarin Studio or Visual Studio for Mac?
    2. Is this a Forms PCL app?

    If the answers to 1&2 are both "yes" than the cause is likely this bug: https://bugzilla.xamarin.com/show_bug.cgi?id=55751

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Monday, May 1, 2017 4:32 PM
  • User189914 posted

    upload ipa file using command line link : https://developer.xamarin.com/guides/testcloud/uitest/working-with/submitting-tests-at-command-line/

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, May 11, 2017 11:25 AM

All replies

  • User52517 posted
    1. Are you trying to upload your app from Xamarin Studio or Visual Studio for Mac?
    2. Is this a Forms PCL app?

    If the answers to 1&2 are both "yes" than the cause is likely this bug: https://bugzilla.xamarin.com/show_bug.cgi?id=55751

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Monday, May 1, 2017 4:32 PM
  • User319688 posted

    Yes. I ma using Xamarin Studio for Mac. It's a Forms PCL app.

    Still I am not able to solve this issue. Any proper step by step suggestion?

    Thank you for feedback.

    Thursday, May 4, 2017 8:47 PM
  • User52517 posted

    Unfortunately the only workaround I'm aware of is submitting tests via the command line. See this guide for details: https://developer.xamarin.com/guides/testcloud/uitest/working-with/submitting-tests-at-command-line/

    If you log into the Test Cloud website, and select the button "New Test Run", at the end of the wizard you can copy a prototype command line based on your selections in the wizard (such as devices to run on, locale etc.).

    It will be mostly constructed but you'll have to modify it to use the paths to the Xamarin.UITest package you're using, your IPA or APK, and the path to the folder containing the .dlls of the tests you've written.

    Friday, May 5, 2017 7:53 PM
  • User189914 posted

    upload ipa file using command line link : https://developer.xamarin.com/guides/testcloud/uitest/working-with/submitting-tests-at-command-line/

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, May 11, 2017 11:25 AM
  • User316389 posted

    Run in your mac Terminal:- mono "test-cloud.exe Path" submit "PATH IPA" "TEAMAPIKEY" --devices="DEVICES" --assembly-dir="PATH TESTASSEMBLYDIR" --user="EMAIL"

    Friday, May 12, 2017 10:17 AM
  • User316389 posted

    Put following path in your Mac Terminal:- mono submit --devices db134rr7 --series "master" --locale "en_US" --user --assembly-dir pathToTestDllFolder

    Friday, May 12, 2017 12:37 PM
  • User52517 posted

    @PRPatel You had some duplicated comments that I deleted.

    More generally, you (or others) can log into testcloud.xamarin.com and select "New Test Run" to use a wizard to select your options for the Test Cloud (such as devices). At the end you'll be presented with a prototype command line that includes your specific information, like the --devices argument based on your selection, your Test Cloud API Key, & your email address.

    It can't auto-generate everything though, so you'll have to fill in some of the remaining arguments.

    See Also: https://developer.xamarin.com/guides/testcloud/uitest/working-with/submitting-tests-at-command-line/

    Friday, May 12, 2017 4:49 PM