Re: [robotium-developers] Test switching to another app and return back with Robotium

136 views
Skip to first unread message

Dacong Yan

unread,
Feb 12, 2013, 10:21:57 AM2/12/13
to robotium-...@googlegroups.com, ebele...@gmail.com
Hi Eugene,

It doesn't seem to be doable purely using robotium.

I've used record-replay to achieve that flow in my project. To support
record-replay, I use a modified version of this
<https://github.com/xaaronc/injectevents>. Specifically, I manually
trigger the flow and record it somewhere. Then, in the robotium test
case, I make calls to replay the recorded events.

I'm developing an automatic testing strategy to detect bugs. So if you
don't mind, (1) do you find this particular flow important; and (2)
have you uncovered bugs by exercising this flow manually?

Thanks,
Tony

On Tue, Feb 12, 2013 at 6:01 AM, Eugene Beletskiy <ebele...@gmail.com> wrote:
> I need to test the flow onPause() -> onStop() -> onRestart() -> onStart() ->
> onResume() with Robotium. What's the best way to do that? Shall I use
> Instrumentation and call for its methods as I listed one by one or there are
> some capabilities the Robotium library provides? Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Robotium Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to robotium-develo...@googlegroups.com.
> To post to this group, send email to robotium-...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/robotium-developers?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Reply all
Reply to author
Forward
0 new messages