applet recording

16
Applet Recording

Upload: nemo

Post on 11-Feb-2016

65 views

Category:

Documents


0 download

DESCRIPTION

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?. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Applet Recording

Applet Recording

Page 2: 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?

Page 3: Applet Recording

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.

Page 4: Applet Recording

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.

Page 5: Applet Recording

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.

Page 6: Applet Recording

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

Page 7: Applet Recording

Applets: Advanced PreferencesStep 3 of 9

In theMiscellaneous Recordingmenu, select from the many Applet Recording options that will satisfy your testing needs.

Page 8: Applet Recording

Applets: Record Applet InteractionStep 4 of 9

By simply clicking on

Start Recording

from the pull-down menu, you start interacting with your applet.

Page 9: Applet Recording

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.

Page 10: Applet Recording

Applets: Validate OutputStep 5 of 9 (option 2)

Or you can use Record > Validate > & Synchronize > Screen Rectangle.

Page 11: Applet Recording

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.

Page 12: Applet Recording

Sometimes, depending how an Applet or ActiveX control is instantiated, an application

creates another layer between itself and the browser.

Notes: Recording Tips and Solutions

Page 13: Applet Recording

To properly record the applet, it may be necessary to enable use of

the Absolute Events options.

Notes: Recording Tips and Solutions

Page 14: Applet Recording

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.

Notes: Absolute EventsStep 7 of 9

Page 15: Applet Recording

This report shows that you successfully validated the Selected Text and the

Screen Rectangle.

Access To ReportsStep 8 of 9

Page 16: Applet Recording

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.

Access To ReportsStep 9 of 9