[wtr-general] Re: no method "getAttributeNode" when accessing element

2008-10-06 Thread juuser
As I already pointed out, I can't enable verbose stack trace in RSpec because then test reports would be too noisy for some people. Since this problem occurs very rarely, then I guess this just has to be there. If I get any more information or find out how to reproduce it, I will let you definitel

[wtr-general] Re: Bug Fix For Watir 1.5.6

2008-10-10 Thread juuser
I've made similar thread some time ago - http://groups.google.com/group/watir-general/browse_thread/thread/3257b6811721a249/413eb03becb54c5a --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To po

[wtr-general] Re: mmaction on a DIV link

2008-10-10 Thread juuser
for example, execute it in some separate thread then like this: Thread.start {browser.goto("javascript:openWin(i)") } and have some wait_until after that line to check if you can do anything yet... --~--~-~--~~~---~--~~ You received this message because you are su

[wtr-general] Re: How do make the element_by_xpath work?

2008-10-10 Thread juuser
why not use ie.text_field(:id, "id1").value = "hello" ? --~--~-~--~~~---~--~~ 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

[wtr-general] Re: is table cell clickable?

2008-10-14 Thread juuser
I figured it out myself. Just had to call cell.fire_event("onmousedown") and cell.fire_event("onmouseup") consecutively to trigger some hidden events :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General"

[wtr-general] is table cell clickable?

2008-10-14 Thread juuser
Hi. I have to test one fancy calendar solution. I want to click on that calendar by selecting some specific day. Here is one table row example from that calendar: 13 14 15 16 17 18 19 now, let's say that I want to click 18 I can get the cell like this: div("calendar").table(:index, 1).cells.

[wtr-general] Re: check the pagetext

2008-10-14 Thread juuser
you could also try browser.html and then parse the text out and find out by html itself if the text is visible or not... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, se

[wtr-general] Re: Double Click and Clicking on a row. Highlights in yellow but nothing else happens

2008-10-14 Thread juuser
try: el = browser.div(:class, "DataList_entry DataList_entry_stripe_1_email_new_msg") el.fire_event("onmousedown") el.fire_event("onmouseup") I just solved today one of the similar problems like that after trying "onclick" and some other events too. Those javascript events are pesky if not writ

[wtr-general] Any good conferences this year about watir/ruby/rspec?

2008-10-16 Thread juuser
Hello. Sorry for this little offtopic question, but I was wondering if anyone happens to know if there's any good conferences coming up about watir or ruby or rspec in this year where I could attend to? Or any good website where such things are listed or something similar. All suggested confere

[wtr-general] Re: Clearing Security Information message box

2008-10-19 Thread juuser
Or you could disable showing this alert - dig into IE settings, there was something that disabled that warning. On Oct 17, 12:57 pm, Tony <[EMAIL PROTECTED]> wrote: > Hi, > > If you want to always click on the yes button when you encounter a > security alert, why dont you use an autoit script ..

[wtr-general] Re: Date Add or Subtract

2008-10-21 Thread juuser
It should be pointed out that these lines work only when you have required 'active_support' or something, which requires it :) On Oct 20, 11:55 pm, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Here is some more cool stuff with dates. > > C:\>watir-console > >> 10.days.ago > => Fri Oct 10 21:50:4

[wtr-general] Re: Date Add or Subtract

2008-10-21 Thread juuser
...like watir, hehe (just found out) :P --~--~-~--~~~---~--~~ 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 follow

[wtr-general] getting rid of IE6 certificate popup

2008-11-07 Thread juuser
Hello. I can't find the example, which gets rid of the IE6 certificate warning window (e.g. closes that window by answering yes). Can someone please point me to the right direction? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscri

[wtr-general] Re: Visible method not present for Watir 1.6.2, present in firewatir

2008-11-18 Thread juuser
What about having one additional if in that code? I've had it for some time now on my personal patch, but was wondering if it shouldn't be in the watir's code itself: if object.invoke('type') =~ /^hidden$/i return false end --~--~-~--~~~---~--~

