AppPerfect Web Test FAQ

  1. What are the key features of the AppPerfect Web Test?
  2. What kinds of applications can be tested using AppPerfect Web Test?
  3. What are the different types of errors that can be detected using AppPerfect Web Test?
  4. How are parameters created and handled?
  5. What are dynamic parameters? How do they work?
  6. My dynamic menus are not being recorded and replayed. What do I do?
  7. I want to run multiple iterations of my test, each with a different set of parameter values. How do I do that?
  8. I want to check for certain value in one of the elements of the returned page to validate that the request was correctly processed. How do I add such validation?
  9. I'm getting an error again and again. I've tried everything, but I'm stuck. What should I do?

What are the key features of the AppPerfect Web Test?

AppPerfect Web Test records all your actions in the Web browser and replays them at a later point without your intervention. AppPerfect Web Test is used for functional and regression testing on a continuous basis.

What kinds of applications can be tested using AppPerfect Web Test?

Most application that have a Web/html front end can be tested using AppPerfect Web Test. Commonly tested applications are based on Java/JSP/Servlet, ASP, PHP, AJAX . In addition, applications using Java applets and Macromedia Flash are also supported.

What are the different types of errors that can be detected using AppPerfect Web Test?

The following types of errors can be detected:

  1. Whether the recorded test is replayed successfully.
  2. Web Test detects any changes in the page content. (DOM Validation (Entire page validation)/ Element validation/ Text validation)
  3. URL validation
  4. URL Parameter validation
  5. Event Validation (Whether the recorded events gets replayed or not)
  6. Iteration-wise reponse validation (You can use Parametratization to pass different set of values for each iteration)

How are parameters created and handled?

Most Web applications are dynamic in nature and work interactively with the user's data. User data is communicated to the application by means of parameters. Parameters can either by passed via a URL or as part of the Http header of the request. AppPerfect provides extensive support for defining and using parameters. Once a test is recorded, AppPerfect stores all parameters into the project as a property/value pair. Click on the "Parameters" node in the Editor to manage parameters.

What are dynamic parameters? How do they work?

A dynamic parameter is a parameter whose value is not know at test design time. An example of a dynamic parameter is a session ID. A unique session ID is generated once you log in to your server. AppPerfect supports defining such dynamic parameter and tying its value to either a returned value in the http header or in the URL.

My dynamic menus are not being recorded and replayed. What do I do?

Most dynamic menus are implemented using the "MouseOver" event in JavaScript. By default, this event is NOT recorded. You must manually select recording this event by selecting Tools -> Options -> Web Test -> Auto Detect mouse-over events on elements having mouse-over event handlers.

I want to run multiple iterations of my test, each with a different set of parameter values. How do I do that?

These are the following ways in which you can access the Parameter Setting Wizard.

On clicking 'Parameterize' button a parameter settings dialog will be shown, which will allow you to configure parameter value as constant or configurable test parameter. You can create new test parameter and associate it with URL Parameter/ Event argument/Attribute here.

I want to check for certain value in one of the elements of the returned page to validate that the request was correctly processed. How do I add such validation?

In the Editor view, click on the desired page. Click on the "Validation" tab. Add validation by selecting the desired element in DOM tree.

I'm getting an error again and again. I've tried everything, but I'm stuck. What should I do?