Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to get all the TextViews contained in a ListView object without using ClickOnList?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Shivang Seth  
View profile  
 More options Aug 11 2011, 1:03 pm
From: Shivang Seth <shiv...@rideinsync.com>
Date: Thu, 11 Aug 2011 10:03:14 -0700 (PDT)
Local: Thurs, Aug 11 2011 1:03 pm
Subject: How to get all the TextViews contained in a ListView object without using ClickOnList?
Hi I have a ListView object used to display the name of employees in
my application. On clicking on an employee name app launches another
activity. The ListView  contains TextView objects corresponding to
each employee. I want to click on each employee's name in the
ListView . How could I do it? I don't want such a case to happen that
I have to necessarily click on the name of first employee shown.  Or
if I am sounding vague could anyone tell me how to click on the Name
of employees displayed in my application at any random index. Ex for
10 employees I want to start by clicking on 4th employee(4th is not
fixed...it can well be 6) then the one at 8th position  then 2nd and
so on.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
garry  
View profile  
 More options Aug 11 2011, 1:34 pm
From: garry <grv...@gmail.com>
Date: Thu, 11 Aug 2011 10:34:19 -0700 (PDT)
Local: Thurs, Aug 11 2011 1:34 pm
Subject: Re: How to get all the TextViews contained in a ListView object without using ClickOnList?
Use solo.clickOnText("employee_name")

On Aug 11, 10:03 am, Shivang Seth <shiv...@rideinsync.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yahor Paulavets  
View profile   Translate to Translated (View Original)
 More options Aug 11 2011, 5:05 pm
From: Yahor Paulavets <ypaulav...@agilefusion.com>
Date: Fri, 12 Aug 2011 00:05:56 +0300
Local: Thurs, Aug 11 2011 5:05 pm
Subject: Re: [robotium-developers] Re: How to get all the TextViews contained in a ListView object without using ClickOnList?

Hi,

Tell to devs to add some tag fore every employee's name TextView,
use solo.getCurrentTextViews(), iterate through them, and if some of
them has tv.getTag().toString().equals("name") -> solo.clickOnView(tv);
sleep;

Best regards,
Yahor


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shivang Seth  
View profile  
 More options Aug 12 2011, 1:56 am
From: Shivang Seth <shiv...@rideinsync.com>
Date: Thu, 11 Aug 2011 22:56:19 -0700 (PDT)
Local: Fri, Aug 12 2011 1:56 am
Subject: Re: How to get all the TextViews contained in a ListView object without using ClickOnList?
Thanks Garry. Thanks Yahor :)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yahor Paulavets  
View profile  
 More options Aug 12 2011, 3:06 am
From: Yahor Paulavets <ypaulav...@agilefusion.com>
Date: Fri, 12 Aug 2011 10:06:09 +0300
Local: Fri, Aug 12 2011 3:06 am
Subject: Re: [robotium-developers] Re: How to get all the TextViews contained in a ListView object without using ClickOnList?

You are always very welcome! :)

Best regards,
Yahor

On Fri, Aug 12, 2011 at 8:56 AM, Shivang Seth <shiv...@rideinsync.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »