[Wtr-general] Deferred element binding

2005-08-18 Thread Bret Pettichord
For a long time i have talked about how important it is for Watir to make code like these examples work: @ie_new = Watir::IE.new text_field = @ie_new.text_field(:name, 'text1') @ie_new.goto($htmlRoot + "textfields1.html") assert_equal('Hello World', text_field.val

Re: [Wtr-general] installer issues

2005-08-18 Thread Jeff Wood
Bret Pettichord wrote: I just installed Ruby 182-15 and then Watir 1.4 and did not have any problems. All the unit tests (but the three frame tests -- a known issue) ran without problem. I did not need to add require 'rubygems'. I'm pretty sure that Fox was a gem in 182-14 as well. The se

Re: [Wtr-general] installer issues

2005-08-18 Thread Jeff Wood
Bret Pettichord wrote: I just installed Ruby 182-15 and then Watir 1.4 and did not have any problems. All the unit tests (but the three frame tests -- a known issue) ran without problem. I did not need to add require 'rubygems'. I'm pretty sure that Fox was a gem in 182-14 as well. The se

Re: [Wtr-general] need help understanding "focus" error

2005-08-18 Thread Bret Pettichord
At 05:07 PM 8/18/2005, Warren Pollans wrote: That works - but why doesn't the other work? The object reference you stored becomes stale when a page loads or reloads. The same thing will happen to the value= method. I've temporarily bypassed this particular problem by using the value= method

Re: [Wtr-general] another next step

2005-08-18 Thread Bret Pettichord
Thanks for the reminder. I had searched my mail archive for your posts, but i didn't think to search for all possible spellings of your name Mr. Ver(k)hovsky. At 10:33 PM 8/18/2005, Alex Verhovsky wrote: Bret Pettichord wrote: 7. make a gem how could i forget -- kingsley is helping me with

Re: [Wtr-general] installer issues

2005-08-18 Thread Bret Pettichord
I just installed Ruby 182-15 and then Watir 1.4 and did not have any problems. All the unit tests (but the three frame tests -- a known issue) ran without problem. I did not need to add require 'rubygems'. I'm pretty sure that Fox was a gem in 182-14 as well. The second problem cited below, re

Re: [Wtr-general] installer issues

2005-08-18 Thread Jeff Wood
Jonathan Kohl wrote: I am getting some emails reporting a couple of issues. The first is from folks trying to install Watir with Ruby 182-15. They get an error message about the installer not being able to find Fox. Looks like Fox is now installed as a Gem, so one must also require rub

Re: [Wtr-general] another next step

2005-08-18 Thread Alex Verhovsky
Bret Pettichord wrote: 7. make a gem how could i forget -- kingsley is helping me with this. To remind, I once submitted a gemspec for Watir. It was before there were any native libraries in the distibution though. Anyway, Bret, if you need help with a gem, just whistle :) Alexey Verkhovs

[Wtr-general] Can anybody tell what the mean of 'ie.document.frames.length' is and how it changes

2005-08-18 Thread jim che
Below is my code   require 'watir'include Watir require 'methods/login' $au3 = WIN32OLE.new("AutoItX3.Control")  $au3.Opt("MouseCoordMode",0) admin_login("admin","123456") $ie.link(:text,"License generation").click sleep(1)puts "ie.document.frames.length is " puts $ie.document.frames.length  

[Wtr-general] installer issues

2005-08-18 Thread Jonathan Kohl
I am getting some emails reporting a couple of issues. The first is from folks trying to install Watir with Ruby 182-15. They get an error message about the installer not being able to find Fox. Looks like Fox is now installed as a Gem, so one must also require rubygems in the installer. We

Re: [Wtr-general] need help understanding "focus" error

2005-08-18 Thread Warren Pollans
That works - but why doesn't the other work? I've temporarily bypassed this particular problem by using the value= method - just so I can get on with writing the test On or about Thu, 18 Aug 2005 16:13:38 -0500 Bret Pettichord <[EMAIL PROTECTED]> allegedly wrote: > At 03:23 PM 8/18/2005, Warren

Re: [Wtr-general] need help understanding "focus" error

2005-08-18 Thread Bret Pettichord
At 03:23 PM 8/18/2005, Warren Pollans wrote: How can I figure out (debug) what this complaint is about: WIN32OLERuntimeError: focus OLE error code:8000 in htmlfile Unexpected call to method or property access. HRESULT error code:0x80020009 Exception occurred. c:/ruby/

[Wtr-general] need help understanding "focus" error

