Re: [wtr-general] Re: Is there a version of jssh.xpi for FF3.6 for snow leopard

2010-02-01 Thread Željko Filipin
On Fri, Jan 29, 2010 at 5:47 PM, QAguy wrote: > def start_browser > if WHICH_BROWSER == 'safari' then >require 'safariwatir' >requite 'watir' >@browser = Watir::Safari.new > else >require 'web-webdriver' >require 'firewatir' >require 'watir' >@browser = Watir::Browser

[wtr-general] Watir debug logging

2010-02-01 Thread fharper1961
Hi everyone, I've started using Watir, and it would seem really useful if Watir could generate a DEBUG level log. What I mean, is that by setting a Watir option, a log would be generated that contains all the "user" input. The result would be something along the lines of D, [10:05:15#2372] DEBUG

[wtr-general] Can Watir verify the color?

2010-02-01 Thread Yuping Zhong
Hi, I want to use the watir to verify the color for some cells that are in the table. Do watir have this function.If so,how to do that? Many thanks! -Zhong -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to

Re: [wtr-general] Can Watir verify the color?

2010-02-01 Thread de Villamil Frédéric
Le 1 févr. 2010 à 12:06, Yuping Zhong a écrit : > Hi, > > I want to use the watir to verify the color for some cells that are in the > table. > > Do watir have this function.If so,how to do that? > > Many thanks! > > -Zhong > > Hello, It depends on how the color is applied to the cell. B

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

2010-02-01 Thread Yuping Zhong
Dear, I try to install the watir-webdriver on Mac 10.6 Snow Leopard and get the following: --- $ sudo gem install selenium-wedriver ERROR: could not find gem selenium-wedriver locally or in a repository Any idea of this? or should I do any other things before installing the watir

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

2010-02-01 Thread Prajakta Jadhav
This page is showing some index instead of the Watir's RDoc with 3 lists. Did I miss something? When did this page change? -- 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 Befor

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

2010-02-01 Thread Željko Filipin
On Mon, Feb 1, 2010 at 12:33 PM, Prajakta Jadhav wrote: > This page is showing some index instead of the Watir's RDoc with 3 lists. Marek created rdoc for Watir 1.6.5, and left the rdoc for 1.6.2. Click the one you want. > Did I miss something? Apparently. :) Maybe it was discussed on wtr-devel

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

2010-02-01 Thread Željko Filipin
On Mon, Feb 1, 2010 at 12:23 PM, Yuping Zhong wrote: > $ sudo gem install selenium-wedriver > ERROR: could not find gem selenium-wedriver locally or in a repository This looks to me like a firewall problem, or a problem with rubygems sources. I have installed it on Snow Leopard with no problems.

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

2010-02-01 Thread Bill Agee
Hi, In the command you pasted, the gem name is missing the "b" in webdriver: "$ sudo gem install selenium-wedriver" So maybe the error was due to the typo... Thanks Bill On Mon, Feb 1, 2010 at 3:23 AM, Yuping Zhong wrote: > Dear, > > I try to install the watir-webdriver on Mac 10.6 Snow Leop

[wtr-general] Re: Watir debug logging

2010-02-01 Thread orde
Ruby has a Logger class: http://www.ruby-doc.org/core/classes/Logger.html It should deliver exactly what you're looking for. Hope it helps. orde On Feb 1, 2:02 am, fharper1961 wrote: > Hi everyone, > > I've started using Watir, and it would seem really useful if Watir > could generate a DEBUG

[wtr-general] Re: Firewatir & rpxnow

2010-02-01 Thread orde
Take a look at http://wiki.openqa.org/display/WTR/Frames To click a link in a frame, the syntax is the following: browser.frame(:id, "id").link(:id, "id").click Hope that helps. orde On Jan 31, 11:28 pm, Gimle wrote: > To answer both of your questions, I'm posting some related html > here.. >

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

2010-02-01 Thread marekj
Hi, I move the current rdoc for watir 1.6.2 to its current location http://wtr.rubyforge.org/rdoc/1.6.2 and made a new rdoc based on hanna template for release 1.6.5 http://wtr.rubyforge.org/rdoc/1.6.5 I also have generated yardoc files and I plan to put them somewhere. I can either leave the rdoc

[wtr-general] How Ruby Interacts with Powerpoint

2010-02-01 Thread arihan sinha
Hi All, I was trying to do the ruby script for validation of a powerpoint. I've done upto some extent ppt = WIN32OLE.new('PowerPoint.Application') ppt.Visible = true ## open the ppt doc = ppt.Presentations.Open('c:\sample.ppt') ## count the no of slides slidecount = doc.Slides.Count ## retriev

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

2010-02-01 Thread Michael Hwee
Good catch, Bill From: Bill Agee To: watir-general@googlegroups.com Sent: Mon, February 1, 2010 7:57:57 AM Subject: Re: [wtr-general] Cannot install watir-webdriver on Mac(10.6 Snow Leopard). Hi, In the command you pasted, the gem name is missing the "b" in

[wtr-general] Re: How Ruby Interacts with Powerpoint

2010-02-01 Thread Tiffany Fodor
Hi Arihan! This is not really a question for this group - you would probably have more luck with a Ruby group. I haven't checked in detail, but you might have some luck with the Ruby on Windows blog: http://rubyonwindows.blogspot.com/search/label/powerpoint Hope this helps! -Tiffany On Feb 1,

