Comments (7)
From [email protected] on December 17, 2010 10:35:28
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.
Status: WontFix
from robotium.
From [email protected] on December 19, 2010 01:36:30
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.
from robotium.
From [email protected] on January 03, 2011 01:18:20
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.
from robotium.
From [email protected] on February 12, 2011 09:08:51
FYI: I came across this problem independently and fixed it a few weeks ago, so it should be in the next release. cc8bb82
from robotium.
From [email protected] on March 27, 2011 07:46:54
has this been fixed? I'd like to remove the callout to not use custom Activity Monitors with Robotium from my book :-)
from robotium.
From [email protected] on March 28, 2011 00:58:08
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 :)
from robotium.
From [email protected] on March 28, 2011 01:00:53
awesome, thanks!
(@renas: can you resolve this as fixed?)
from robotium.
Related Issues (20)
- update repository description URL
- Build error with JavaCompile.setDependencyCacheDir() HOT 4
- Recording failed; Build failed with an exception HOT 3
- Links to PDF tutorials are broken
- Application not launch on test started HOT 4
- ClickOnScreen Not working
- ClickOnwebElement not working
- Build failed: Could not find :ExecutorLibrary: HOT 3
- Is Robotium dead? HOT 4
- CLick on TwoWayView, Viewpager
- robotium typetext wrong order HOT 2
- Cannot find Activity class on Android7.0 HOT 1
- Can't open Javadoc HOT 1
- assertFalse does not work on Android Oreo 8.1 HOT 1
- [QUESTION] Where I can find the CI service?
- Robotium Recorder : Please install a compatible Android API level (15 or higher) HOT 2
- Image validation in mobile native app HOT 2
- Robotium to work with targetSdkVersion 30
- Could not find manifest file within jar
- Could find http://recorder.robotium.com/updates
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.