[wtr-general] Re: how to handle javascript popups problem with firewatir

2008-12-18 Thread Wilson Xu
You can use autoITx lib to handle Javascript pop-up window in the Firefox. On Nov 29, 8:10 am, Paul Rogers paul.rog...@shaw.ca wrote: ;-) we did talk about it a little bit. Heres some suggestions: overwrite the javascript alert method, so it displays a 'modal' div in a light box, like

[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-18 Thread Wilson Xu
The first step: Use Send({TAB}) event to focus on the radio what you want. The second step: Use Send({DOWN}) or Send({UP}) event to select radio, I think this way is not stable, but can resolve your issue. Wilson Xu On Dec 18, 2:09 am, Margam nk.mar...@gmail.com wrote: Hi al3kc, THANK YOU

[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-18 Thread al3kc
I cannot set radio button. It's an issue for me too. I just have selected Save file by default in FF. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

[wtr-general] Re: Does Watir recognize toolbars/toolbar objects in Firefox and IE browsers?

2008-12-18 Thread Wilson Xu
What's the kind of toolbar, can you give us a example? Wilson On Thu, Dec 18, 2008 at 6:35 AM, Sriniv srinivas.kotamre...@gmail.comwrote: All, I would like to automate my testing for a toolbar and am wondering if WATIR recognizes toolbar and its objects in IE and Firefox browsers. Looked

[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-18 Thread al3kc
on http://www.autoitscript.com/forum/index.php?showtopic=81915hl=firefox+download+window I have found next code: ControlClick(Opening, , MozillaWindowClass1, left, 1, 46, 158) sleep(1000) ControlClick(Opening, , MozillaWindowClass1, left, 1, 241, 237) sleep(1000) All elements in

[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-18 Thread Margam
Hey guys, Thanks for the input. I will certainly try, as soon as I finish with my current project. Thanks. Margam On Dec 18, 3:56 am, al3kc aleks.kiev...@gmail.com wrote: onhttp://www.autoitscript.com/forum/index.php?showtopic=81915hl=firefo... I have found next code: ControlClick(Opening,

[wtr-general] Re: How to click on a grid cell to sort?

2008-12-18 Thread maven999
Ok I had to go ahead and add support for th tag myself. I added the following code to my Watir script: module Watir class TH NonControlElement TAG = 'TH' end module Container def TH(how, what) return TH.new(self, how, what) end end end I can now select the element via

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-18 Thread HAHAHA
I have tried to set IE to default, but it not work. Now I am trying to reinstall ruby and watir. On Dec 18, 11:34 am, Michael Hwee michael_h...@yahoo.com wrote: First, go to your internet options and reset all your settings to default. On vista with IE7, check off the Protected Mode.

[wtr-general] Re: Is the FireWatir-Watir integration working for you?

2008-12-18 Thread Lisa Crispin
I just haven't had time to get it working. Actually I haven't even had time to get my whole suite of tests working again. They run individually, but fail in a suite - windows are not getting closed and the next test fails. The suite ran before fine although we had been having random failures we

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-18 Thread Michael Hwee
Ok, please let us know the outcome. - Original Message From: HAHAHA windchillfigh...@gmail.com To: Watir General watir-general@googlegroups.com Sent: Thursday, December 18, 2008 12:50:34 PM Subject: [wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

[wtr-general] Re: Is the FireWatir-Watir integration working for you?

2008-12-18 Thread Wilson Xu
I have tested my existed suite on Firefox, found the returned content of firewatir method is difference from between firewatir and watir, please refer to the http://code.google.com/p/firewatir/issues/detail?id=80. This is the biggest issues. Wilson Xu On Dec 19, 6:17 am, Lisa Crispin

[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-18 Thread Wilson Xu
Another way, I think you can use MouseClick() API in AutoITx to select the radio box. Wilson Xu On Dec 19, 1:35 am, Margam nk.mar...@gmail.com wrote: Hey guys, Thanks for the input. I will certainly try, as soon as I finish with my current project. Thanks. Margam On Dec 18, 3:56 am,

[wtr-general] Re: Extension for testing flash applications with Watir

2008-12-18 Thread Wilson Xu
Is there any validation methods that verify actual and expect result? For example, there is a flash calculator in the webpage, I want to verify one add one is equal two, can flash-watir can support these operations? Wilson On Dec 17, 7:10 pm, sai saidesertrose2...@gmail.com wrote: Hi Guys, I