Automatic testing

eagle at phc.igs.net eagle at phc.igs.net
Sat Sep 11 11:22:42 BST 1999


On 10 Sep, Jesus David Diaz Leal wrote:
> Dear all,
> 
>     I am actually analyzing the possibility of developing a tool to
> *record* (capture all the xevents) and *play* (raise all the xevents)
> the execution of a second X application in order to register its
> behavior and check automatically what has changed after a source code
> modification. (as Rational Suite TestStudio does on W95, W98 & NT).
> 
>     I know how to  carry out the *play* action using the XSendEvent
> function. My question is: Is it possible to intercept all xevents
> proceeding from desktop for a specific application so I could record
> them, in order to "replay" them later? I have checked the XPeekIfEvent X
> function, but it collects just the xevents of the application itself,
> not the xevents of other applications running in the same time on the
> desktop. Could I possibly redirect this function in a way it would "spy"
> on other applications, or, is there any other function which could do
> this?
> 
>     Any comments are welcome...
> 
>     Best regards,
> 
> David.
> 
> 
> 
> 
This is the results of not knowing x.

check out the X-TEST extension which will send mirror copies of the x
requests to the server and to your app.

Rob




More information about the KDevelop mailing list