[wtr-general] Re: Need to find text of an element using watir

2009-03-27 Thread Vikas Tulashyam

Hi,
Yes you are right. Before sometimes, I came through a function which
return the text for almost all objects. So I just want to knw the name
of that function if any one know.

Thanks


On Mar 27, 2:52 am, "Mark Anderson" 
wrote:
> Something like browser.text ?
>
> Can you give us an understanding of the larger problem you are trying to
> solve?  
>
> Can you show us the code that you've tried, the results they have given, and
> the reason why the results are not what you are looking for?
>
>                                         /\/\ark
>
>
>
> > -Original Message-
> > From: watir-general@googlegroups.com [mailto:watir-
> > gene...@googlegroups.com] On Behalf Of Vikas Tulashyam
> > Sent: Thursday, March 26, 2009 7:09 AM
> > To: Watir General
> > Subject: [wtr-general] Re: Need to find text of an element using watir
>
> > Hi Thanks for the reply but we want to get the text of all the element
> > by using a single method and not the object itself.
> > So is it possible in Watir? Do we have any method like getText() which
> > returns the text for all the elements.
>
> > Thanks
>
> > On Mar 26, 3:11 pm, Željko Filipin 
> > wrote:
> > > On Thu, Mar 26, 2009 at 11:05, aditi  wrote:
> > > > Is there any common method?
>
> > > browser.show_all_objects
>
> > > Željko
>
> > __ Information from ESET NOD32 Antivirus, version of virus
> > signature database 3965 (20090326) __
>
> > The message was checked by ESET NOD32 Antivirus.
>
> >http://www.eset.com
>
> > __ Information from ESET NOD32 Antivirus, version of virus
> > signature database 3966 (20090326) __
>
> > The message was checked by ESET NOD32 Antivirus.
>
> >http://www.eset.com
>
> __ Information from ESET NOD32 Antivirus, version of virus signature
> database 3966 (20090326) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Need to find text of an element using watir

2009-03-26 Thread Mark Anderson

Something like browser.text ?

Can you give us an understanding of the larger problem you are trying to
solve?  

Can you show us the code that you've tried, the results they have given, and
the reason why the results are not what you are looking for?

/\/\ark

> -Original Message-
> From: watir-general@googlegroups.com [mailto:watir-
> gene...@googlegroups.com] On Behalf Of Vikas Tulashyam
> Sent: Thursday, March 26, 2009 7:09 AM
> To: Watir General
> Subject: [wtr-general] Re: Need to find text of an element using watir
> 
> 
> Hi Thanks for the reply but we want to get the text of all the element
> by using a single method and not the object itself.
> So is it possible in Watir? Do we have any method like getText() which
> returns the text for all the elements.
> 
> Thanks
> 
> 
> On Mar 26, 3:11 pm, Željko Filipin 
> wrote:
> > On Thu, Mar 26, 2009 at 11:05, aditi  wrote:
> > > Is there any common method?
> >
> > browser.show_all_objects
> >
> > Željko
> > 
> 
> 
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 3965 (20090326) __
> 
> The message was checked by ESET NOD32 Antivirus.
> 
> http://www.eset.com
> 
> 
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 3966 (20090326) __
> 
> The message was checked by ESET NOD32 Antivirus.
> 
> http://www.eset.com
> 
 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3966 (20090326) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Need to find text of an element using watir

2009-03-26 Thread Vikas Tulashyam

Hi Thanks for the reply but we want to get the text of all the element
by using a single method and not the object itself.
So is it possible in Watir? Do we have any method like getText() which
returns the text for all the elements.

Thanks


On Mar 26, 3:11 pm, Željko Filipin 
wrote:
> On Thu, Mar 26, 2009 at 11:05, aditi  wrote:
> > Is there any common method?
>
> browser.show_all_objects
>
> Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Need to find text of an element using watir

2009-03-26 Thread Željko Filipin
On Thu, Mar 26, 2009 at 11:05, aditi  wrote:
> Is there any common method?

browser.show_all_objects

Željko

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Need to find text of an element using watir

2009-03-26 Thread aditi

I want to find text of all the elements on the page.
(button,checkbox,selectionbox,textfield,labels,titles etc)
Is there any common method?



On Mar 26, 2:53 pm, Željko Filipin 
wrote:
> On Thu, Mar 26, 2009 at 05:32, aditi  wrote:
> > I want to find text of an element on the page using watir.
>
> Could you tell us the name of the element? And some html would be great too.
>
> Also, take a look at this:
>
> http://wiki.openqa.org/display/WTR/Tutorial
>
> Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Need to find text of an element using watir

2009-03-26 Thread Željko Filipin
On Thu, Mar 26, 2009 at 05:32, aditi  wrote:
> I want to find text of an element on the page using watir.

Could you tell us the name of the element? And some html would be great too.

Also, take a look at this:

http://wiki.openqa.org/display/WTR/Tutorial

Željko

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---