[wtr-general] Re: Not able to use text from the web pages

2008-12-03 Thread Jaggi
Thanks Baker, What I am doing is putting .to_s while using the variable. I have done what you said and it works for me. Jaggi On Dec 2, 9:18 pm, Charley Baker [EMAIL PROTECTED] wrote: This was just answered in another thread, puts implicitly calls to_s on the table cell that's returned. So

[wtr-general] watir with cucumber in CruiseControl.rb?

2008-12-03 Thread clemens
We are successfully running a cc.rb server to continuously test our rails app. Unit tests and cucumber tests run smoothly. Up till now we (only) make use of webrat, hence no need to have mongrel or webrick running the rails app. Now if we wanted to introduce watir we would need some way to

[wtr-general] Re: firefox on mac not quitting

2008-12-03 Thread Matthias Marschall
Thanks, Richard, for your solution. I came up with a similar workaround: system(echo 'tell application \Firefox\ to quit' | osascript -) But I would need a little more code around it to make sure it only runs when the tests are executed on a mac. Matthias On 2 Dez., 20:36, Richard Lawrence

[wtr-general] Re: firefox on mac not quitting

2008-12-03 Thread Matthias Marschall
Hi Bret, thanks for investigating. Here are some scenarios on my box using irb: A) firefox already running irb(main):001:0 require 'rubygems' = true irb(main):002:0 require 'firewatir' = true irb(main):003:0 b = Watir::Browser.new TypeError: exception class/object expected from

[wtr-general] Dealing with pop ups from a link on the web page.

2008-12-03 Thread Jaggi
Hi, While searching for the popup handling options in Watir I found out the below script and tried using the same on the below HTML code: Thanks to Jarod Zhu for the script lines. html head script type=text/javascript function disp_alert() { alert(I am an alert box!!); } /script /head body a

[wtr-general] Suddenly errors in previously working tests

