Comments (11)
From [email protected] on November 17, 2010 03:27:24
What errors is it failing with? Can you paste the test cases?
Owner: renasreda
from robotium.
From [email protected] on November 23, 2010 20:59:45
Hi,
Thanks for your response. Now I am able to run successfully.
from robotium.
From [email protected] on November 23, 2010 23:04:38
Status: Invalid
from robotium.
From [email protected] on January 24, 2011 18:21:58
- What steps will reproduce the problem?
When we run two test methods inside the class first one is working fine but second one is failing with some errors. If you run these two methods separately working fine without having any problems.
Hi:
i also have the same problem and i have try many methods to deal with ,but it finally all fail.could you help me and tell me how to solve this problem for you?thank you!
or email to me ,i will thank you so [email protected]
from robotium.
From [email protected] on January 24, 2011 18:22:01
- What steps will reproduce the problem?
When we run two test methods inside the class first one is working fine but second one is failing with some errors. If you run these two methods separately working fine without having any problems.
Hi:
i also have the same problem and i have try many methods to deal with ,but it finally all fail.could you help me and tell me how to solve this problem for you?thank you!
or email to me ,i will thank you so [email protected]
from robotium.
From [email protected] on June 22, 2011 12:41:25
Hi,
I'm new to android and robotium. I'm also getting the same below warning :
WARN/KeyCharacterMap(1526): No keyboard for id 0
WARN/KeyCharacterMap(1526): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
I have a set of some 5 test cases, where each runs fine individually.
When all the test cases are clubbed together, while giving keyevents, the warning is getting generated,
where I can see that I'm moving from my current activity to previous activity(BACK key event generated) and the test cases are getting failed.
I ve tried out the following options but in vain:
- Asserting the activity before sending keyevents
- run solo.enterText on UI thread
- Tried sending solo.sendkeys
- Providing enough sleep to avoid timing issue.
Can you please tell me the way to resolve the problem.
Thanks in advance !!
from robotium.
From [email protected] on June 23, 2011 00:53:13
Are you using a teardown in your test class where you call solo.finalize()?
from robotium.
From [email protected] on June 23, 2011 11:39:52
Yes I'm using the below teardown() method:
@OverRide
protected void tearDown() throws Exception{
try {
getActivity().finish();
this.soloExAcc.finalize();
} catch (Throwable e) {
e.printStackTrace();
}
super.tearDown();
}
In my test method, I can able to clearly see that while executing solo.enterText(0,"text") command in test2
(Note: test1 runs fine - also individual test runs fine), the below warning is getting generated:
WARN/KeyCharacterMap(1526): No keyboard for id 0
WARN/KeyCharacterMap(1526): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
and instead of a entering text, back key event is getting generated and my previous activity is brought to foreground and the test run fails.
Really appreciating your help in this..
Thanks in advance !!
from robotium.
From [email protected] on July 25, 2011 23:03:23
Hi all
I am a junior develpoer of Android.
I also have the same problem,but after I remove solo.finalize() from tearDown,
all cases of the test class passed.The question is should I call solo.finalize in tearDown or not?
from robotium.
From [email protected] on July 25, 2011 23:05:15
What happens when you call finalize is that all the opened activities are finished. If you do not need them to be finished then you do not need to call finalize.
from robotium.
From [email protected] on July 26, 2011 01:07:51
Thank you very much for your explaination !!
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.