Re: [Wtr-general] IE Dev toolbar

2006-05-12 Thread Zeljko Filipin
I guess that all of you also know that there is Web Developer extension for FireFox at https://addons.mozilla.org/firefox/60/.Very useful. On 5/11/06, Michael Moore [EMAIL PROTECTED] wrote: Everyone else probalby knows about this already, but I discovered it acouple weeks ago, and it's been very

Re: [Wtr-general] Need Help clicking on a link?

2006-05-12 Thread Zeljko Filipin
If your table looks like this:table tr td > Open Account /td /tr /table you can fire event that will navigate to '/register/personal.do' like this:ie.table(:index, 1)[1][1].fireEvent(onclick)On 5/12/06, David Solis [EMAIL PROTECTED] wrote: How do I click on '/register/personal.do'--

Re: [Wtr-general] IE Dev toolbar

2006-05-12 Thread Michael Moore
Chris -- You and Dave should use this in the Scripting for Testers class. I think it'll make things go faster. We tried to use the Firefox plugin for the class a while ago, but it was too confusing to have them go back and forth between IE and Firefox. I love the Firefox dev toolbar, but it

Re: [Wtr-general] Thoughts on modal dialog implementation in development Watir

2006-05-12 Thread David Schmidt
I got the SVN URL and checked out watir/trunk into RadRails, but I see that the repository is set up with what looks like sub-projects. I tried to grab just the watir project directory (watir/trunk/watir) using SVN, but got the following error: svn: PROPFIND request failed on

Re: [Wtr-general] IE Dev toolbar

2006-05-12 Thread Lonny Eachus
Thanks. I have been having to examine a lot of pages using IE. Firefox has been so much easier when I could use it, but sometimes you are restricted to IE. This IE toolbar could be very useful. Lonny Eachus Zeljko Filipin wrote: I guess that all of you also know that there is

[Wtr-general] Working with Excel - how to access the last cell with data in the spreadsheet?

2006-05-12 Thread Praveen Kumar Kammitta
Hi everyone, I have a question regarding accessing the last cell with data in Excel.One of my Watir scripts captures the text of a link in a page and writes it to a spreadsheet.Here is the code:timeSpreadsheet1 = File.new((DataSheet) + .xls, w) # # File will be opened in overwrite mode.

Re: [Wtr-general] Working with Excel - how to access the last cell with data in the spreadsheet?

2006-05-12 Thread Charley Baker
Chris is right, that's a great site and they do have a link to the vba help files which should help with the underlying object model. I've used the usedrange property of the worksheet ole object for rows and columns: rowcount = @ worksheet.usedrange.rows.countcolumncount =

[Wtr-general] Problem with loading time on Java script driven html page

2006-05-12 Thread Jonathan Ni
Hi All: Rcently I have problem with finding the object on my html page, which major part is _javascript_ driven. Observation:From exception, I found the script can't found the object(a button) on the page. The exception through before the page finished loading. This is just eye

Re: [Wtr-general] The Watir Installer

2006-05-12 Thread Bret Pettichord
type 'irb'then type 'require watir'then type 'ie = Watir::IE.goto google.com'you're in businessOn 5/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Bret, I downloaded the file (watir-1[1].5.0.980.gem)to the root directory of my machine. I typed in the commandat the command line and the

Re: [Wtr-general] Problem with loading time on Java script driven html page

2006-05-12 Thread Bret Pettichord
Watir waits for the page to load, but if you have _javascript_ attached the OnLoad event, it can continue to change the DOM.In these cases, you should poll for a particular object to exist that doesn't show up until everything is ready to go. We will be providing a new wait_for method for all

Re: [Wtr-general] Problem with loading time on Java script driven html page

2006-05-12 Thread Chris McMahon
In these cases, you should poll for a particular object to exist that doesn't show up until everything is ready to go. We will be providing a new wait_for method for all elements into Watir 1.5 to make this easy to do. Funny, I just spent a good part of the day writing a bunch of these: def