Re: [wtr-general] Re: Watir debug logging

2010-02-02 Thread Frank Harper
Thanks Orde. Yes, I am using the Ruby Logger. So, to systematically log all clicks at debug level I have wrapped the link.click method, with something like this: class My_browser def self.click_link(link) Log.instance.debug 'Clicking on ' + link.href link.click end end From the

[wtr-general] Broken link in http://wtr.rubyforge.org/rdoc/classes/Watir/Container.html

2010-02-02 Thread Frank Harper
I just went to http://wtr.rubyforge.org/rdoc/classes/Watir/Container.html#M81 It says Valid values for ‘how’ are listed in the Watir Wiki - wiki.openqa.org/display/WTR/Methods+supported+by+Element But the page http://wiki.openqa.org/display/WTR/Methods+supported+by+Element; doesn't

Re: [wtr-general] Re: How to unsubscribe from wtr-general ?

2010-02-02 Thread KUMARAGURUPARAN T.S
I also want to unsubscribe from this mailing group. Please do the needful. Thanks, -Kumar On Tue, Feb 2, 2010 at 12:33 PM, Mary Subaidha marysubai...@gmail.comwrote: I would like to unsubscribe from this Watir General User List. Please do the needful. - Mary On Jan 14, 11:46 pm, Tiffany

Re: [wtr-general] Cannot install watir-webdriver on Mac(10.6 Snow Leopard).

2010-02-02 Thread Željko Filipin
On Mon, Feb 1, 2010 at 4:57 PM, Bill Agee billa...@gmail.com wrote: In the command you pasted, the gem name is missing the b in webdriver: And I saw rubygems or firewall problems. :) Željko -- You received this message because you are subscribed to the Google Groups Watir General group. To

Re: [wtr-general] Re: Watir debug logging

2010-02-02 Thread Željko Filipin
On Tue, Feb 2, 2010 at 9:54 AM, Frank Harper fhar...@greenliff.com wrote: From the lack of other replies, I'm guessing something like this isn't already built in to Watir. You are correct. As far as I know it is not build into Watir. It is easy enough to extend Watir methods to do that, and I

Re: [wtr-general] Re: How to unsubscribe from wtr-general ?

2010-02-02 Thread Željko Filipin
On Tue, Feb 2, 2010 at 8:03 AM, Mary Subaidha marysubai...@gmail.com wrote: I would like to unsubscribe Done. Željko -- watir.com - community manager watirpodcast.com - host -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this

[wtr-general] Do Send_Keys works in Mac???

2010-02-02 Thread Yuping Zhong
Dear, I try to use the Send_Keys in Mac,just as in windows,but looks like it doesn't work. Do Safariwatir or Firewatir support this function in Mac?If so,how to do that? Thanks in advance. -Zhong -- You received this message because you are subscribed to the Google Groups Watir General

Re: [wtr-general] Do Send_Keys works in Mac???

2010-02-02 Thread Angrez Singh
As of now, FireWatir doesn't support send_keys method. On Tue, Feb 2, 2010 at 4:18 PM, Yuping Zhong littlezhong...@gmail.comwrote: Dear, I try to use the Send_Keys in Mac,just as in windows,but looks like it doesn't work. Do Safariwatir or Firewatir support this function in Mac?If so,how

Re: [wtr-general] What has happened to http://wtr.rubyforge.org/rdoc/ ?

2010-02-02 Thread Željko Filipin
On Mon, Feb 1, 2010 at 6:30 PM, marekj marekj@gmail.com wrote: I can make a nice index.html to poin to both old and new rdoc files as well as to now yardoc depending on how others like to read their docs. I would prefer nice index.html. :) Željko -- You received this message because you

[wtr-general] Delete the bulk files with specific extension or specific format.

2010-02-02 Thread arihan sinha
Hi All, I am trying to delete few files with specific extension ( say x.ppt, y.ppt, z.ppt) or in the format of say J_x.ppt, J_y.ppt, J_z.ppt etc... for a single file deletion , I can use File.delete(C:\Documents and Settings\sinhaa\My Documents\x.ppt) which works fine but if i need to delete all

Re: [wtr-general] Delete the bulk files with specific extension or specific format.

2010-02-02 Thread Charley Baker
Check out the documentation for FileUtils#rm: http://ruby-doc.org/core/classes/FileUtils.html#M004332 You can glob files and pass them to rm. -c On Tue, Feb 2, 2010 at 8:32 AM, arihan sinha arihan.si...@googlemail.comwrote: Hi All, I am trying to delete few files with specific extension (

