[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Testing Lua Application
- From: Joseph Wallace <tangent128@...>
- Date: Wed, 20 Aug 2014 20:39:54 -0400
On 08/20/2014 04:05 PM, Milind Gupta wrote:
> Hi,
> I am writing an application in Lua using IUP GUI toolkit. I am
> thinking of ways I can test the GUI interface. Is there a library or method
> so that I can write a lua script to move the mouse, click and type?
> Basically perform the functions of the mouse and keyboard, thus emulate the
> user.
>
> Thanks,
> Milind
>
If you are using Linux, my lua-evdev module would allow you to create
and control a fake mouse and keyboard:
http://lua-users.org/lists/lua-l/2014-08/msg00541.html
It might be operating at an inconveniently low level, though.
-Tangent