<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="">
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Just my 2 cents:<br>
<br>
I think that combination of iMacros +GreaseMonkey plugins can be used
for regression tests,<br>
perhaps the iMacros alone is just sufficient for your purposes.<br>
<br>
Danny Lieberman wrote:
<blockquote
cite="mid:e1d1de4e0909031244h20e5d3c5l865fe2a13fe0eb71@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div>Leonid,<br>
<br>
I'm pretty sure there are two possible non-DIY alternatives<br>
1) maybe ratproxy - it's pretty cool for webapp software security
assessment and it might cover some of your test use cases....<br>
<br>
2) probably Mochitest - <a moz-do-not-send="true"
href="https://developer.mozilla.org/en/Mochitest">https://developer.mozilla.org/en/Mochitest</a><br>
<br>
Just a thought.<br>
<br>
Danny<br>
<br>
<div>On Thu, Sep 3, 2009 at 3:48 PM, Leonid Podolny <span><<a
moz-do-not-send="true" href="mailto:leonidp.lists@gmail.com">leonidp.lists@gmail.com</a>></span>
wrote:<br>
<blockquote>Hi, all,<br>
At my work we encountered a problem and it looks like we are<br>
re-inventing the bicycle. Someone here surely has an experience with<br>
that.<br>
We have a regressions testing lab. As a part of the testing we have to<br>
work with the web-interface of our product. (I'm intentionally vague,<br>
the details are quite irrelevant to the problem). The testing scenario<br>
includes action items like "press the button with caption 'Advanced<br>
Settings' on it".<br>
This is implemented as a C program with sockets interface, so "find a<br>
button" actually means "look for a substring in the received HTML<br>
code" and "press the button" means "create an HTTP POST message and<br>
send it".<br>
However, recently we have added some JavaScript and AJAX to the<br>
web-interface and now the testing environment must be able to run JS<br>
and even cope with things like replacing part of the DOM tree. We can<br>
see three possible directions to tackle the problem:<br>
- Further fix our great testing program. After all, we know what AJAX<br>
can return -- we can manually open the connection it would open, parse<br>
the response, etc. Looks ugly and has a potential to turn into<br>
maintenance nightmare.<br>
- Setup a headless X server with Firefox running inside and some sort<br>
of scripting/management add-on. If someone has an experience with such<br>
a setup, I would appreciate pointers to specific add-ons you used.<br>
- Somehow hack off the GUI from any open-source browser and link it to<br>
our program, i.e. use it as HTML parser and JS machine. Looks<br>
unpredictably complicated, maybe not even feasible.<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a moz-do-not-send="true" href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a moz-do-not-send="true"
href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</blockquote>
</div>
<br>
<br>
<br>
-- <br>
Danny Lieberman<br>
-------------------------------------------------------------------------------------------------<br>
<a moz-do-not-send="true" href="http://www.dannylieberman.info">http://www.dannylieberman.info</a><br>
Twitter: <a moz-do-not-send="true" href="http://twitter.com/onlyjazz">http://twitter.com/onlyjazz</a><br>
Skype: dannyl50<br>
Warsaw:+48-79-609-5964<br>
Israel: +972 8 9701485<br>
Mobile: +972 - 54 447 1114<br>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Linux-il mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a>
<a class="moz-txt-link-freetext" href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a>
</pre>
</blockquote>
<br>
</body>
</html>