Comments (7)
This is the only way for Robotium to catch all new activities. Otherwise the
user has to define which activity they want to catch and then it would loose
its function. It is unfortunate that it is not working for you but this is
according to design. It has to catch all new activities.
Original comment by [email protected]
on 17 Dec 2010 at 6:35
- Changed state: WontFix
from robotium.
I think the problem may not be the fact that an ActivityMonitor with a
null-handler is added, but that it's never removed again! You should always
pair calls to addMonitor/removeMonitor. Robotium should register the monitor in
setUp, and remove it in tearDown.
I still think this is an issue that should be fixed (and from what I can tell,
*can* be fixed), since it would greatly help making Robotium less intrusive
into the standard testing environment.
Original comment by [email protected]
on 19 Dec 2010 at 9:36
from robotium.
Can somebody suggest any workarounds? This kind of makes it impossible to use
robotium in majority of my tests. For example, my activity opens a file with
PDF viewer and I really do not want to deal with PDF app in my tests.
Original comment by [email protected]
on 3 Jan 2011 at 9:18
from robotium.
FYI: I came across this problem independently and fixed it a few weeks ago, so
it should be in the next release.
https://github.com/jayway/robotium/commit/cc8bb8243c933eb1497e0570e35d5773d44ad7
01
Original comment by [email protected]
on 12 Feb 2011 at 5:08
from robotium.
has this been fixed? I'd like to remove the callout to not use custom Activity
Monitors with Robotium from my book :-)
Original comment by [email protected]
on 27 Mar 2011 at 2:46
from robotium.
Hey Matthias,
The catch-all ActivityMonitor is now removed during finalize(), as my commit in
comment 4 shows. This was included in release 2.2 :)
Original comment by [email protected]
on 28 Mar 2011 at 7:58
from robotium.
awesome, thanks!
(@Renas: can you resolve this as fixed?)
Original comment by [email protected]
on 28 Mar 2011 at 8:00
from robotium.
Related Issues (20)
- can robotium test the project whose target is google apis???? HOT 7
- Fragment in viewpager- button click issue HOT 4
- getCurrentActivity() returning previous activity instead of current after goBack() HOT 4
- clickOnText() and clickLongOnText() should have an onlyVisible argument HOT 6
- Please provide jar with source HOT 4
- logcat show Could not find class 'com.jayway.android.robotium.solo.Solo HOT 3
- clickOnText can't scroll down ListView in a Fragment in a ViewPager HOT 2
- Suggestion: Make some private Solo members protected HOT 3
- Strange behaviours on big projects HOT 47
- Preference objects not supported by Solo (e.g. ListPreference, CheckBoxPreference) HOT 5
- ClickOnButton Not working HOT 1
- junit.framework.AssertionFailedError: Button with index 2131230847 is not available! HOT 3
- Emai can't add a attachement(a picture or a file ) via application of Gallery or File Manager or other app HOT 2
- waitforactivity() returns HOT 1
- waitforactivity() returns 'false' even when we have actvity on screen HOT 13
- Extended Edittext issue HOT 27
- How to make the robotium source file into jar? HOT 1
- clickInList should work for GridView HOT 3
- Problems with clicking on element in GridView HOT 4
- Injecting to another application requires INJECT_EVENT permission
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotium.