[wtr-general] How do I click the dynanic link from web page..

2009-05-27 Thread Swap
I am in learning stage of Watir. I want to write the code in watir to click the particula 'Edit user' link. Please reply me.   Fi

[wtr-general] Setting Internet Explorer Options

2009-05-27 Thread dt_nz
Hi, My settings for IE sometimes get reset by my IT department and causes my tests to fail. Can anyone point me in the direction of some info on how to set internet options in IE so that I can incorporate this into my test framework. Thanks --~--~-~--~~~---~--~~

[wtr-general] Noob problem

2009-05-27 Thread James
I finally got watir and ruby installed I believe. I am now trying to do the google seach example, but when I run the .rb file I get: google_search.rb:14: in `require' : no such file to load -- watir (LoadError) Do I need to do anything special to load watir before I run the file? I thought the f

[wtr-general] select_list does not seem to fire event in Oracle ADF

2009-05-27 Thread coste...@gmail.com
I have cases where selecting a value from a select_list should cause the page to refresh based on the value selected. When I select a value with a watir, does not seem to cause this page refresh. I am testing with Oracle ADF pages, so I put up a little demo using the Oracle ADF demo. I have the sl

[wtr-general] Re: Unable to click on Tabs

2009-05-27 Thread Vishal
I am getting the following message when I try to click on the tabs. this is the code $ie.span(:text ,"Documents").span(:index,1).fire_event ('onclick') $ie.div(:id,"tabContent5").file_field(:name, "theFile").set("d: \testcase.txt") Exception which i am getting is d:/ruby/lib/ruby/gems/1.

[wtr-general] Re: Watir - some VERY slow functions

2009-05-27 Thread Paul Denize
mine was just a test page static.html served up by apache with 200 lines of and it took many mins I will admit I was asking for name and type attributes for every radio. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[wtr-general] Re: running watir scripts in batch mode

2009-05-27 Thread Paul Denize
To avoid ruby's library issues I use the following system("ruby \""+rubyfiletorun+"\"") Then you dont have to worry about state (just a wee bit of memory) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir G

[wtr-general] Re: gmail tutorial example doesn't work

2009-05-27 Thread MatchBook
Did it fail on the same line as for me? On May 26, 7:26 pm, Wesley Chen wrote: > I tried, but failed. I don't know why. > > Thanks. > Wesley Chen. > > > > On Wed, May 27, 2009 at 10:12 AM, MatchBook wrote: > > > Zeljko, > > > I'm a pretty quick study.  Would you mind taking a quick look and > >

[wtr-general] Re: forms in subframes - elements not found

2009-05-27 Thread Alan Ark
Try ff.frame(:index, 1).form(:name, "lay0803234_src350a").select_list(:id, "LOV6") :index rather than index -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of jason Sent: Wednesday, May 27, 2009 6:02 AM To: Watir General Subje

[wtr-general] Re: getting the css href links

2009-05-27 Thread orde
Something like this should work: browser = Watir::IE.start('http://www.elmundo.es/') page_source = browser.html.to_a page_source.collect! {|x| x if x=~/css/ && x=~/elmundo/} page_source.compact! puts page_source Then, you'd probably have to tidy up page_source to get the exact links. Hope that

[wtr-general] Re: Install/Uninstall

2009-05-27 Thread Alex Collins
Hudson is also worth a look - very easy to set up and use. Alex Collins On 27 May 2009, at 18:43, orde wrote: > > Sounds like you are describing a continuous integration testing > model. I believe that some contributors to this group have endorsed > cruisecontrolrb previously. > > Try searchin

[wtr-general] Re: Install/Uninstall

2009-05-27 Thread orde
Sounds like you are describing a continuous integration testing model. I believe that some contributors to this group have endorsed cruisecontrolrb previously. Try searching watir general for "cruise control" or google "cruise control ruby" to see if that's the right direction for you. Hope tha

[wtr-general] Re: Watir Podcast #24 MarekJ and Charley Baker

2009-05-27 Thread Charley Baker
It was a lot of fun to do. There's was a lot of before and after "off mike" chatter which was hilarious. :) Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Wed, May 27, 2009 at 11:40 AM, Tiffany Fodor wrote: > >

[wtr-general] Re: Watir Podcast #24 MarekJ and Charley Baker

2009-05-27 Thread Tiffany Fodor
Great podcast guys! It was fun to listen to. Nice that Baby Z* made his podcast debut - maybe he'll grow up to be a media mogul too! -Tiffany On May 27, 4:45 am, Željko Filipin wrote: > Happy birthday Watir Podcast. > > http://watirpodcast.com/24-marekj-and-charley-baker/ > > I talk with Mare

[wtr-general] Re: forms in subframes - elements not found

2009-05-27 Thread Michael Hwee
Have you tried omitting form()? For example, ff.frame(index, 1).select_list(:id,"LOV6") - Original Message From: jason To: Watir General Sent: Wednesday, May 27, 2009 6:02:01 AM Subject: [wtr-general] forms in subframes - elements not found Hi - here is the issue, to get some el

[wtr-general] Install/Uninstall

2009-05-27 Thread Jason Shelton
All, I am building an automated acceptance test for our nightly builds. I need to write a script that will constantly check the install directory for the new build, uninstall the previous build, and install the new build. Does anyone have an algorithm for this process? Is there a way to

[wtr-general] forms in subframes - elements not found

2009-05-27 Thread jason
Hi - here is the issue, to get some element of a form - you can do this... url = "http://www.siemens.de/jobs/jobs_bewerbung/jobboerse/Seiten/ jobboerse.aspx" ff = FireWatir::Firefox.new ff.goto(url) ff.form(:name, "lay0803234_src350a").select_list(:id, "LOV6") however, if the form happens to b

[wtr-general] Watir Podcast #24 MarekJ and Charley Baker

2009-05-27 Thread Željko Filipin
Happy birthday Watir Podcast. http://watirpodcast.com/24-marekj-and-charley-baker/ I talk with MarekJ and Charley Baker about the first year of Watir Podcast, Watirloo and Taza. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[wtr-general] Re: how simulate click the calendar day?

2009-05-27 Thread Željko Filipin
I do not see the select list that has option 12 in the image you have sent. Ž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@googlegroup

[wtr-general] Re: POP up handle without thread

2009-05-27 Thread Željko Filipin
On Tue, May 26, 2009 at 8:14 PM, kiran wrote: > We cannot attach popup window by using attach method. Saw this? http://wiki.openqa.org/display/WTR/Pop+Ups Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Wa

[wtr-general] Re: POP up handle without thread

2009-05-27 Thread Željko Filipin
On Sat, May 23, 2009 at 7:40 PM, Vicky Goyal wrote: > i dont want to use threads Why? Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group,

[wtr-general] Re: How to simulate right mouse action

2009-05-27 Thread Jungle_hunter
On 5月26日, 上午10时50分, sHiVa wrote: > Hi Hunter, > > On which type of object ypu would like to move your mouse? > What ever the web object it is, use the following method: > > ie.objectType(:how,/what/).fire_event("onmouseover") > Hope this will helpful. If you are unable to come up with a soluti

[wtr-general] Re: How can I compare the captured web pages

2009-05-27 Thread Durgesh Nadkarni
Hi Michel, It works perfectly.. Thanks for the reply... Regards Durgesh. --- On Tue, 26/5/09, Michael Hwee wrote: From: Michael Hwee Subject: [wtr-general] Re: How can I compare the captured web pages To: watir-general@googlegroups.com Date: Tuesday, 26 May, 2009, 10:59 PM if first == second

[wtr-general] Re: How click an image?

2009-05-27 Thread Durgesh Nadkarni
Hi Zeliko, Thank U very much... It works... Regards Durgesh --- On Tue, 26/5/09, Željko Filipin wrote: From: Željko Filipin Subject: [wtr-general] Re: How click an image? To: watir-general@googlegroups.com Date: Tuesday, 26 May, 2009, 6:54 PM Example: browser.button(:src, /doit/).click Mor