Comments (22)
From [email protected] on November 25, 2010 08:45:57
What version of Robotium are you using?
from robotium.
From [email protected] on November 25, 2010 11:41:17
robotium 1.9.0
from robotium.
From [email protected] on November 25, 2010 11:46:46
Thanks for this issue. Can you please give some more details on the problem. When it is scrolling, does it scroll to much and therefore misses some items? Or is the scrolling accurate but it still misses some items even though you can see them when it is scrolling?
Owner: renasreda
from robotium.
From [email protected] on November 25, 2010 11:55:39
It is scrolling to much hence tool is not able to find the missed items.
This problem is occuring for both the methods seacrhText, ClickOnText and whereever scrolling will be enabled.
from robotium.
From [email protected] on November 25, 2010 12:05:18
Is the last visible item in the list only partly visible and not clickable? Does it seem like it scrolls one item to much or is it more then that? Also what version of Android are you using Robotium on?
from robotium.
From [email protected] on November 25, 2010 12:09:48
one time scroll effect is missing nearly 4 list items.
Using Android2.2
from robotium.
From [email protected] on November 25, 2010 12:16:08
Is it possible for you to send me this application?
Status: Accepted
from robotium.
From [email protected] on November 26, 2010 05:01:42
I am using the google base contacts application.
from robotium.
From [email protected] on December 05, 2010 00:50:58
Are you using Contacts.apk?
from robotium.
From [email protected] on December 05, 2010 07:13:03
yes i am using contacts.apk
from robotium.
From [email protected] on December 05, 2010 07:35:43
I tried to resign it and push it back to the device but I could not start it. Others have reported the same problem with contacts.apk. Any special trick to get it working?
from robotium.
From [email protected] on December 06, 2010 13:50:15
Hi I reproduced the issue.
I am attaching a testcase against api demos List1 activity.
I was using master branch,
android 1.6 emulator HVGA.
For some reason it skips the "Blue Vein (Australian)" .
Attachment: List1Test.java
from robotium.
From [email protected] on December 06, 2010 19:20:14
Use the following instead and it will not skip it:
public void testSearch(){
assertTrue(this.solo.searchText("Blue Vein (Australian)"));
}
What is giving you problems is that the parentes is recognized as a regular expression.
from robotium.
From [email protected] on December 07, 2010 11:35:30
The solution to this problem is to ask the list it self how many items that it is showing and then using that information to scroll. Sometimes the list can give the wrong number back and there is nothing that can be done about that.
Status: Verified
from robotium.
From [email protected] on January 09, 2012 00:45:21
Hi,
I am facing a similar problem, I have total 13 items in my listview, and only 5 are visible. I am trying to take text from text view in the list.
Code:
ListView currentListViews = solo.getCurrentListViews().get(0);
for(int i=1; i < currentListViews.getCount() ; i++)
{
ServiceView service = (ServiceView)currentListViews.getChildAt(i);
LinearLayout serviceLayout =(LinearLayout)service.getChildAt(1);
TextView serviceNameView = (TextView)serviceLayout.getChildAt(0);
System.out.println("Service Name :"+serviceNameView.getText().toString());
if ((i%5)==0)
{
solo.scrollDown();
solo.sleep(2000);
}
}
But it is giving null pointer exception after taking 5 items. Scrolling is not happening properly.
I tried solo.scrollDownList(0); also.
Please help me.
from robotium.
From [email protected] on January 09, 2012 00:53:16
What if you only do a scrollDown()? Does it scroll then?
from robotium.
From [email protected] on January 09, 2012 01:25:29
Yes, Its scrolling. But its reaching the end of the list. So it couldnt find the 6th item in the list.
from robotium.
From [email protected] on January 09, 2012 01:28:34
The 6th item is the first item in the list after the scroll right?
from robotium.
From [email protected] on January 09, 2012 01:41:18
Yes it should be. But solo.scrollDown() is scrolling till last, last item of the screen as 13. So after scrolling the first item of the screen becomes 9. But i need it should be 6.
from robotium.
From [email protected] on January 09, 2012 01:43:31
Would it be possible for you to send me your application?
from robotium.
From [email protected] on January 09, 2012 01:45:18
Please remove the for loop and only once call solo.scrollDown().
from robotium.
From [email protected] on January 09, 2012 01:55:03
Thanks for your such quick responses. I got the problem. My application takes the index again from 0, after scrolling.
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.