Cogitek RIATest 4 Documentation
Copyright © Cogitek Inc.
What's new in RIATest 4.6.1
Hotfix: crash in certain conditions when executing actions (was introduced in 4.6).
Older Changes
Changes from version 4.5 to 4.6:
Added support for SkinnablePopUpContainer.
Fixed long-standing crash bug on tooltip expression evaluation.
Mac: Fixed crash after "Remote call timed out" error message.
Changes from version 4.4 to 4.5:
Mac: fix encoding problems when pasting from TextWrangler.
Update code signing to confirm to Windows UIA requirements.
Eclipse/Flash Builder plugin bug fixes.
Changes from version 4.3 to 4.4:
Eclipse/Flash Builder plugin Beta (see below).
Runtime Loader for Flex SDK 3.6 and SDK 4.6 applications.
closeBrowser no longer crashes when passed a wrong parameter type.
CSVStream.readLine no longer crashes on incorrect file streams.
exitProject() function now works correctly.
Fix handling of script files which do not confirm to UTF-8 encoding.
Changes from version 4.2 to 4.3:
RIATest License Server can now serve version 3 and 4 licenses simultaneously.
exitProject() script function added.
/ox and /oj command line options can be now specified simultaneously.
Bug fixes.
Changes from version 4.1 to 4.2:
Multiple RIATest instances can be run simultaneously on one machine.
Spark DataGrid support added.
Code completion improvements.
System event simulation on Flex objects now works correctly on multi-monitor systems.
Ability to find a descendant of SysLocator (getDescendant function).
New script functions added (getTypeName, toPrintableString, hasOwnProperty, getProcessId, getWindow, getLastBrowser).
Bug fixes.
Changes from version 4.0 to 4.1:
Flex 4.5 support.
JUnit style reporting. See command line option /oj.
New project option to enable/disable Windows UI Automation per project.
Bug fixes.
Changes from version 3.8.1 to 4.0:
General
Windows UI Automation now available.
Image-based component automation.
Bitmap checkpoints (Image verification).
OS-level keyboard and mouse event emulation [Windows only].
IDE
Callstack view.
Watch view.
Object Inspector view [Windows only].
Image Repository view.
Find in Files.
Additional debugging control (Step Over, Step Out, Run To Cursor, Set Position To Cursor).
RIAScript Language
SysLocator
to represent Windows UI objects.
XML
and
XMLList
objects.
Flex
object to group Flex-related top-level functions.
UI object properties are now settable.
'for-in' statement.
'continue' statement.
Locator multiple-match fetching (
getMultipleMatches
function).
Extra location capabilites (
getAutomationChildren
function,
automationParent
property).
getBounds
function returns global coordinates of the object.
exitScript
function.
Print stack trace on errors.
Agent
Object Inspector for secondary AIR windows.
Configurable locator behavior (
setLocatorOption
function).
Multiple connections with same application ID now supported.
User-defined Flex Global Exception handler function (
registerErrorHandler
function).
Older Changes
Changes from version 3.8 to 3.8.1:
Fix re-throw bug (was not working).
Fix crash of exec() function on certain regular expressions.
closeBrowser now cancels the waiting for Agent connection initiated by previous openBrowser call.
Changes from version 3.7 to 3.8:
Date.getTimezoneOffset() bug fixed (was working wrong on Mac).
Added keyPress event support to SparkListBase.
Fixed: "break" from "switch" had no effect if placed inside a brace block.
Fixed: it was impossible to set breakpoints after some statements.
Fixed: crashed in certain cases when a file open in editor was modified outsite RIATest.
Changes from version 3.6 to 3.7:
Project workspace is now saved anytime the project is saved.
Added support for text input related events for SparkComboBox.
Fixed incorrect ordering of parameters in calltips for certain functions.
Fixed CSVStream.writeLine bug.
Changes from version 3.5 to 3.6:
Methods of GUI objects can be now called without declaring them in class information file.
Fixed crash on include statement trying to access unreadable files.
Changes from version 3.4 to 3.5:
Spark ItemRenderer support.
Drag/drop support for Spark List.
Spark ButtonBarBase and TabBar support.
Fixed: breakpoints could not be set on some assignment expressions and the following lines.
Fixed syntax error message on incorrect assignment expressions.
Changes from version 3.3 to 3.4:
Flex 4 Spark components support.
Process.read() now correctly returns data even if the process is already terminated.
Fixed crash on editor selection scrolling out of view.
Fixed crash on Mac when adding new group.
Fixed HTML report date/time output for empty scripts.
Fixed code completion bug.
Changes from version 3.2 to 3.3:
Flex SDK 3.5 support added.
Windows 7 support added.
Fixed startup crash on invalid classinfo XML files.
Changes from version 3.1 to 3.2:
Improved documentation.
TabNavigator itemClick recording fixed.
Fixed crash on Process constructor if argument contained % character.
Fixed crash on empty RegExp to string conversion.
License Server Monitor now correctly accepts floating license keys (was bug in 3.1)
Other bug fixes.
Changes from version 3.0 to 3.1:
Fixed Flex 4 AIR secondary window support bug.
Fixed IE8 operation when RIATest was launched by a Windows service.
Fixed RIATest Agent startup bug for certain applications.
Fixed crashes caused by background syntax checker on certain errors.
Detect stack overflow if infinite recursion happens on certain built-in functions.
Correct masks in file selection dialogs on Mac.
Changes from version 2.4 to 3.0:
General
Mac OS X version now available.
Flex 4 Spark components preliminary support.
Test results converter utility rtxml2html.
IDE
Code Completion.
Background Syntax Check.
Test results visualization reports.
Recording options (automationName/id, minimal/verbose).
Developer productivity mode (always accept connections).
RIAScript Language
try/catch/finally statements.
Customizable error handling via
setErrorMode
function.
FileStream
object (low-level file operations).
CSVStream
object (CSV file reading and writting).
Ability to call JavaScript functions via
externalCall
function.
Ability to access project options via
getProjectOptions
function.
Ability to delay execution via
setExecutionDelay
function.
assert
/
verify
functions now accept optional error message to print.
Agent
Component icons are shown in hierarchy inspector.
Connect button now available when not connected.
Ability to specify classinfo from
delegate class
.
Separate Runtime Loader now available for each Flex SDK version 3.0-3.4, 4.0.
Older Changes
Changes from version 2.3 to 2.4:
Flex 4 Halo applications are now supported.
Fixed runtime error with Flex 3.3 and Flex 3.4 applications.
RIATestAgent.swc is now linking externally to all libraries.
Changes from version 2.2 to 2.3:
Fixed Process.read() bug (sometimes returned garbage).
Fixed Agent toolbar styles for custom skinned applications.
Fixed project desktop restoring bug (incorrect operation with .rtw files).
Fixed Number.toString() bug.
Fixed IDE crash on externally modified file reload.
Execution now properly finishes when running a project without "Close browser on test complete" option from command line.
Label-less TabNavigator now supported.
Changes from version 2.1 to 2.2:
Fixed bug with double Agent toolbars appearing if a popup was created in the preinitialize event of application.
Fixed URL expansion when using local RIATest Loader.
Changes from version 2.0 to 2.1:
switch
statement parsing bug fixed.
Locator compose operator -> bug fixed (was modifying left argument).
Vista/IE7 browser is now closing normally at the end of execution.
RIATest Loader now works with IE7.
RIATest Loader now works with applicaitons compiled with Flex SDK 3.2.
New command line option /rf to specify a file listing enabled/disabled state of scripts.
Command line option /l now correctly processes custom commands which include url to launch.
Exit code 6 now returned as expected on agent connection time out.
Installer adds riatest.exe to Windows Firewall exceptions to avoid warning message when launching applications.
DateField keyboard and text selection events are now correctly replayed.
Date type properties are now natively transfered from Flex application to RIATest.
Added new <results> node to XML results file.
Changes from version 1.6 to 2.0:
General
Object can be now located using any property or combination of properties.
Locators now accept RegExp for pattern matching against property values.
Ability to have full manual control on browser opening and shutdown (openBrowser/closeBrowser global functions).
Any property of component can be now retrieved, including complex types (e.g. ArrayCollection, etc.).
Can automate context (right-click) menu.
Ability to pass external project global parameters when running from command line and use them from within test script.
Tabular Data support.
IDE
Capability to run single or multiple scripts or groups instead of the whole project.
Breakpoints.
Code Edit and Continue.
Capability to output test results in XML format.
Option to disable current line animation when running.
Option to open new script files in existing editor window when running.
External project global parameters definition window.
Editor bookmarks.
Messages view filters.
RIAScript Language
New 'switch' statement.
New Date Object.
New Math Object.
New RegExp Object.
New UIDUtil Object.
Agent
Object Inspector now also shows object hirerachy.
Option to show all properties of objects in Object Inspector.
Inspection performance is improved.
Agent window can be moved and resized even when inspecting.
Changes from version 1.5 to 1.6:
Fix Agent toolbar in some AIR Applications (toolbar was not visible in WindowedApplication with unspecified widht and height).
itemClick events on charts are now recorded and executed properly.
Changes from version 1.0 to 1.5:
Custom components are now fully supported. Read details
here
.
Multiple simultaneous SWF applications can now connect and be automated by RIATest.
Flex 2 support added (RIATestAgent2.swc Agent for Flex 2 applications provided).
New RIAScript
Process
class to control external processes.
'Exec Command' project launch option added (useful for AIR applications).
Batch execution time limit (command line -t option) and error number limit (command line -e option) features.
Improved automatic synchronization (now synchronizes on the event's related objects too).
Environment variable RIATEST is registered during installation and points to the installation directory.
The RIATest Agent Toolbar is now hidden when running.
Runtime Loader is now marked by the installer as Globally Trusted to avoid security related problems.
Empty FormItem labels no longer result in a crash and are inspected properly (workaround Flex SDK bug).
Non-List (e.g. DataGrid) dropDownFactory for the ComboBox selection change event is now recorded properly (workaround Flex SDK bug).
RIATest now runs on Windows 2000.
Bug fixes.
Found a typo? Have a suggestion? Please
submit your request here
.