[wtr-general] there's something strange going on with a checkbox and radio on firewatir

2008-11-18 Thread juuser
First of all - sorry about the subject. I was unable to think of any better subject for this problem. Anyway, problem is simple - checkbox and radio methods are not working on some circumstances. I have used with Watir for quite a long time all of this extracted code, which I've put into this Fi

[wtr-general] Re: Text field Numeric Issue

2008-11-19 Thread juuser
You have to probably fire_event("onchange") or whatever JavaScript event you have tied to that text_field after you've set the value. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to t

[wtr-general] Re: Screenshot on remote machine

2008-11-19 Thread juuser
It works for me fine if Remote Desktop window is not minimized. It might not be maximized or under any other window, but as soon as it gets minimized, then AutoIt and screenshots won't work. Also, it should not have screensaver, nor locked (on remote machine). You can have screensaver and lock you

[wtr-general] Re: Should a logger be included in Watir?

2008-11-24 Thread juuser
Hi. Remove the logger and have it in examples instead. Jarmo. --~--~-~--~~~---~--~~ 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

[wtr-general] Re: there's something strange going on with a checkbox and radio on firewatir

2008-11-24 Thread juuser
Did not anyone try the code snippet above to see if they have same result so it would be registered as a bug? --~--~-~--~~~---~--~~ 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: Please review - Text.Exist method

2008-11-25 Thread juuser
You can do it for example like this: puts ie.text.scan(/organisation/i).size --~--~-~--~~~---~--~~ 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 B

[wtr-general] Re: Inactive windows on remote machine

2008-11-26 Thread juuser
Hello. I have also problems with few of AutoIt methods and win32screenshot, while PC is locked. I have only this solution, so far - make remote desktop connection to this remote PC and lock your current PC - this makes the other PC 'locked' and everything works as it should. But there is also on

[wtr-general] Re: there's something strange going on with a checkbox and radio on firewatir

2008-11-28 Thread juuser
nd only on Watir. Thank you in advance, juuser. --~--~-~--~~~---~--~~ 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, pleas

[wtr-general] Re: Extension for testing flash applications with Watir

2008-12-28 Thread juuser
There is also great framework available for IE (I don't know if it works for Firefox too) called funfx. It has API similar to Watir, which makes it a great tool for testing flex (flash): http://funfx.rubyforge.org/ On Dec 21, 12:41 pm, sai wrote: > You must be able to test any kind of flash appl

[wtr-general] Re: kah boom and thanks

2008-12-29 Thread juuser
When I last tried, then using XPath with Watir on IE was like 100 times slower than using any other methods of locating elements (regexp, name, id and so on). Even if you iterate over some elements to find some specific element, it's faster than XPath. Jarmo On Dec 25, 5:50 pm, al3kc wrote: > B

[wtr-general] Re: persistant 'about:blank' window on Vista.

2008-12-29 Thread juuser
Yup. It has something to do with security settings on IE. I'm using Vista and everything is OK. Jarmo On Dec 27, 4:40 pm, "aidy lewis" wrote: > Hi, > > I am not currently at home, so I am on a Vista machine. > > Has anyone seen a persistant 'about:blank' ie window on Vista? > > require 'watir'

[wtr-general] Re: there's something strange going on with a checkbox and radio on firewatir

2008-12-29 Thread juuser
going > on, that will take some investigation. Do you have a thought as to what > is going wrong? > > Please go ahead and log this in Jira, so we can be sure to fix it. > Please also let us know about your other FireWatir compatability problems. > > Bret > > juuser wrote:

[wtr-general] Re: persistant 'about:blank' window on Vista.

2008-12-29 Thread juuser
Sorry, can't remember exactly, but try to turn off Protected Mode. On Dec 29, 11:43 am, "aidy lewis" wrote: > Hi Jarmo, > > 2008/12/29 juuser : > > > > > Yup. It has something to do with security settings on IE. I'm using > > Vista and everythin