2008-12-03 Thread JArkelen
Hi, I have some weird behaviour on tests which executed without problems before. First issue is when I enter text in a textarea. I do it like this: browser.text_field(:name, /ECDFormHandler/).set(xmlHeader) This worked fine, now I get this error: unknown property or method `value' HRESULT

[wtr-general] Re: .text for firewatir is very slow

2008-12-03 Thread JArkelen
Is it slow or does it hang? You can speed it up using browser.speed = :zippy Cheers, John On Dec 3, 3:02 pm, pelvin [EMAIL PROTECTED] wrote: The method text for elements in firewatir hangs if the element is too big, why could this be?? or i am the only one whit this problem..

[wtr-general] Re: firefox on mac not quitting

2008-12-03 Thread Bret Pettichord
Matthias, Thanks for the details. Would you mind logging this -- and Richard's workaround -- in Jira so that we can be sure to get it fixed? Bret Matthias Marschall wrote: Hi Bret, thanks for investigating. Here are some scenarios on my box using irb: A) firefox already running

[wtr-general] Re: Getting error at installing 1.6.1

2008-12-03 Thread Bret Pettichord
Yes, please go ahead and update the install instructions. Bret Chuck vdL wrote: FYI: got this same builder doc error when I tried to install just now.. Do we need to update the install instructions in the tutorial and such to reflect that users might expect to see this error, and what

[wtr-general] Re: firefox on mac not quitting

2008-12-03 Thread Matthias Marschall
Filed under http://jira.seleniumhq.org/browse/WTR-272 Matthias On 3 Dez., 16:33, Bret Pettichord [EMAIL PROTECTED] wrote: Matthias, Thanks for the details. Would you mind logging this -- and Richard's workaround -- in Jira so that we can be sure to get it fixed? Bret Matthias Marschall

[wtr-general] how to test for disabling the back button in IE

2008-12-03 Thread Ruth
Hi, I'm pretty new to Watir. I'm currently revising (aka redo from start!) tests for an application. Basically the way it was originally was that there were two forms, once you got to form #2 the browser back button was disabled via JavaScript. If you hit back you stayed at form #2 rather than

[wtr-general] Clicking tabs has no effect

2008-12-03 Thread [EMAIL PROTECTED]
Hi all, I'm having trouble on getting a tab click to actually have an effect in the browser. I have a table with a tab that I can click in the following ways: ie.table(:index, 17)[1][2].click ie.button(:id, tab2).click ie.cell(:id, tab2).click The tab flashes yellow and no errors are generated

[wtr-general] Re: 1.6.2: Issue with enabled_popup.rb

2008-12-03 Thread Lisa Crispin
As someone whose programming skills are limited, and who primarily works as a tester, it's hard for me to understand what you're saying. We've been running a big Watir suite for a few years now and it has handled our modal dialogs fairly well up to now. That took a bit of doing but we got it

[wtr-general] Re: how to test for disabling the back button in IE

2008-12-03 Thread Ruth
Sorry, the code: require 'watir' require 'watir/contrib/enabled_popup' @ie = Watir::IE.new @ie.goto(http://localhost:8080/FOO/;) @ie.frame(main) #stuff here to fill in Form #1 @ie.frame(main).button(:value, Submit).click @ie.back() def startClicker( button , waitTime= 9, user_input=nil )

[wtr-general] Re: Clicking tabs has no effect

2008-12-03 Thread al3kc
Try ie.cell(:id, tab2).fireEvent(onmousedown) --~--~-~--~~~---~--~~ 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

[wtr-general] Re: 1.6.2: Issue with enabled_popup.rb

2008-12-03 Thread Bret Pettichord
I'm saying that I do not have a plan on how to support modal dialog testing that will work with both IE and Firefox, and as far as I know, no one else is working on this. Bret Lisa Crispin wrote: As someone whose programming skills are limited, and who primarily works as a tester, it's

[wtr-general] Re: 1.6.2: Issue with enabled_popup.rb

2008-12-03 Thread Lisa Crispin
Oh, ok. That kinda sucks, but we were already used to not being able to run the suites w/ firefox. But just to make sure - should it work with IE in the latest version? thanks, Lisa On Wed, Dec 3, 2008 at 2:47 PM, Bret Pettichord [EMAIL PROTECTED] wrote: I'm saying that I do not have a plan on

[wtr-general] Re: 1.6.2: Issue with enabled_popup.rb

2008-12-03 Thread Charley Baker
I'm not sure if we're sidetracked or not. The modal dialog support is included in Watir 1.6.2. Modal dialogs in the sense I'm talking about are specific to IE, not Firefox - this is IE specific, with calls to showmodal. I'll reiterate, this is IE only and a piece of something to deal with. The

[wtr-general] Security Alert frustration

2008-12-03 Thread winstan
Hey Guys, Second post here, and unfortunately, is related to a topic that has been discussed to no end. The security alert pop-up associated with IE6 and certificated URL's. I have searched high and low and have tried every possible solution I have come by but still to no prevail, I still can’t

[wtr-general] Re: Security Alert frustration

2008-12-03 Thread winstan
Hi Bill, You're correct, as soon as the browser tries to navigate to that URL it just hangs as it cannot control the Security Alert pop up dialog and accept yes. Out of all the examples that i have attempted in my script, which one would you suggest i use and attempt to get working. I just

[wtr-general] Capturing data within an xml

2008-12-03 Thread winstan
Hi all, I’m trying to capture a variety of data in an xml response from a web service, that is served up via IE and the GUI, however when I interrogate the data using the IE dev toolbar I notice that all the element properties render useless as they are all of the same nature and properties.

[wtr-general] Re: Capturing data within an xml

2008-12-03 Thread Richard Lawrence
Why are you accessing the web service using Watir and IE? Will end users of the web service access it with a browser? If not, and if you're just using the web service to get data to use in other GUI tests, you might find something like Net::Http and REXML to be more appropriate for this part of