简体   繁体   中英

Test Automation for Android & iOS

I would like to build a test agent for testing Mobile SDKs (for both iOS & Android).

I thought about writing the agent in Python (run on Win Host machine), and the app for the mobile.

I need help with the app itself, it should consider the following for start:

  1. Performance : It must not not overload the mobile phone.
  2. How to execute app API : Should I use the adb command? Any other way?

Any BKMs? Recommendations?

Thanks a lot

Try as follows (start activity)

import os
cmd = 'adb shell am startservice -n packageName/.ServiceClass'
os.system(cmd)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM