Search code examples
c#javauser-interfaceautomationwatin

How to automate clicking in a 3rd-party Java applet?


Okay, here's my problem: I'm using WatiN to navigate a website, but then a java applet pops up in a separate window. Ideally, I'd like to automate that window (list box selections, key presses and the like) with something like the equivalent of NUnitForms or something... can someone give me a suggestion on how to do it? Note that I don't have the applet's source code, it's 3rd-party.


Solution

  • http://www.geeksforgeeks.org/robot-class-java-awt/

    Here is a tutorial on using the Robot class