[Wtr-general] Load Error

2007-06-19 Thread Max Russell
My original question was: On 6/15/07, Max Russell [EMAIL PROTECTED] wrote: Hi there, I'm getting the following. `require': no such file to load -- watir (LoadError) I've checked the FAQs and downloaded the latest 1.5 version for my Ruby version 1.8.6. I've

[Wtr-general] WYSIWYG editor inside iframe - entire new html tag I can't access

2007-06-19 Thread Jason
I've got a WYSIWYG editor inside an iframe... the editor is actually TinyMCE, as offered here: http://tinymce.moxiecode.com/. I'm having trouble accessing this in Watir. Whilst I can access the iframe, I can't find anything else inside the frame that resembles a field to 'use'. Here's the

[Wtr-general] Is there any script to click on the image icon

2007-06-19 Thread sapna
Hi, Kindly let me know if there are any command to click on the image. Below the HTML snippet. a href=/AppsUIWeb/Transfers/TransferInquiry.aspx?type=singleid=895img height=15 width=15 src=/AppsUIWeb/themes/toptabmenu/images/mailclosed.gif //a Regards Sapna

Re: [Wtr-general] Is there any script to click on the image icon

2007-06-19 Thread Ċ½eljko Filipin
Hi Sapna, Try ie.image(:src, /mailclosed/).click Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] And now Rbehave

2007-06-19 Thread Bret Pettichord
I've been using Rspec more and more lately and am working on a article describing how i use it. But today, I see this: http://dannorth.net/2007/06/introducing-rbehave http://dannorth.net/2007/06/introducing-rbehave and realize that things are really moving in the Ruby world! Bret

[Wtr-general] From comp.lang.ruby

2007-06-19 Thread Paul Rogers
THis was posted on clr http://groups.google.ca/group/comp.lang.ruby/browse_thread/thread/2170f6b9401536fc/77f9db176b92b8d0?lnk=raot#77f9db176b92b8d0 Thanks Kevin! Kev Jackson View profile I've never been so impressed with a piece of software so quickly in my life. This

Re: [Wtr-general] WYSIWYG editor inside iframe - entire new html tag I can't access

2007-06-19 Thread Chris McMahon
Any thoughts??? I think this is the same issue I reported here: http://jira.openqa.org/browse/WTR-152 There is a pure-javascript workaround, see if that does the job for you. ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] frames and url()

2007-06-19 Thread Chong Jiang
Hello all, Sorry, I do not know how to append this message to my previous one in threaded form. The suggestion of using ie.frames(:index, 1).url does not seem to work, as I get an undefined method 'LocationURL' for nil:nilClass, even when ie.frames(:index, 1) exists. I've managed to avoid this

[Wtr-general] Watir no longer always waits for all frames to load completely (gem 1.5.1.1166)

2007-06-19 Thread Brown, David
I've been using the development gem 1.5.1.1166 which includes the re-written wait logic to test a complex SAP web application. The main content that I am automating is nested 4 frames deep. Up until this past Friday this version of watir seemed to handle waiting for all of the inner frames to

Re: [Wtr-general] From comp.lang.ruby

2007-06-19 Thread Bret Pettichord
Paul Rogers wrote: From: Kev Jackson [EMAIL PROTECTED] Date: Thu, 24 Nov 2005 17:24:33 +0900 Local: Thurs, Nov 24 2005 2:24 am Subject: Watir - evaluation... Reply to author | Forward | Print | Individual message | Show original | Report this message | Find messages by this author I've

Re: [Wtr-general] From comp.lang.ruby

2007-06-19 Thread Paul Rogers
ha! I never noticed that. It was on a thread of today. I guess someone just added to this original thread. - Original Message - From: Bret Pettichord [EMAIL PROTECTED] Date: Tuesday, June 19, 2007 12:57 pm Subject: Re: [Wtr-general] From comp.lang.ruby Paul Rogers wrote: From: Kev

Re: [Wtr-general] frames and url()