[wtr-general] Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
I am trying to enter data into a modal window from my site. Here is the site code: label class= text_field for=folder_nameOr, move to a new folder:/labelinput class=text_field id=folder_name name=folder [name] size=30 type=text To enter data into the text_field I do: browser.text_field(:id,

Re: [wtr-general] Firewatir cannot find an element on the page

2010-02-02 Thread Angrez Singh
What do you mean by site modal? Is the text_field inside frame? On Tue, Feb 2, 2010 at 9:59 PM, QAguy qablogm...@gmail.com wrote: I am trying to enter data into a modal window from my site. Here is the site code: label class= text_field for=folder_nameOr, move to a new folder:/labelinput

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
Its not a frame. Its a div which contains a table. On Feb 2, 11:42 am, Angrez Singh ang...@gmail.com wrote: What do you mean by site modal? Is the text_field inside frame? On Tue, Feb 2, 2010 at 9:59 PM, QAguy qablogm...@gmail.com wrote: I am trying to enter data into a modal window from my

Re: [wtr-general] Delete the bulk files with specific extension or specific format.

2010-02-02 Thread arihan sinha
Thanks. Though bit struggled initially but finally able to :) Arihan On Tue, Feb 2, 2010 at 3:47 PM, Charley Baker charley.ba...@gmail.comwrote: Check out the documentation for FileUtils#rm: http://ruby-doc.org/core/classes/FileUtils.html#M004332 You can glob files and pass them to rm.

[wtr-general] please unsubscribe me from watir group

2010-02-02 Thread Marina Tolkatcheva
-- 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@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from

[wtr-general] Re: please unsubscribe me from watir group

2010-02-02 Thread Tiffany Fodor
Done. -Tiffany On Feb 2, 11:04 am, Marina Tolkatcheva mtolkatch...@yahoo.com wrote: -- 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@googlegroups.com Before posting, please read the following

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
Tried that as and got the same error. On Feb 2, 2:01 pm, tester86 sagar.am...@gmail.com wrote: Try broswer.text_field(:name, folder[name]).set(text) -- 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: Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
Tried that *also* and got the same error On Feb 2, 2:14 pm, QAguy qablogm...@gmail.com wrote: Tried that as and got the same error. On Feb 2, 2:01 pm, tester86 sagar.am...@gmail.com wrote: Try broswer.text_field(:name, folder[name]).set(text) -- You received this message because you

[wtr-general] Re: Issue with clicking submit in a site modal window

2010-02-02 Thread QAguy
I didn't find a specific issue that seems to address this. Has anyone else seen this behavior? The element is highlighted in yellow but never actually followed. The weird thing is that other links in my script are highlighted in yellow but are followed that what makes it so confusing. Thanks On

[wtr-general] unable to install watir on JP XP

2010-02-02 Thread robert
I am unable to install watir on a XP Pro Japanese system. Any suggestions? Note, the rspec gem will install. cmd line data: C:\Documents and Settings\Administratorgem install watir Building native extensions. This could take a while... ERROR: Error installing watir: ERROR: Failed to

[wtr-general] CSS Selectors

2010-02-02 Thread tester86
Hi I want to use CSS selectors for scripting but when I input the following command in IRB: $b.document.getElementbyID(IDValue) I get the following error message stating undefined getElementbyID. I am running my scripts against FF 3.5.7. Dose anyone know how I can resolve this error message or

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread Super Kevy
try browser.text_field(:for, folder_name).set('Watir test folder') or you may need to set the div element in the object: browser.div(:id,whateveritis).text_field(:id,folder_name).set (Watir test folder) On Feb 2, 10:29 am, QAguy qablogm...@gmail.com wrote: I am trying to enter data into a

Re: [wtr-general] Re: Problem with .click method

2010-02-02 Thread Pallavi Sharma
Hi Tiffany and all The problem is which happens rarely is, the IE status comes as done but all the objects are not yet loaded in the page. And we see a white page. Is it something to do with the ie.ready_status coming to 4 ? So even if the page objects have not loaded completely the ie status

Re: [wtr-general] .text method in Watir and FireWatir

2010-02-02 Thread Pallavi Sharma
Dear Angrez Thanks, yes we would log it in the Jira Tiffany, sure we would mail the code and the sample page where we could reproduce this issue and check it. Thanks for answering. Regards Pallavi. On Tue, Feb 2, 2010 at 12:46 PM, Angrez Singh ang...@gmail.com wrote: Surely, will look