Hi Sandro,<br><br><div class="gmail_quote">On Mon, Feb 2, 2009 at 2:19 PM, Sandro MILLIEN <span dir="ltr">&lt;<a href="mailto:msp@lloedy.com">msp@lloedy.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
We must find a way to uniquely identify an application we want to submit<br>
to tests, across the whole system.<br>
I mean without using titles.<br>
<br>
Why ?<br>
This is what happened to me...<br>
Getting back to work on my automated tests for anjuta, I ran a script<br>
that I wrote, confident that it will work since it always did, but to my<br>
astonishment the script failed.<br>
So I entered a processus of investigation to identify the rationale of<br>
the failure.<br>
About twenty minutes later, I discover that it was because of a my<br>
web-browser on my fourth desktop, that had the word &quot;Anjuta&quot; in it&#39;s<br>
title bar.</blockquote><div><br>Sure, this is bug,&nbsp; will try to fix it.<br><br>Thanks<br>Nagappan<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
I know I could write some code that close every window in the desktop<br>
before running my test case, but I think it is much better that the test<br>
framework itself provide us a mean to be sure that the tests we are<br>
running &nbsp;actually runs against the application we are testing. And not<br>
it&#39;s brother, or any other one.<br>
We must not hope, we must be sure.<br>
It&#39;s about making the scripts robust to environment aleas.<br>
(The tests case are meant to be runnable on distant computers...)<br>
<br>
<br>
If this already exists, may someone give me some pointers.<br>
<br>
Cheers....<br>
Sandro Millien<br>
<br>
<br>
_______________________________________________<br>
LDTP-dev mailing list<br>
<a href="mailto:LDTP-dev@lists.freedesktop.org">LDTP-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ldtp-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org">http://ldtp.freedesktop.org</a><br><a href="http://nagappanal.blogspot.com">http://nagappanal.blogspot.com</a><br>