Comments (5)
Im not sure I understand your issue. Are you using clickOnScreen() or
clickOnText()?
Original comment by [email protected]
on 26 Nov 2010 at 5:49
- Added labels: ****
- Removed labels: ****
from robotium.
I am using clickonscreen method
Original comment by [email protected]
on 26 Nov 2010 at 8:08
- Added labels: ****
- Removed labels: ****
from robotium.
If it is already selected then probably that is why you do not see that it is
being clicked. There is not much logic in clickOnScreen(). I can not see that
it would fail to click if you give it the right coordinates.
Original comment by [email protected]
on 29 Nov 2010 at 4:27
- Changed state: Invalid
- Added labels: ****
- Removed labels: ****
from robotium.
12-01 20:37:50.106: INFO/TestRunner(467): ----- begin exception -----
12-01 20:37:50.177: INFO/TestRunner(467): junit.framework.AssertionFailedError:
View is not visible and can therefore not be clicked!
12-01 20:37:50.177: INFO/TestRunner(467): at
junit.framework.Assert.fail(Assert.java:47)
12-01 20:37:50.177: INFO/TestRunner(467): at
junit.framework.Assert.assertTrue(Assert.java:20)
12-01 20:37:50.177: INFO/TestRunner(467): at
com.jayway.android.robotium.solo.Clicker.clickOnScreen(Clicker.java:151)
12-01 20:37:50.177: INFO/TestRunner(467): at
com.jayway.android.robotium.solo.Clicker.clickOnText(Clicker.java:283)
12-01 20:37:50.177: INFO/TestRunner(467): at
com.jayway.android.robotium.solo.Solo.clickOnText(Solo.java:744)
12-01 20:37:50.177: INFO/TestRunner(467): at
com.android.sanity.Utils.Contactslist_functions.CreateNewContact_menu(Contactsli
st_functions.java:26)
12-01 20:37:50.177: INFO/TestRunner(467): at
com.android.sanity.Contacts.TC_C_Copy_SIM_02_001.testTC_C_Copy_SIM_02_001(TC_C_C
opy_SIM_02_001.java:45)
12-01 20:37:50.177: INFO/TestRunner(467): at
java.lang.reflect.Method.invokeNative(Native Method)
12-01 20:37:50.177: INFO/TestRunner(467): at
java.lang.reflect.Method.invoke(Method.java:521)
12-01 20:37:50.177: INFO/TestRunner(467): at
android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:204)
12-01 20:37:50.177: INFO/TestRunner(467): at
android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:194)
12-01 20:37:50.177: INFO/TestRunner(467): at
android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTes
tCase2.java:186)
12-01 20:37:50.177: INFO/TestRunner(467): at
junit.framework.TestCase.runBare(TestCase.java:127)
12-01 20:37:50.177: INFO/TestRunner(467): at
junit.framework.TestResult$1.protect(TestResult.java:106)
12-01 20:37:50.177: INFO/TestRunner(467): at
junit.framework.TestResult.runProtected(TestResult.java:124)
12-01 20:37:50.177: INFO/TestRunner(467): at
junit.framework.TestResult.run(TestResult.java:109)
12-01 20:37:50.177: INFO/TestRunner(467): at
junit.framework.TestCase.run(TestCase.java:118)
12-01 20:37:50.177: INFO/TestRunner(467): at
android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
12-01 20:37:50.177: INFO/TestRunner(467): at
android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
12-01 20:37:50.177: INFO/TestRunner(467): at
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:52
0)
12-01 20:37:50.177: INFO/TestRunner(467): at
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)
12-01 20:37:50.177: INFO/TestRunner(467): ----- end exception -----
Original comment by [email protected]
on 1 Dec 2010 at 3:12
- Added labels: ****
- Removed labels: ****
from robotium.
Plz check the log
Original comment by [email protected]
on 1 Dec 2010 at 3:12
- Added labels: ****
- Removed labels: ****
from robotium.
Related Issues (20)
- hope to get a string array in the string.xml HOT 1
- PackageInstallerActivity can't be recognized HOT 1
- Code coverage for Robotium tests with Emma HOT 1
- problem with TabHost HOT 1
- getText() no longer finding View.GONE TextViews HOT 4
- How to verify the text, buttons displayed in Dialogs or alerts HOT 1
- Dialog cannot be scrolled. HOT 7
- NullPointerException when invoke solo.setActivityOrientation(Solo.LANDSCAPE) as soon as application is launched. HOT 4
- Click a listview member which cannot display in first screen,nothing is done. HOT 3
- Solo.searchFor finds items which do not exist in current activity HOT 3
- Apis "isCheckBoxChecked" and "isTextChecked" not working in the multi select screen of contacts. HOT 3
- Andriod emulator loses network connection during automation run HOT 2
- solo.searchButton(String text, boolean onlyVisible) is not working properly. HOT 11
- searchButton(Any instance) is not working properly HOT 3
- Not able to search/click on any item after moving to other tab. HOT 8
- SearchText() could not work if the list was already reached its bottom HOT 6
- Add option to disable catch-all ActivityMonitor HOT 6
- I am getting one crash after calling any robotium api after launching my activity HOT 4
- I am getting one crash after calling any robotium api after launching my activity HOT 1
- solo.isCheckBoxChecked(String) always returns false HOT 4
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.