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
    29 Mar, 2018 08:48pm

    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
    12 Mar, 2018 11:04pm

    Thanks a lot Chandra for the following and update.

    Looking forward to the progress

     

    Thanks,

    Doran

  • Chandra Yalangi commented
    12 Mar, 2018 10:59pm

    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
    8 Mar, 2018 05:40pm

    Thanks Chandra for the update!

    Please keep us updated.

  • Chandra Yalangi commented
    8 Mar, 2018 05:31pm

    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
    8 Mar, 2018 05:10pm

    Any update/progress?

  • Doran Gao commented
    28 Feb, 2018 08:59pm

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

  • Chandra Yalangi commented
    28 Feb, 2018 08:51pm

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

  • Doran Gao commented
    28 Feb, 2018 08:33pm

    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
    28 Feb, 2018 08:23pm

    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
    28 Feb, 2018 08:05pm

    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
    28 Feb, 2018 07:13am

    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

  • +1