[wtr-general] Re: firewatir form submit working???

2009-06-17 Thread Angrez Singh
So jason you mean to say if you are submitting form which is inside a Frame/IFrame it doesn't work. But if that is directly on the page it works. Am I correct here? - Angrez On Wed, Jun 17, 2009 at 3:37 AM, orde ohil...@gmail.com wrote: Took a closer look. WORKS: http://www.jobware.de/

[wtr-general] Re: firewatir form submit working???

2009-06-17 Thread jason
Hi Angrez, No - what I am saying is that under some conditions form.submit does not work. I have found that it makes no difference if a form is within a frame or not. In general, it seems that some forms work with form.submit and some do not - I just cannot figure out why. On 17 Jun.,

[wtr-general] using Rails routes

2009-06-17 Thread Macsig
Hello guys, I'm new to watir: I have just discovered it through Cucumber and Watir 101 screencast ( http://vimeo.com/2871256 ). Right now I'm trying to use it with Cucumber and Rails (as Dave shows in the screencast). Here my question: is it possible to use Rails routes instead absolute URL?

[wtr-general] Re: Automating a File uploader popup

2009-06-17 Thread al3kc
Watir use AutoIt For file uploading. set method for file_field looks like def set(setPath) assert_exists require 'watir/windowhelper' WindowHelper.check_autoit_installed begin thrd = Thread.new do system(rubyw -e \require 'win32ole';

[wtr-general] Re: 30 Second Pauses When Scripting Hotmail

2009-06-17 Thread Željko Filipin
On Tue, Jun 16, 2009 at 10:42 PM, Bill Mosteller w...@greatdecals.com wrote: I suspect it's waiting for the animated ad on the right hand side of the window to finish, but I cannot prove it. To prove it, disable flash and displaying images (and stuff like that), run test and see if it still

[wtr-general] Re: firewatir form submit working???

2009-06-17 Thread jason
Orde, Thanks a million for spending so much time on this - totally appreciated. After consulting my javascript book - The satement forms that have onsubmit defined MAY not work when the function submit() is called. It seems that the function submit() does not trigger the onsubmit event

[wtr-general] Re: How to compare Text in Links

2009-06-17 Thread Vishal
Thanks, In my application link text is dynamically generated . These the two links whose text value I need to compare $ie.div(:id,center).link(:index,21) $ie2.link(:index,31) On Jun 15, 6:58 pm, Wesley Chen cjq@gmail.com wrote: Sorry, please try: assert $ie.link(:text,

[wtr-general] Re: How to compare Text in Links

2009-06-17 Thread Željko Filipin
Try this (not tested): puts uh oh if $ie.div(:id,center).link(:index,21).text != $ie2.link(:index,31).text Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To

[wtr-general] Re: 30 Second Pauses When Scripting Hotmail

2009-06-17 Thread Mark Anderson
not good practice/learning sites. If it is to automate an email task, I would think that there would be better solutions for scripting against hotmail than using watir to drive a browser. __ Information from ESET NOD32 Antivirus, version of virus signature database 4162 (20090617

[wtr-general] Re: firewatir form submit working???

2009-06-17 Thread jason
hmmm, ok - it seems from looking at the firewatir code that I have been misunderstanding what fire_event in the firewatir code does. I thought it did exactly that - fire an event to the browser through jssh - which is in hind sight VERY stupid of me. fire_event seems to literally call the

[wtr-general] Re: using Rails routes

2009-06-17 Thread jason
in principle - there is no reason that is should not work. except if depends on the mocks and stubs you are using for your testing. you need the full (ulr_for) resolution url name for the browser.goto as you need the mongral server running to generate the page in the browser, i am not so sure

[wtr-general] Re: 30 Second Pauses When Scripting Hotmail

2009-06-17 Thread wsm
On Jun 17, 8:58 am, Mark Anderson mander...@drillinginfo.com wrote: Why are you scripting against Hotmail?   If it is to automate an email task, I would think that there would be better solutions for scripting against hotmail than using watir to drive a browser. Excellent answers! How do

[wtr-general] Re: Automating a File uploader popup

2009-06-17 Thread Natasha Ranney
Thanks for the pointer. Unfortunately I tried to automate the click event for the span and it didn't popup the upload file window. I saw that watir identified the button and even clicked it, but nothing happened. But when I try to do the same manually it works fine. Source code for the page

[wtr-general] Re: How to fetch the Selected Item in a ListBox

2009-06-17 Thread wsm
Thanks everybody for this. Bill Mosteller Eloqua --~--~-~--~~~---~--~~ 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

[wtr-general] ICEfaces Support

2009-06-17 Thread WebTestGadfly
Anybody know anything about testing ICEfaces? The Autocompleter function in particular? -WTG --~--~-~--~~~---~--~~ 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] Watir like test tool for windows-applications

2009-06-17 Thread Richard Wijdenes
Hi there, does anybody use Open Source Test Tools for normal applications? With normal I mean non-web-applications. Main Platform: Windows. Cross-platform (Ubuntu-linux/windows) would be nice. I would like the ease of use and scripting functionality of Watir and RUBY. Grtz.R.

[wtr-general] Re: Automating a File uploader popup

2009-06-17 Thread orde
Hi Natasha (and all)-- This might be OT, but I'll throw it out there because you mentioned flash a couple of times in this thread. Is there an object tag associated with the page element that you're trying to access? If you right-click on the page element using Firefox, do you see an overlay