The “serialized” name values pairs that HTTP represent in a POST don’t give you any context to the TYPE of object that is being sent. You can’t tell a text-field from a listbox.

 

Scott

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of saud aziz
Sent: Friday, July 15, 2005 12:26 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Watir Recorder? write watir scriptsusingHTTP::Recorder

 

I think you missed the point. You can use HTTP::Recorder to "Record" actions that would be recoreded as Watir Scripts. This can take away alot of effort that would be put by the programmer in writing a script manually and all the actions that you would do would get Scripted/Recorded in Watir syntax.

I believe this could very well be done. Common issues that we would face are that we won't be able to Script actions done on SSL and it isn't supportive of _javascript_, for now. Other than this, i don't see why we can't make it so it would record script in watir syntax as by default this module records in www::Mechanize script syntax and if you read its documentation it states that you can make it write into custom script as well. Since documentation was not clear enough and i am not much aware of Perl language other than writing simple scripts to derive IE using SAMIE, i wasn't really able to deduce how i could do all this. But there is a very good article on http://www.perl.com/pub/a/2004/06/04/recorder.html about how to use it. But as i said, its not much clear as to how could i customize it to write custom scripts.

Saud

On 7/15/05, Michael Kelly <[EMAIL PROTECTED]> wrote:

I've looked into this a bit.  I'm not a Perl expert, but I believe that
HTTP::Recorder takes the proxy approach.  That is, it positions itself
between the browser and the internet to capture the HTTP traffic.  But
the HTTP request is the consequence of a series of actions in the
browser.  For Watir, I believe we want to capture the actions
themselves.  This leads us to some kind of browser plug-in/toolbar that
will intercept the user's interactions with the DOM.

-=michael=-

--
Michael Kelly
Sr. Software Engineer
Eleven Wireless Inc. - The Possibilities are Wireless
http://www.elevenwireless.com



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] ] On Behalf Of Bret Pettichord
Sent: Friday, July 15, 2005 9:41 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Watir Recorder? write watir scripts
usingHTTP::Recorder


At 06:53 PM 7/14/2005, saud aziz wrote:
>Are there any plans on Integrating or providing scripts
>generation/recording mechanism that a user could use something like
>HTTP::Recorder of Perl to write out Watir Scripts?

No one that i know of is working on this.


_____________________
  Bret Pettichord
  www.pettichord.com

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general




--
If you develop an ear for sounds that are musical it is like developing an ego. You begin to refuse sounds that are not musical and that way cut yourself off from a good deal of experience. -John Cage

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to