[LDTP-Dev] Uniquely identify an application
Nagappan A
nagappan at gmail.com
Mon Feb 2 14:24:03 PST 2009
Hi Sandro,
On Mon, Feb 2, 2009 at 2:19 PM, Sandro MILLIEN <msp at lloedy.com> wrote:
> We must find a way to uniquely identify an application we want to submit
> to tests, across the whole system.
> I mean without using titles.
>
> Why ?
> This is what happened to me...
> Getting back to work on my automated tests for anjuta, I ran a script
> that I wrote, confident that it will work since it always did, but to my
> astonishment the script failed.
> So I entered a processus of investigation to identify the rationale of
> the failure.
> About twenty minutes later, I discover that it was because of a my
> web-browser on my fourth desktop, that had the word "Anjuta" in it's
> title bar.
Sure, this is bug, will try to fix it.
Thanks
Nagappan
>
>
> I know I could write some code that close every window in the desktop
> before running my test case, but I think it is much better that the test
> framework itself provide us a mean to be sure that the tests we are
> running actually runs against the application we are testing. And not
> it's brother, or any other one.
> We must not hope, we must be sure.
> It's about making the scripts robust to environment aleas.
> (The tests case are meant to be runnable on distant computers...)
>
>
> If this already exists, may someone give me some pointers.
>
> Cheers....
> Sandro Millien
>
>
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>
--
Linux Desktop (GUI Application) Testing Project -
http://ldtp.freedesktop.org
http://nagappanal.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20090202/3cf78d1d/attachment.html
More information about the LDTP-dev
mailing list