24
Evalid Benchmark Testing and Java Applets.

Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

  • View
    224

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Evalid

Benchmark Testing and Java Applets.

Page 2: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Introduction to Benchmark Testing

• The Benchmark Test measures the amount of time a sequence of browser actions take.

• The test starts the timer, browses to a number of pages, and then reads the timer.

• Because eValid runs from a browser -- viewing the pages like most web users do -- the times measured are realistic.

• Measures the performance.

Page 3: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Benchmark Testing

– Benchmark Playback is to benchmark the site recorded in the script, play back the Benchmark Script File as many times as necessary to compare times. This will make sure the results of a Benchmark Test meaningful.

Page 4: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Steps to create a Benchmark Test Scenario

• Step1: Set the Recording and Playback Configuration

• Step2: Start the Recording Process • Step3: Execute Benchmark Test

Page 5: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step1: Set the Recording and Playback Configuration

– To enable the Multiple Playback option, begin by clicking Settings > Record/Play Preferences to enter the Preferences Window.

Page 6: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step1: Set the Recording and Playback Configuration (Cont.)

Page 7: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step2: Start the Recording Process

• Record from eValid browser using the dash board or using the record button.

Page 8: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step2: Start the Recording Process(Cont.)

Page 9: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step2: Start the Recording Process(Cont.)

• Click any link on the selected page, or type in a new URL.

• Continue navigating to new windows.• For example: you can follow the direction bellows:

– Type in Link http://www.msn.com/– Type in Link http://www.sjsu.edu/– Type in Link http://yahoo.com– Type in Link http://www.engr.sjsu.edu/

• Stop recording

Page 10: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step3: Execute Benchmark Test

Page 11: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step3: Execute Benchmark Test (Cont.)

If nothing was wrong

Page 12: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step3: Execute Benchmark Test (Cont.)

With some warnings

Page 13: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step3: Execute Benchmark Test (Cont.)

In case some errors were found

Page 14: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Playback Summary

Page 15: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

use the charts to compare different:

Window->Graphs->Graphs (all logged)

Page 16: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Java Applet Test

• This test demonstrates capabilities of eValid in manipulating ActiveX embedded on web pages that utilize ActiveX Controls. In this Scenario, the element is static, means they are not changing constantly basically simple button “pressing” scenario.

• It basically confirms Active X Support, it confirms if such are functional by keyboard and mouse movements and actions.

Page 17: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Steps to create a Java Applet Test Script

• Step1: Set the Recording and Playback Configuration

• Step2: Start the Recording Process • Step3: Execute Test

Page 18: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step 1: Set the Recording and Playback Configuration

• Setting-> Advanced Record/Play Preference->Miscellaneous Recording->Applet Recording – Select all the actions namely MouseClick, Mo

useDrag, MouseOver, MouseDown events.– Under Absolute events, be sure that Absolute

Left Clicks, Absolute Right Clicks as well as Absolute MouseOvers are checked.

Page 19: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Misc Recording Setup

Page 21: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step2: Recording

• You can visit the following URL to begin the applet testing.

http://javaboutique.internet.com/Mand/• Or use any URL with a valid applet likehttp://

www.realapplets.com/tutorial/ActionExample.html

• Both these URLs have some buttons in java applet and a simple test can be performed by clicking on these buttons.

Page 22: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step2: Recording

• Start the recording• Go to the URL• Click F11 or select it from the menu to make Absolute

MouseClick Recording ON (The status bar shows the result)

• Click F12 to enable Application mode recording or use the menu option - Select Record Advanced Record Application mode recording - This should put the following comment in the eValid script.#Application Mode ON

• If you have your script window open you should now see a bunch of script commands being inserted as you traverse the java applet page.

Page 23: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions

Step3: Execute Test

• Replay the script

• Look through testing results from different logs

Page 24: Evalid Benchmark Testing and Java Applets.. Introduction to Benchmark Testing The Benchmark Test measures the amount of time a sequence of browser actions