Re: [robotium-developers] Accessing solo functions using different approach?

290 views
Skip to first unread message

Yahor Paulavets

unread,
Nov 5, 2012, 8:27:26 AM11/5/12
to robotium-...@googlegroups.com
Hello,

So what problems do you have on your way?

Happy Robotium sorce code downloading & modifying (:

Best regards,
Yahor

On Sun, Nov 4, 2012 at 10:04 PM, Mohit <m14...@gmail.com> wrote:
Hello All

I was thinking of doing something different today, I do not know if this is known already, but since I am not aware of this fact, I would like to know what could be possible solutions for this:
Here goes the problem:

If suppose I want to access solo.sleep(2000) function, here we all know sleep is a function that we use.

Now, if I declare a
String solo_function = "sleep";

and now I want to use sleep function using solo_function instead of Solo's predefined function, something in this manner
solo.solo_function(2000);

then is there a way to do it?

Any help in this regard would be greatly appreciated.

Thanks
Mohit

--
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/robotium-developers/-/c1wXsTJbaTcJ.
To post to this group, send email to robotium-...@googlegroups.com.
To unsubscribe from this group, send email to robotium-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotium-developers?hl=en.

Sergey Tolkachov

unread,
Nov 6, 2012, 2:35:32 AM11/6/12
to robotium-...@googlegroups.com
Give me one good reason why do you want this?

Mark

unread,
Nov 7, 2012, 3:27:44 AM11/7/12
to robotium-...@googlegroups.com
hello all:
I had encounter such a issue, when I execute about 150 cases,it always
failed on some case,for example the 119th case.
failed information:"Test failed to run to completion. Reason:
'Instrumentation run failed due to 'keyDispatchingTimedOut''. Check
device logcat for details&#13;"

But when i execute it individually or 116-120(119 included) cases,it
works well.

and I also try to add some sleep() func between some steps,it does not work.

So who can tell me what cause this issue? and how to avoid it?

Any reply will be appreciated.

Best regards,

/Mark Ma.
Reply all
Reply to author
Forward
0 new messages