2007-06-19 Thread Charley Baker
I just added url to frame, you might want to download the latest code. Check the wiki faq for installing building the latest gem from source. -c On 6/19/07, Chong Jiang [EMAIL PROTECTED] wrote: Hello all, Sorry, I do not know how to append this message to my previous one in threaded form.

Re: [Wtr-general] Watir no longer always waits for all frames to load

2007-06-19 Thread Brown, David
Gems prior to 1.5.1.1166 would either give me the access denied errors as it tried to wait for the inner frames to load - or if those were suppressed, I had to put in a manual wait whenever I navigated to a new page: sleep 0.1 until some_element_on_inner_frame.exists?. After installing 1166 all

Re: [Wtr-general] Load Error

2007-06-19 Thread Charley Baker
require_gem 'watir' or gem 'watir' Try the same in irb. It may be due to the ruby update. I haven't tried it due to my dependency on modal dialog support. -c On 6/19/07, Max Russell [EMAIL PROTECTED] wrote: My original question was: On 6/15/07, Max Russell [EMAIL PROTECTED] wrote:

Re: [Wtr-general] Watir no longer always waits for all frames to load

2007-06-19 Thread Charley Baker
wait_until is a cleaner method to invoke. sleeps are too error prone, wait_until a specific control exists. I removed the http error checks around that time and there have been some changes in the frames handling. -c On 6/19/07, Brown, David [EMAIL PROTECTED] wrote: Gems prior to 1.5.1.1166

Re: [Wtr-general] frames and url()

2007-06-19 Thread Bret Pettichord
Chong Jiang wrote: Sorry, I do not know how to append this message to my previous one in threaded form. Whatever you did worked, so no worries. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] frames and url()

2007-06-19 Thread Bret Pettichord
Charley Baker wrote: I just added url to frame, you might want to download the latest code. Check the wiki faq for installing building the latest gem from source. Thanks! ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] Understanding IE's wait method

2007-06-19 Thread Jeff Fry
Hey gang, I am reading through IE's wait method, and (A) very impressed by all we are tracking, and (B) confused by a few bits. I've been searching for but am unable to find the definition of the .busy and .readyState methods IE is calling. Can you let me know where they are declared (and

Re: [Wtr-general] Understanding IE's wait method

2007-06-19 Thread Paul Rogers
all of those are methods ( or properties of IE ) http://msdn2.microsoft.com/en-us/library/aa752043.aspx and http://msdn2.microsoft.com/en-us/library/ms534359.aspx - Original Message - From: Jeff Fry To: wtr-general@rubyforge.org Sent: Tuesday, June 19, 2007 7:38 PM Subject:

Re: [Wtr-general] Understanding IE's wait method

2007-06-19 Thread Bret Pettichord
Jeff Fry wrote: I've been searching for but am unable to find the definition of the .busy and .readyState methods IE is calling. Can you let me know where they are declared (and ideally, how I might discover where they're declared). I assume they are included from something else, but I

Re: [Wtr-general] Watir no longer always waits for all frames to load

2007-06-19 Thread Bret Pettichord
Brown, David wrote: Gems prior to 1.5.1.1166 would either give me the access denied errors as it tried to wait for the inner frames to load - or if those were suppressed, I had to put in a manual wait whenever I navigated to a new page: sleep 0.1 until some_element_on_inner_frame.exists?.

Re: [Wtr-general] get all rows from table in webpage

2007-06-19 Thread Charley Baker
Try this: t = ie.table(:index, 5) t.each { |row| row.to_s } Take a look at the user guide and unit tests for how to use Watir. -c On 6/19/07, B Smith [EMAIL PROTECTED] wrote: this doesn't work v_1 = Array.new ie.table(:index,5).rows.each_with_index do |row, i| end

[Wtr-general] How to tell when a particular JS call has completed?

2007-06-19 Thread Jeff Fry
OK, I have more clarity on why ie.down_load_time and I aren't getting along. My pages finish loading...and as the page loads we kick off a bunch of asynchronous JS. I suspect that ie.wait is doing just what it ought to, but I (and perhaps others using asynchronous JS) seem to need something