If anyone is looking to automate gui tests ( similar to  scripts/runtests),

I found library 'pyautogui' to be very interesting.


It can generate key stokes ( alt ctrl shift combos too)
It can generate mouse movement in the gui.
It can _find_ buttons and click them.

It helped me send keystrokes to my xfce4-terminal to clear it...
 pyautogui.hotkey('alt', 't') ; pyautogui.typewrite([ 'c'])

https://pyautogui.readthedocs.io/en/latest/index.html

hth
tomp


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to