Using saucelab with locally stored apk


1 comment

  • Avatar
    Murali Tulugu
    Just upload the file to Sauce Storage which is secured and specify that it is available on Sauce using the app capability.

    Step1 (Upload file to Sauce) : curl -u $SAUCE_USERNAME:$SAUCE_ACCESS_KEY -X POST -H "Content-Type: application/octet-stream"$SAUCE_USERNAME/myMobileApp.apk?overwrite=true --data-binary @/Users/JohnDoe/MobileApps/myMobileApp.apk
    Step2 (Specify the app location as capability : capabilities.setCapability("app", "sauce-storage:myMobileApp.apk");
    Comment actions Permalink

Please sign in to leave a comment.