Hi,
I'm using Macro Scheduler to record some tests on a Java application. Macro Scheduler recognizes rightfully the windows name (with functions like WaitWindowOpen by exemple) but doesn't recognize buttons (PushButton>) text (GetWindowTextEx>) or checkbox (SetCheckBox>).
Someone has an idea for this problem ? Regards.
Text recognition with Java application
Moderators: JRL, Dorian (MJT support)
Text recognition with Java application
An AE MacroScheduler User
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
See:
http://www.mjtnet.com/blog/2007/12/12/c ... reen-text/
If the Java app uses the AWT or SWT frameworks you can capture its text. If it uses Swing, you can't, because Swing doesn't use Windows text output functions.
http://www.mjtnet.com/blog/2007/12/12/c ... reen-text/
If the Java app uses the AWT or SWT frameworks you can capture its text. If it uses Swing, you can't, because Swing doesn't use Windows text output functions.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?