Seapine Labs
Personal tools

Transition to QA Wizard Pro

From Seapine Labs

Jump to: navigation, search

Q. Are QA Wizard 4.x scripts compatible with QA Wizard Pro?

QA Wizard Pro uses a different script format. QA Wizard 4.x files are binary files that can only be edited within QA Wizard. QA Wizard Pro scripts are text-based and can be shared with other testers and edited outside the application.


Q. Where are the statement properties?

In QA Wizard 4.x, control properties and search criteria were stored with each script. In QA Wizard Pro, the application repository stores window and control properties. These properties are shared among scripts, simplifying maintenance as controls change or are added.


Q. Where is the function builder?

Instead of the function builder, QA Wizard Pro has Text View, which gives you direct access to the scripting language. You can create and edit statements and add advanced logic to scripts.


Q. Where is the regular expression builder?

There is no longer a separate regular expression builder. The QA Wizard Pro regular expression engine supports .NET regular expressions. You can use these expressions in the EvaluateRegExpression statement and in the window or control properties. For information about the regular expression format consult a .NET regex reference.


Q. Where is the exception handler?

The exception handler was replaced by the WaitForWindow and WaitForControl statements. Both statements return a value of true when a specific control or window is found. To handle a known exception, create an If statement based on the WaitForWindow or WaitForControl statement.


Q. How do I create global variables?

Global variables are not supported in QA Wizard Pro. Following are some options you can use instead of global variables:

  • Passing data to or from a block of code in a called script. QA Wizard Pro now supports functions, so in most cases, you can define a function, which takes a list of data values when it is run and can return a value.
  • Use a local or external datasheet if you want to persist values between script runs. See the documentation for the OpenRecordSet(), GetRowValue(), and SetRowValue() functions for additional information.
  • Use the GetScriptVariable() and SetScriptVariable() functions to retrieve or change variables from another script.


Q. What happened to silent mode?

Silent mode was replaced by remote script execution, which is more flexible and scaleable than silent mode. You can farm scripts out to multiple machines from a central location. This can simulate multiple users interacting with a Web site or client/server application in parallel.


Q. Where are the focus, child count, and contains checkpoints?

Checkpoints are more flexible in QA Wizard Pro. In QA Wizard 4.x, there were different steps to create a focus, child count, or contains checkpoint. In QA Wizard Pro, you create every checkpoint the same way, and all checkpoints evaluate control or window properties. Evaluate the Focused property to create a focus checkpoint. Use the Number of Items property for a child count checkpoint and the ListItems property for a contains checkpoint.


Q. How do I create a runtime checkpoint?

To capture the value of a control property at runtime, use the GetControlData function, which uses the following syntax:

GetControlData(“WindowName”, “ControlName”, “PropertyDisplayName”).

You can set a variable equal to the function or use it directly in other statements. For example, the following captures the text entered into the Email Address field and saves it to a variable named ‘EMAIL’:

EMAIL = GetControlData(“Feedback Form”, “Email Address”, “Text”)


Q. How do I specify the browser that a batch file uses?

Batch files use the browser of the computer they run on. To select the browser, start QA Wizard Pro on the computer that will be running the batch files. Choose Tools > Browser and select Internet Explorer or Firefox.


Q. Where are the database connections?

In QA Wizard Pro, external datasheets replace database connections. External datasheets allow you to connect to a data source without specifying complex data link properties or record sets. Database navigation statements are now optional. When you associate an external datasheet with a script, QA Wizard Pro automatically treats the entire script as a loop and repeats the script until all the records are used.


Q. Where is the Variable Data view?

QA Wizard 4.x stored data captured during recording and at run-time in the Variable Data view. In QA Wizard Pro, the data is stored in the script steps. You can copy the data to a local datasheet to create iterations.


Q. How do I bind an object in QA Wizard Pro?

With the introduction of the application repository, it is no longer necessary to bind similar objects. Each control has a unique set of properties so it is much easier for QA Wizard Pro to correctly locate similar controls.


Q. How do I add commands?

QA Wizard Pro does not distinguish between commands and statements. Every script step is a statement. The commands from QA Wizard 4.x (Close Window, Key Press, etc.) are collected in the Procedure, Object Action, Window Action, and Low-Level Action statement groups.














Issue Management Software | Source Code Control Software | Test Case Management