Page 1 of 1

Issues with recording swing-based java applets

PostPosted: Mon Jul 18, 2022 9:07 am
by DDalton
Morning.

Can you provide some assistance in recording Swing-Based Java Applets?

Thanks

Re: Issues with recording swing-based java applets

PostPosted: Tue Jul 19, 2022 6:11 am
by eValid
DDalton wrote:Morning.

Can you provide some assistance in recording Swing-Based Java Applets?

Thanks


Thanks for posting your issue DDalton.

Recording Java applets in eValid can be as easy as selecting the type of events that you would like to be recorded from the eValid Preferences (Choose Settings > Advanced Record/Play Prefs).

From there select either Miscellaneous Recording or Absolute Events.

For most Java applets the options in the Miscellaneous Recording screen are sufficient.

However, Java applets which are programmed using Sun Microsystems "Swing" API need to be recorded in a specific way to assure reliable playback.

To record these applets, follow these simple steps:

(1) Open the eValid "Advanced Record/Play Preferences" window.

(2) Select the "Absolute Events" section of the advanced preferences.

(3) From the "Absolute Events" section, select the appropriate mouse event type which you want to use and be recorded.

(4) Save your settings.

(5) Select OK.

(6) Start your recording.

(7) Before interacting with the Java applet, enable eValid's "Application Mode" and the record normally.

The appropriate event interactions with the Java applet should now be recorded into the test script file.

*** NOTE: Java Applets are not often used anymore, but there are some places where they are embedded so thoroughly that this information is still pertinent.


-- eValid Support