2005-08-18 Thread Warren Pollans
How can I figure out (debug) what this complaint is about: WIN32OLERuntimeError: focus OLE error code:8000 in htmlfile Unexpected call to method or property access. HRESULT error code:0x80020009 Exception occurred. c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3399:in `method

[Wtr-general] [ wtr-Bugs-2263 ] Table should be a container

2005-08-18 Thread noreply
Bugs item #2263, was opened at 2005-08-18 13:30 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=487&aid=2263&group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Pettichord (bret) Assigned to: Nobody (None) Summary: Tabl

[Wtr-general] [ wtr-Bugs-2262 ] show_all_objects only shows some objects -- it should be renamed

2005-08-18 Thread noreply
Bugs item #2262, was opened at 2005-08-18 13:28 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=487&aid=2262&group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Pettichord (bret) Assigned to: Nobody (None) Summary: show

[Wtr-general] [ wtr-Bugs-2261 ] Form.html and Form.show_all_objects are broken

2005-08-18 Thread noreply
Bugs item #2261, was opened at 2005-08-18 13:27 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=487&aid=2261&group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Pettichord (bret) Assigned to: Nobody (None) Summary: Form

RE: [Wtr-general] A general question about the role ofscriptedtestswithin the responsibilities of QA.

2005-08-18 Thread Michael Kelly
Nice. Very helpful. I'll forward these thoughts to the team. Thanks, -=michael=- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Kohl Sent: Thursday, August 18, 2005 9:55 AM To: wtr-general@rubyforge.org Subject: RE: [Wtr-general] A general qu

RE: [Wtr-general] A general question about the role ofscripted testswithin the responsibilities of QA.

2005-08-18 Thread Jonathan Kohl
> I guess I've assumed that code thoroughly tested by > developers would reduce the time QA spends documenting > issues, but that the QA engineer would still have an > obligation to manually exercise all the simple test cases. > Is this not true? Well tested and testable code reduces the lengt

RE: [Wtr-general] A general question about the role ofscripted tests within the responsibilities of QA.

2005-08-18 Thread Michael Kelly
I guess I've assumed that code thoroughly tested by developers would reduce the time QA spends documenting issues, but that the QA engineer would still have an obligation to manually exercise all the simple test cases. Is this not true? -Original Message- From: [EMAIL PROTECTED] [mailto:[

RE: [Wtr-general] A general question about the role of scripted tests within the responsibilities of QA.

2005-08-18 Thread Tom
Title: Message Hi Michael   I am the sole QA grunt for our company, and there are several ways that Watir has helped alleviate my testing burden: 1 – I use Watir scripts to update our baseline data to try and mimic the client’s use of our application so our testing data is up to date. 2

Re: [Wtr-general] A general question about the role of scripted tests within the responsibilities of QA.

2005-08-18 Thread John Lloyd-Jones
Michael In our project, developers use watir for validating a build -- basically regression testing to demonstrate that the build is viable and worthy of deploying in the test environment. Testers use a disfferent tool. Their job is made simpler because they don't wate time on a build that has one

RE: [Wtr-general] A general question about the role of scripted testswithin the responsibilities of QA.

2005-08-18 Thread Jonathan Kohl
Title: Message >At what point do these scripts allieviate some of the QA engineer's manual testing burden? Until machines are intelligent, they can't really do testing at all. Testing to me is assessing risks, asking questions about software, using a guide to show me whether something is wro

Re: [Wtr-general] A general question about the role of scripted tests within the responsibilities of QA.

2005-08-18 Thread Bret Pettichord
With little developer testing, testers often have to run lots of simple tests to uncover simple bugs. Getting the developers more involved in testing should allow the testers to move to more complex tests more quickly. At 11:21 AM 8/18/2005, Michael Kelly wrote: Content-class: urn:content-cl

RE: RE: [Wtr-general] Detecting a closed IE

2005-08-18 Thread Bret Pettichord
$ie.ie.visible = false At 11:12 AM 8/18/2005, Peter Chau wrote: This code works for minimize and background IE browsers... Is there a way to turn background on/off in the middle of a script?? require 'watir' include Watir class IE def exists? begin @ie.hWnd== -1

[Wtr-general] A general question about the role of scripted tests within the responsibilities of QA.

2005-08-18 Thread Michael Kelly
Title: Message My developer chums and I use Watir as part of our test-driven development.  As such, we're giddy to be able to finally write unit tests for the UI.  But the presence of these developer written UI test scripts raises questions about what impact, if any, they will have on what o

RE: RE: [Wtr-general] Detecting a closed IE

2005-08-18 Thread Peter Chau
This code works for minimize and background IE browsers... Is there a way to turn background on/off in the middle of a script?? require 'watir' include Watir class IE def exists? begin @ie.hWnd== -1 return true rescue return

[Wtr-general] [ wtr-Support Requests-2259 ] File Download Dialog box : how to handle

2005-08-18 Thread noreply
Support Requests item #2259, was opened at 2005-08-18 13:02 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=488&aid=2259&group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Richard Green (basebal446) Assigned to: Nobody (None