Details

    • Similar Issues:

      Description

      The Android Emulator plugin lets you install the APK, but not launch it.

      It'd be awesome if you could also launch the installed APK. Maybe another checkbox alongside the existing "Uninstall existing APK first" checkbox that says "Launch after installing APK"

      It's easy to launch an app with adb:
      adb shell am start -n com.package.name/com.package.name.ActivityName

      This feature would be great because some automated testing usecases require the app to be running.

        Attachments

          Activity

          Hide
          orrc Christopher Orr added a comment -

          Yup, could do. In most cases there will be only one launcher activity, though in the case of multiple, I'd just use the first launchable-activity listed by `aapt dump badging`. Otherwise, we could add an "advanced" field where the component name can be specified.

          Which test tools are you using which require the app to be running, and don't launch it themselves?

          Show
          orrc Christopher Orr added a comment - Yup, could do. In most cases there will be only one launcher activity, though in the case of multiple, I'd just use the first launchable-activity listed by `aapt dump badging`. Otherwise, we could add an "advanced" field where the component name can be specified. Which test tools are you using which require the app to be running, and don't launch it themselves?
          Hide
          saturnboy Justin Shacklette added a comment -

          Basically if you're not using InstrumentationTestRunner, then you need the app running. I guess I was envisioning lots of cases, but maybe not...

          I'm the lead developer of MonkeyTalk (http://www.gorillalogic.com/monkeytalk) which is a new cross-platform functional testing tool and UI command language, and we definitely need the app to be running, and we don't launch it ourselves.

          Show
          saturnboy Justin Shacklette added a comment - Basically if you're not using InstrumentationTestRunner, then you need the app running. I guess I was envisioning lots of cases, but maybe not... I'm the lead developer of MonkeyTalk ( http://www.gorillalogic.com/monkeytalk ) which is a new cross-platform functional testing tool and UI command language, and we definitely need the app to be running, and we don't launch it ourselves.

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              saturnboy Justin Shacklette
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: