Issues with recording swing-based java applets

How to apply eValid to functional testing of web applications.

Issues with recording swing-based java applets

Postby DDalton » Mon Jul 18, 2022 9:07 am

Morning.

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

Thanks
DDalton
 
Posts: 1
Joined: Mon Jul 18, 2022 9:03 am

Re: Issues with recording swing-based java applets

Postby eValid » Tue Jul 19, 2022 6:11 am

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
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons