Mailing list - Entries of 2005


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] Simulating drag & drop does not work


  • Subject: Re: [qftestJUI] Simulating drag & drop does not work
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Mon, 21 Feb 2005 08:12:06 -0000

Hello Vasu,

the error means that the X server on your Unix machine doesn't support
the XTEST extension which is the only means on an X11 based system to
actually move the mouse cursor from a program.

Without the XTEST extension the Java AWT robot won't work and that
means no screenshots and no hard mouse moves, so no drag&drop.

You can try to upgrade the system to a newer version of X11 that
includes the XTEST extension (or perhaps it is already supported but
not enabled - ask your admin).

You can also try to use a virtual X server. TightVNC
(www.tightvnc.org) works fantastically well on Linux. It does its own
mouse emulation, but I don't know whether this means that it supports
XTEST on top of an X Server that doesn't. It's definitely worth a try
though.

I'd recommend using a VNC server like TightVNC for everyone working on
an X11 based system. It gives you a complete alternative
desktop-in-a-window in which you can run GUI tests without interfering
with your main desktop.

Best regards,
    Greg

"Vasumathi Subramanian" <vsubrama@?.com> writes:

>
> Hi,
>    Some of our test cases simulate drag and drop.
>    These test cases work fine on windows machines.
>    But, when running them on unix machines, the drag and drop does not
> work and we are getting the following error:
>
> ----- Designer:stderr -----
> XTEST extension not installed on this X server: Error 0
> 1 (13:24:24.499) RMI TCP Connection(1)-10.107.136.65
> de.qfs.apps.qftest.client.EventPlayer.EventPlayer(): No AWT Robot
> available - Simualting Drag&Drop won't work
>
>
>    What needs to be done to fix this?
>
> Thanks in advance,
> Vasu

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876


Videos Downloads Documentation Buy Free Trial