Vinay Srinivasaiah a écrit :
I am in the process of creating one myself.
My idea is more of a generic output from the recording tool, and write
translators for selenium, httpunit (java based), simpletest (php based)
webtesting.
I will cleanup the code and send the prototype in a couple of days,
which is a firefox extension + java tool to translate the 'recorded
output' to selenium.
Personally, I have not the time to code such a recorder but I've been
thinking about it.
It seems to me that where as you should want a simple recorder, just to
capture daily users input, it would be great to have a mode which work
in the following way (which is more a test development environment ):
The recorder opens the application to test in an iframe. In another it
opens the output it is constructing. When you change url (maybe via an
input form) it makes an open xxx, when you click it records a click....
for actions. But via the interface, you can also capture values to test
(verifyValue, verifyTextPresent). For that, you select part of the page
and then choose a test in a combo : if it is assertTextPresent, for
example, it make an assertTextPresent (or more than one if the text is
in different elements) with the selected text, if it is an assert value,
it search for the input elements in selection an makes corresponding
assertValue, etc....
I think it would permit an advanced user to write the tests himself.
The ability to be able to live modify the captured test may also be a
good idea in order to write tests for a future application from a prover
(I mean a preview of the application has html hard coded pages for example).
A place to test locators may also be a good idea.
May it helps, I will look forward for your release announcement
Alex.
Ce message est protégé par les règles relatives au secret des correspondances.
Il est donc établi à destination exclusive de son destinataire. Celui-ci peut
donc contenir des informations confidentielles. La divulgation de ces
informations est à ce titre rigoureusement interdite. Si vous avez reçu ce
message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail
figure ci-dessus et de détruire le message ainsi que toute pièce jointe.
This message is protected by the secrecy of correspondence rules. Therefore,
this message is intended solely for the attention of the addressee. This
message may contain privileged or confidential information, as such the
disclosure of these informations is strictly forbidden. If, by mistake, you
have received this message, please return this message to the addressser whose
e-mail address is written above and destroy this message and all files attached.
_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel