Using saucelab with locally stored apk

Comments

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" https://saucelabs.com/rest/v1/storage/$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");
    0
    Comment actions Permalink

Please sign in to leave a comment.