Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

support for prerequisite apps installation on saucelabs' emulators and testobject's devices.

for emulator and real device, we have to install a SSO.apk to make our targeted app App.apk work proerply. 

more details from "Sauce Labs Ticket 48689: query on android emulator"

  • Doran Gao
  • Feb 28 2018
  • Shipped
  • Sep 14, 2018

    Admin response

    For automated tests please use otherApps Appium capability to pre-install apps. This functionality was introduced in Appium 1.8.0

    Refer to the following link for documentation on otherApps capability.

     

    http://appium.io/docs/en/writing-running-appium/caps/

     

    Note that while testing on Sauce otherApps capability only takes public or private URLs to the apps and not local paths.

  • Attach files
  • Chandra Yalangi commented
    March 29, 2018 20:48

    Hi Doran,

    As we discussed offline, Appium is currently working on this and the functionality is expected to go out in Appium 1.8.

    Thanks,

    Chandra

  • Doran Gao commented
    March 12, 2018 23:04

    Thanks a lot Chandra for the following and update.

    Looking forward to the progress

     

    Thanks,

    Doran

  • Chandra Yalangi commented
    March 12, 2018 22:59

    Hi Doran,

    Appium is looking into this issue. I don't have an ETA on when this feature will be available. Lets sync up in 2 weeks time (3/26) on this issue.


    Thanks,

    Chandra

  • Doran Gao commented
    March 08, 2018 17:40

    Thanks Chandra for the update!

    Please keep us updated.

  • Chandra Yalangi commented
    March 08, 2018 17:31

    Hi Doran, I reached out to the Appium folks on this issue. Unfortunately I haven't heard back from them yet. Please give me till end of day Monday to get back to you.


    Thank you,

    Chandra

  • Doran Gao commented
    March 08, 2018 17:10

    Any update/progress?

  • Doran Gao commented
    February 28, 2018 20:59

    Thank you. Just want to let you know that the feature is very important for us to move forward. 

  • Chandra Yalangi commented
    February 28, 2018 20:51

    Got it. Thank you Doran. I will check a few details about the feature request and get back to you. 

  • Doran Gao commented
    February 28, 2018 20:33

    Thanks Chandra. for our scenarios, we only require the SSO get installed and do not need to launch.

    1. install SSO.apk

    2. install AUT.apk

    3. Launch AUT.apk and use Appium commands to test functionality.

     

    Regards,

    Doran

  • Chandra Yalangi commented
    February 28, 2018 20:23

    Thank you for the details. Are you thinking that a potential test scenario might look like below.


    1. Start an Appium session with 2 apps (SSO.apk and AUT.apk) 

    2. Launch SSO.apk and use Appium commands to setup a user session.

    3. Launch AUT.apk and use Appium commands to test functionality.


    Sounds like, in addition to installing and launching 2 APKs, you also need the ability to direct your automation Appium commands towards one app or the other. Did I get that right?

  • Doran Gao commented
    February 28, 2018 20:05

    It is for automation testing.

    the app(SUT, one apk) has wrap with SSO plugin(another apk) which checks for active user session, if the user is active then it takes us directly to homepage if not it will ask for login

     

    Thanks,

    Doran

  • Chandra Yalangi commented
    February 28, 2018 07:13

    Hi Sipeng, is this for manual tests or automated tests? Can you share some details on why the apps need to be on the same emulator? 

    Chandra