开发者

How to get the activity running from other process using Robotium

开发者 https://www.devze.com 2023-03-25 06:13 出处:网络
i have a main activity and when tap on the button in the main activity it moves to the开发者_JS百科 another activity than runs on another process .. is there a chance to track/get that activity using

i have a main activity and when tap on the button in the main activity it moves to the开发者_JS百科 another activity than runs on another process .. is there a chance to track/get that activity using robotium /by means of other codes to integrate with robotium


Unfortunately no. Robotium builds upon Android's instrumentation objects which are limited to work only within the process of the instrumentation for the given target Activity (as you define a target process in the test-manifest file).

I don't know how it behaves in cases where the target process has a defined shared user id, though...

0

精彩评论

暂无评论...
验证码 换一张
取 消