1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-22 02:29:10 +00:00

Create a function for launching skype application.

Skype has a unique launch command which is called in the setup
phase of the workload. The launch command is split into a stand alone
method which can be called as a separate method if required.

This can be used as common method if more applications in future
require their own customized launch command.
This commit is contained in:
jummp01 2017-01-11 21:29:52 +00:00
parent 01c9c88e79
commit 8f67b7f94b

View File

@ -96,4 +96,7 @@ class Skype(AndroidUxPerfWorkload):
def setup(self, context):
super(Skype, self).setup(context)
self.launch_app()
def launch_app(self):
self.device.execute('am start -W -a android.intent.action.VIEW -d skype:dummy?dummy')