[wtr-general] Handling Java Script button

2009-09-15 Thread dk
Hi all, I am trying to click a button which makes an ajax call. However, i am not able to find the right identifier for the button. in the "ie.button" method, I tried id, name, value, caption etc mentioned in the rdoc - but i think i am missing something. Any help is appreciated. Here is the html

[wtr-general] Re: Selecting a url from an array

2009-09-15 Thread orde
Ash - glad you got it working. Regarding the regular expression, SciTE recognizes this as valid: $links.detect { |$links| /^http:\/\/word/=~ $links } How is the format incorrect? orde On Sep 14, 2:13 am, ash wrote: > OK, so I am a plonker. > Just needed to store the result of my .detect as

[wtr-general] Re: Handling Java Script button

2009-09-15 Thread Željko Filipin
On Tue, Sep 15, 2009 at 8:27 PM, dk wrote: > Find It may look like a button, but it is a link. This might work: browser.link(:text, "Find").click or browser.link(:text, /Find/).click http://wiki.openqa.org/display/WTR/Links Željko -- http://watirpodcast.com/ --~--~-~--~~--

[wtr-general] Re: Firewatir updated to support Firefox 3.5?

2009-09-15 Thread Željko Filipin
On Tue, Sep 15, 2009 at 1:02 PM, Julian Harris wrote: > thanks! "I come to serve." :) http://www.wowwiki.com/Quotes_of_Warcraft_II Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To p

[wtr-general] Re: Firewatir updated to support Firefox 3.5?

2009-09-15 Thread Julian Harris
thanks! On Tue, Sep 15, 2009 at 9:32 AM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Tue, Sep 15, 2009 at 9:12 AM, Julian Harris > wrote: > > FF3.5-compatible XPI > > Links for popular platforms are here: > > > http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn

[wtr-general] how to verify whether image is loaded or not?

2009-09-15 Thread Maumita
Hi, using Watir,I want to check whether image on a page is loaded or not? But my image is basically point to a URL.('showSmallProductImage.htm? productId='+prodID) How I will use this to check whether image is loaded or not? Below is the html code:- prodID = '4028480d2332b52801233b8e9

[wtr-general] Re: Slider Problem

2009-09-15 Thread karim rayani
well, some javascript script even has not been triggered, you can ask the developer for the javascript event that is being invoked and invoke the same, as we know that in watir we can execute javascript statements as well. Regards, Karim Rayani On Tue, Sep 15, 2009 at 3:18 PM, Rajat Singhal wr

[wtr-general] Re: Slider Problem

2009-09-15 Thread Rajat Singhal
Hi AJ Can you please provide a solution for this ASAP Thanks Can y On Fri, Sep 11, 2009 at 10:45 AM, Rajat Singhal wrote: > Hi AJ > > It moves the slider but does not change the time\price value accordingly > displayed above the slider . > and results are not filtered on changing style value of

[wtr-general] Re: Firewatir updated to support Firefox 3.5?

2009-09-15 Thread Željko Filipin
On Tue, Sep 15, 2009 at 9:12 AM, Julian Harris wrote: > FF3.5-compatible XPI Links for popular platforms are here: http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-ProductionFireWatir Željko -- http://watirpodcast.com/ --~--~-~--~~~---

[wtr-general] Re: How to read data from XML file

2009-09-15 Thread Željko Filipin
On Tue, Sep 15, 2009 at 9:01 AM, Ramesh wrote: > Can you pls help on this, how to read data from XML in Watir. http://groups.google.com/group/watir-general/browse_thread/thread/e661b63a0ec40d33/ Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You receive

[wtr-general] Firewatir updated to support Firefox 3.5?

2009-09-15 Thread Julian Harris
Hi all -- can't seem to reply in threads so had to create a new post. It looks like lots of people have managed to muddle their way through to get a FF3.5-compatible XPI -- anyone ok to share this with the world? That'd be super helpful! thanks! --~--~-~--~~~---~--~-

[wtr-general] How to read data from XML file

2009-09-15 Thread Ramesh
Hi Friends, I am working on developing scripts in watir, now i want to read data from XML file and update some data from XML file, and verify the updated changes in Frontend. Can you pls help on this, how to read data from XML in Watir. Best regards, Ramesh S --~--~-~--~~---