John Lolis wrote:
> Is there a way for Watir when its first load to check your version or ruby, 
> if AutoIt is loaded and if things aren't as they should be spit out a warning?
I'm not quite sure what you asking.

1. Is it possible to for Watir to check your ruby version and autoit and 
other stuff and spit out a warning?

A. Yes it is technically possible.

2. Is it a good idea?

A. I don't know. Different features of watir have different 
requirements. My view has been that each feature should spit out a 
warning if its requirements aren't met. We've just updated the 
modal_dialog and FileField#set code to do this. My view at the moment is 
that is a better approach, but i am certainly open to ideas on this.

3. Would you accept a change to Watir for a new method such as 
"Watir.validate_dependencies" that would automatically verify all of 
these dependencies.

A. I don't see why not. Then the only question would be whether this 
method should be run automatically on load. If we had the method first, 
it would help the community decide whether it should be automatically 
invoked.

4. Will you write this method for us?

A. Maybe some day. I would need to hear more. My concern is that it 
would lead people to think that Watir only worked with 1.8.2 (say) which 
is not true and for some might turn them away.

Bret





_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to