[wtr-general] Re: Script to click the dynamically generated link.

2009-07-29 Thread Chuck van der Linden
On Jul 28, 10:06 pm, Swapnal swapnal.sa...@gmail.com wrote: Hi, In this application when we add user every user will have the 'Edit' and 'Delete' link. span class=savedentityanbsp;-nbsp;associate/span/td                                                 tr bgcolor=#f6f2f6                

[wtr-general] Re: Does watir support i18n testing?

2009-07-29 Thread sHiVa
Hi Zhimin I had a try to automate Chinese Google website using watir. All the Chinese characters are displayed as square boxes when i use IE developer tool bar and when I try to copy Chinese characters in to Scite, those are displayed as ?. Please tell me the approach for testing Chinese (any of

[wtr-general] Getting text between two br / tags

2009-07-29 Thread Aaron MacDonald
There is a line of text that I want to extract. It is found in some HTML that follows this pattern: a href=...img src=...//abr/ !-- An image link -- Some text br/ a href=...Another link (variable text)/a br/ Text I want to extract. br/ Updated by a href=...name (variable)/a X hours ago

[wtr-general] Watir fire_event that opens a modal dialog no wait needed

2009-07-29 Thread ghidu
Hello, I cannot open a modal dialog and return from it. This is waht I do: Thread.abort_on_exception = true t = Thread.new { t[6].fire_event(onmousedown) puts after event sleep(1) # raise Exception from thread } puts after thread for i in (1..100) puts i end t1.kill

[wtr-general] Watir fire_event that opens a modal dialog no wait needed

2009-07-29 Thread ghidu
Hello, Sorry for the previous message, the finger slipped onver SPACE :) I cannot open a modal dialog and return from it. This is waht I do: Thread.abort_on_exception = true t = Thread.new { button.fire_event(onmousedown) } t.kill It never reaches t. Firing the event onmouse down on

[wtr-general] Re: Getting text between two br / tags

2009-07-29 Thread Dylan
Well, if the only text that is variable is the text within the a/a tags, are there any identifying marks for that link? an id? Otherwise, I suppose you could just get the text for the whole page and subtract the text you already know (i.e. the non-variable text). Not pretty or elegant, but it

[wtr-general] Re: Watir fire_event that opens a modal dialog no wait needed

2009-07-29 Thread Charley Baker
There are so many definitions around modal dialogs, did you call click_no_wait before your method. There are a variety of ways to deal with dialog boxes, all have been posted, so search for it if that doesn't work. Post your solution if it does work. Charley Baker blog:

[wtr-general] Re: Watir fire_event that opens a modal dialog no wait needed

2009-07-29 Thread Adrian Ghidu
click_no_wait doesn't work, only onmousedown opens the modal dialog. Is there a no_wait for fire_event? Thanks On Wed, Jul 29, 2009 at 11:32 PM, Charley Baker charley.ba...@gmail.comwrote: There are so many definitions around modal dialogs, did you call click_no_wait before your method. There

[wtr-general] Re: Getting text between two br / tags

2009-07-29 Thread Mark Anderson
. /\/\ark __ Information from ESET NOD32 Antivirus, version of virus signature database 4289 (20090729) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com --~--~-~--~~~---~--~~ You received this message

[wtr-general] Re: Does watir support i18n testing?

2009-07-29 Thread Zhimin
Here are some screencasts of running rWebUnit (an extension of Watir) tests against chinese web sites. http://www.itest2.com/cn/screencasts My Env and Tools: iTest2 IDE, iTest2/Watir Recorder on Windows XP (Simplified Chinese) Zhimin On Jul 30, 4:25 am, sHiVa krapa.ph...@gmail.com wrote: