-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello.

I'm trying to write some functional tests for my application that
include interactions with the UI. As part of the test I'm trying to
press a button programmatically. I've both tried
TouchUtils.clickView() and Robotium (third party's utility for this
task). But buttons don't get pressed.
With Robotium, whose sources are simpler to understand, I can track my
code until it properly generates ACTION_DOWN and ACTION_UP events. At
the same time, I've tried a Robotium sample together with a small
sample application, and it works perfectly. So, Robotium works and my
Android SDK is ok - it must be something specific of my application.
What should I check? Is it possible to track with the system logger
events sent by mean of Instrumentation.sendPointerSync()?

For the record, I've tried the sample application with Eclipse, while
I'm developing mine with NetBeans + Maven. But I don't think this
makes a difference. Also, of course my application perfectly works if
I manually test it.

Thanks.

- -- 
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxayRsACgkQeDweFqgUGxe+nACeL66XyDdH18ozPM5+eRxBbLxS
ARcAniMNuBE/XdjltsGwir1UPKsABZic
=tfuS
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to