Re: [wtr-general] Can Watir copy the info in Div?

2009-12-16 Thread Wesley Chen
No different between text and innerText, they are the same, as if just alias. Thanks. Wesley Chen. For life, the easier, the better. On Wed, Dec 16, 2009 at 5:31 PM, Yuping Zhong wrote: > How to print it out?I want to print it in the Terminal. > > For* Wesley Chen:* > > Is it different to deal

Re: [wtr-general] Can Watir copy the info in Div?

2009-12-16 Thread Željko Filipin
On Wed, Dec 16, 2009 at 7:48 AM, LiShu wrote: > $ie.div(:id,"AA").Text I am not sure if the above code works, but this should (not tested): browser.div(:id,"AA").text Željko -- watir.com - community manager watirpodcast.com - host -- You received this message because you are subscribed to the

Re: [wtr-general] How to wait following an external frame link click.

2009-12-16 Thread Željko Filipin
On Wed, Dec 16, 2009 at 6:00 AM, bender25 wrote: > I am having trouble getting my watir test case to wait until the > processing comes to an end. Have you read this? http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir Željko -- watir.com - community manager watirpodcast.com - host -- Yo

RE: [wtr-general] Can Watir copy the info in Div?

2009-12-16 Thread Kiran Darekar
Puts $ie.div(:id,"AA").Text Regards, KiranD From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Yuping Zhong Sent: Wednesday, December 16, 2009 3:02 PM To: watir-general@googlegroups.com Subject: Re: [wtr-general] Can Watir copy the info in Div?

Re: [wtr-general] Can Watir copy the info in Div?

2009-12-16 Thread Yuping Zhong
How to print it out?I want to print it in the Terminal. For* Wesley Chen:* Is it different to deal with *text and **innerTex?* * * *If true,how?* * * On Wed, Dec 16, 2009 at 5:06 PM, Wesley Chen wrote: > :), I think it is *text *or *innerText*, is *Text *OK? > > Thanks. > Wesley Chen. > For l

Re: [wtr-general] Can Watir copy the info in Div?

2009-12-16 Thread Wesley Chen
:), I think it is *text *or *innerText*, is *Text *OK? Thanks. Wesley Chen. For life, the easier, the better. On Wed, Dec 16, 2009 at 2:48 PM, LiShu wrote: > > $ie.div(:id,"AA").Text > > On Wed, Dec 16, 2009 at 2:17 PM, Yuping Zhong wrote: > >> Hi, >> >> I want to fetch the info in the Div and

Re: [wtr-general] Re: How to wait following an external frame link click.

2009-12-16 Thread Wesley Chen
If you use IE, please try: Watir::Waiter.wait_until{$ie.link(:text, "Test copy listing #{$listing.listing_id}").exists?} This wait will at most last for 60 seconds. If you want to wait for more time, please turn to* watir.rb* to change the *@@default_timeout = 60.0* to more; If you use firefox, pl

Re: [wtr-general] Re: How to wait following an external frame link click.

2009-12-16 Thread Angrez Singh
Do you show some status like 'Saved' or 'Done' after the processing is done? I mean to say is do you give any clue to user that the processing is done and changes are saved? - Angrez On Wed, Dec 16, 2009 at 11:43 AM, bender25 wrote: > Hmmm, > > I may have spoken too soon about seeing the page's

Re: [wtr-general] Can Watir copy the info in Div?

2009-12-16 Thread LiShu
$ie.div(:id,"AA").Text On Wed, Dec 16, 2009 at 2:17 PM, Yuping Zhong wrote: > Hi, > > I want to fetch the info in the Div and then print it out,is possible to to > do that? > > If so,can someone tell me how to do? > > Such as, > > Watir is a good tool. > > How to copy "Watir is a good tool" and

[wtr-general] Watir Podcast #30: Jim Knowlton on Using Watir for Exploratory Testing

2009-12-16 Thread Željko Filipin
Gregg Yows and Željko Filipin talk with Jim Knowlton: http://watirpodcast.com/30-jim-knowlton-on-using-watir-for-exploratory-testing/ Feel free to comment here, on watirpodcast.com or at twitter.com (please use #WatirPodcast hash tag at twitter.com). Željko -- You received this message because