Re: [wtr-general] Can Watir verify the color?

2010-02-01 Thread Wesley Chen
Try these below, I don't know whether they are you want or not: ie.#{element}(:id, "foo").document.currentstyle.attributeAsCamelCase so ie.#{element}(:id, "foo").document.currentstyle.fontFamily ie.#{element}(:id, "foo").document.currentstyle.fontSize ie.#{element}(:id, "foo").document.current

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

2010-02-01 Thread Yuping Zhong
Thanks for Bill's great catch! It is fine now! On Tue, Feb 2, 2010 at 3:25 AM, Michael Hwee wrote: > Good catch, Bill > > -- > *From:* Bill Agee > *To:* watir-general@googlegroups.com > *Sent:* Mon, February 1, 2010 7:57:57 AM > *Subject:* Re: [wtr-general] Cannot i

[wtr-general] Problem with ".click" method

2010-02-01 Thread Betsy
Hi all, We seem to be facing some issue with the ".click" method. At times it seems to release control of the page before it could load completely. Ideally the ".click" method waits for the page to load completely before releasing control and so we do not use waits for page load explicitly. Can s

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

2010-02-01 Thread Betsy
The ".text" method returns the complete text of an object including the text of the child objects if any in watir but in FireWatir, the same method behaves differently by returning only the text of the object itself without the text of the Child Objects. Please let us know how to handle this diffe

[wtr-general] How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Yuping Zhong
Dear All, I want to use the Watir to click a link that looks like a button. Give the following detail: Demand Curves I use the following methods,but doesn't works: @browser.link(:text,"Demand Curves").click @browser.link(:text,"Demand Curves").click - By the way, @browser.link(:text

Re: [wtr-general] How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Prajakta Jadhav
try @browser.link(:class,"userMenuLink").click Actually if :text works in IE, it should work in FF. Yet you could give the above a try. -Prajakta On Tue, Feb 2, 2010 at 11:49 AM, Yuping Zhong wrote: > Dear All, > > I want to use the Watir to click a link that looks like a button. Give the > fo

Re: [wtr-general] How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Ethan
Firefox returns a non-breaking space as its unicode representation, which is "\302\240" in ruby. You can do @browser.link(:text, "Demand\302\240Curves") (which won't work in IE) you can do @browser.link(:text, /Demand.Curves/) which should work in both browsers. I think. On Tue, Feb 2, 2010 at 01:

Re: [wtr-general] How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Yuping Zhong
Thanks Ethan. Works now. On Tue, Feb 2, 2010 at 2:34 PM, Ethan wrote: > Firefox returns a non-breaking space as its unicode representation, which > is "\302\240" in ruby. > You can do > @browser.link(:text, "Demand\302\240Curves") > (which won't work in IE) > you can do > @browser.link(:text, /

[wtr-general] Re: How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Tiffany Fodor
Hi Zhong! I think that different browsers handle non breaking space ( ) differently, so you might want to use a regex to specify the text: @browser.link(:text, /Demand.*Curves/).click If this doesn't work, can you please give us the error message you get to help with troubleshooting? Hope this

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

2010-02-01 Thread Tiffany Fodor
Hi Betsy! I haven't seen this behavior. Can you please provide us with some code examples and the results that you're getting to help us troubleshoot? Thanks! -Tiffany On Feb 1, 10:56 pm, Betsy wrote: > The ".text" method returns the complete text of an object including > the text of the chil

Re: [wtr-general] Re: How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Yuping Zhong
Hi Guys, @browser.link(:text, "Demand\302\240Curves") @browser.link(:text, /Demand.Curves/) @browser.link(:text, /Demand.*Curves/) All work fine. Many thanks! -Zhong On Tue, Feb 2, 2010 at 2:47 PM, Tiffany Fodor wrote: > Hi Zhong! > > I think that different browsers handle non breaking space

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

2010-02-01 Thread Tiffany Fodor
I just had another couple of thoughts If you're looking at a select_list, you can get an array of the selected options like this: my_selected = browser.select_list(:id, 'my list').selected_options If there's only one item selected then it will be object at index 0 in the array: my_selected[

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

2010-02-01 Thread Tiffany Fodor
Hi Betsy! Could you please provide more detail on your problem? Your code, the html you're testing and any error messages you're getting would help us troubleshoot. Thanks! -Tiffany On Feb 1, 10:53 pm, Betsy wrote: > Hi all, > > We seem to be facing some issue with the ".click" method. At tim

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

2010-02-01 Thread Mary Subaidha
I would like to unsubscribe from this Watir General User List. Please do the needful. - Mary On Jan 14, 11:46 pm, Tiffany Fodor wrote: > Hi Sushmitha! > > I'm not sure about the unsubscribe email address problem, but I've > manually turned off your email notifications for Watir General.  I've >

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

2010-02-01 Thread Angrez Singh
Surely, will look into this. Can you open a JIRA ticket for the same? On Tue, Feb 2, 2010 at 11:26 AM, Betsy wrote: > The ".text" method returns the complete text of an object including > the text of the child objects if any in watir but in FireWatir, the > same method behaves differently by ret