| 245 | return emulatorProcess |
| 246 | |
| 247 | def installAppInEmulator(self, moduleFilePath): |
| 248 | self.logger.info("Installing app in emulator...") |
| 249 | |
| 250 | # now install the app in the emulator |
| 251 | installAppCommand = '"%s" install -t "%s"' % \ |
| 252 | ( self.adbPath, |
| 253 | moduleFilePath ) |
| 254 | subprocess.check_call(installAppCommand, stdout=self.subprocess_out, shell=True, env=self.androidEnvironment ) |
| 255 | |
| 256 | self.logger.debug("Waiting 10 seconds...") |
| 257 | time.sleep(10) |
| 258 | |
| 259 | |
| 260 | def startAppInEmulator(self, appIdToRun, args): |