1 / 16

Applet Recording

Applet Recording. Testing Java Applet. Java Applets are making WebSites more and more sophisticated. Highly graphical techniques bring more interactivity and visual effects to your WebSite. How can you make sure that your WebSite lives up to its expectations?.

nemo
Télécharger la présentation

Applet Recording

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Applet Recording

  2. Testing Java Applet Java Applets are making WebSites more and more sophisticated. Highly graphical techniques bring more interactivity and visual effects to your WebSite. How can you make sure that your WebSite lives up to its expectations?

  3. What Is Different About Testing My Applet? A Java Applet creates objects outside the scope of normal HTML. eValid has the ability to record and playback successfully the interactive options of an applet and validate the pixel count of the applet to make sure it appears on the screen as it is supposed to.

  4. eValid Advanced Recording Techniques Using the Advanced Recording features of eValid, one can create tests that interact and validate Java Applets. Advanced Recording options are powerful tools that can help test and validate even the most sophisticated WebSites.

  5. Testing From The BrowserStep 1 of 9 From the eValid browser navigate to the WebSite you want to test, by typing the URL in the address bar.

  6. Applets: Start TestingStep 2 of 9 Before initiating the record engine of eValid, you need to program it. This happens by simply clicking on Settings from the tool bar, and select: Settings > Record/Play Advanced Preferences

  7. Applets: Advanced PreferencesStep 3 of 9 In the Miscellaneous Recording menu, select from the many Applet Recording optionsthat will satisfy your testing needs.

  8. Applets: Record Applet InteractionStep 4 of 9 By simply clicking on Start Recording from the pull-down menu, you start interacting with your applet.

  9. Applets: Validate OutputStep 5 of 9 (option 1) Next, validate the output from the applet. If the text is selectable, as in the screenshot to the left, you can use Record > Validate > Selected > Text.

  10. Applets: Validate OutputStep 5 of 9 (option 2) Or you can use Record > Validate > & Synchronize > Screen Rectangle.

  11. Applets: Insert WaitsStep 6 of 9 You may also wish to edit the script file and add Wait 1000 commands between each AppletMouseClick to ensure that eValid is completely synchronized with the applet.

  12. Notes: Recording Tips and Solutions Sometimes, depending how an Applet or ActiveX control is instantiated, an application creates another layer between itself and the browser.

  13. Notes: Recording Tips and Solutions To properly record the applet, it may be necessary to enable use of the Absolute Events options.

  14. Notes: Absolute EventsStep 7 of 9 From the Toolbar, click on Settings > Record/Play Advanced Preferences > Absolute Events and choose the Absolute Clicks option among other Absolute recording options in the menu.

  15. Access To ReportsStep 8 of 9 This report shows that you successfully validated the Selected Textand the Screen Rectangle.

  16. Access To ReportsStep 9 of 9 Click View + Icon in the Event Log to view the same reports in a variety of formats: in graphical format, as a Spreadsheet, a HTML Table or in Test Editor. Immediate results are just a click away.

More Related