如何获得活动使用Robotium其他进程中运行 [英] How to get the activity running from other process using Robotium

查看:140
本文介绍了如何获得活动使用Robotium其他进程中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个主要活动,当水龙头上的主要活动的按钮,它移动到另一个活动不是运行在另一个进程..有机会跟踪/使用robotium获取活动/由其他$ C手段$ CS与robotium整合

i have a main activity and when tap on the button in the main activity it moves to the 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

推荐答案

不幸的是没有。 Robotium建立在这些限制Android的仪表对象仅在仪器给定目标的活动过程中的工作(如你定义的测试清单文件目标进程)。

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).

我不知道它是如何工作的情况下,目标进程有一个定义的共享用户ID,但...

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

这篇关于如何获得活动使用Robotium其他进程中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