This file contains important information that may not appear in SilkTest Online Help. Read this file in its entirety.
For information about installation, deployment, and licensing issues (including the evaluation version of SilkTest), see the SilkTest Installation Guide.
For an overview of the new features, see the What's New section below.
| Contents | |||
|---|---|---|---|
| What's New | Resolved Defects | Installation Instructions | |
| System Requirements | Known Issues | Getting Help | |
This section lists significant enhancements and changes that were made for SilkTest 2009.
Warning: If you upgrade your licenses to use SilkTest 2009, the new license file(s) will not contain license keys for using any SilkTest International release. The license file(s) will not contain license keys to use the .NET, AOL and BlueExpress add-ons in conjunction with any version of SilkTest which precedes SilkTest 2009, and which supports these add-ons. Please consider this before you upgrade your licenses.
The xBrowser TechDomain includes the following new features:
Use the built-in recorder to configure your application and create a base state and testcase automatically. Record the actions that you want to test for a Web application or standard application. No manual coding is required. Then, replay the test at your convenience.
The Recorder can test the following application types:
Note: Recording is not supported for WPF and Firefox.
Recording Test Classes and Methods
Use the built-in recorder to create a base state, test class, and test method automatically. Create a test class for a Web application or standard application and then record the actions that you want to test. No manual coding is required. Then, replay the test at your convenience.
New Silk4J Toolbar Icons
Click
to access the Silk4J menu commands.
New Script Options
Specify script options for recording, browser and custom attributes, classes to ignore, synchronization, and the replay mode.
Recording Support for Web Applications that Use Internet Explorer
You can now record tests for Web applications that use Internet Explorer with Silk4J.
Support for Windows Forms Applications
You can now test standalone Windows Forms applications with Silk4J.
Support for Custom Controls in Flex Applications
Flex applications typically include custom controls. You can now configure Silk4J to test custom Flex controls.
When you use the SilkTest Open Agent, the Basic workflow uses dynamic object recognition to record and replay test cases that use XPath queries to find and identify objects. The Basic workflow includes the following procedures:
SilkTest provides an alternative to using Find or FindAll functions in scripts that use dynamic object recognition. You can use locator keywords in an INC file to create scripts that use dynamic object recognition and window declarations. The locator is the actual name of the object, as opposed to the identifier, which is the logical name. SilkTest uses the locator to identify objects in the application when executing testcases.
The advantage of using locators with an INC file include:
When a window declaration contains both locators and tags and either could be used for resolving the window, check or uncheck the Prefer Locator check box in the General Options dialog box to determine which method is used.
SilkTest provides built-in support for testing .NET standalone and No-Touch Windows Forms (Win Forms) applications using the Open Agent.
When you create a SilkTest Win Forms project, the SilkTest Open Agent is assigned as the default Agent. However, you can use both the Open Agent and the Classic Agent to test Win Forms applications. SilkTest automatically detects which Agent is required for each test based on the window declaration and changes the Agent accordingly.
Note: The DataGrid class works with both the Open and Classic Agents but supports different functions based on the Agent. Ensure that the window declaration calls the appropriate agent if you use a dual-agent testing environment and the DataGrid class.
The standard XPath constructs “.” and “..” are now supported.
The SilkTest Open Agent includes new functions and methods for the AnyWin class. New functions and methods include:
The SilkTest Open Agent includes new functions for the SWTTree class. New functions include:
The SilkTest Classic Agents supports all SYS functions. Now, the SilkTest Open Agent supports a subset of SYS functions. For example, if you use the SYS_SetDir function with the Open Agent, when the SYS function is replayed, SilkTest uses the Open Agent. However, if you use SYS_SetDir with the Classic Agent, when the SYS function is replayed, SilkTest uses the Classic Agent. All SYS functions that do not run on the Open Agent automatically default to the Classic Agent when a script is executed.
The following SYS functions are now supported on the Open Agent:
A new, standalone Recorder uses dynamic object recognition to record and replay test cases that use XPath queries to find and identify objects.
To open the Recorder, choose Start/Programs/Borland/SilkTest 2009/SilkTest Recorder.
The Recorder enables you to perform the following tasks:
The Recorder can record and replay tests for the following application types:
For additional information about Recorder, refer to the Recorder Help. To view the help, open Recorder and then choose Help/Help Contents.
Your computer must meet the hardware requirements listed below:
| System Area | Requirement |
|---|---|
| Platform | Windows XP version 5.1, SP1, SP1a, SP2, SP3; Windows Server 2003 SP2; Windows Vista |
| Processor | Intel Pentium processor running at 1 GHz |
| RAM | 1 GB RAM on a Windows machine. Add to this the amount of RAM required to run your application under test. |
| Hard disk space | 600 MB You may need to double the amount of hard disk space if you download and install the product locally. |
This section includes information about the supported environments and technologies for SilkTest 2009:
SilkTest 2009 runs on the following platforms:
SilkTest 2009 supports applications that use the following browsers/are developed in:
| Open Agent | Classic Agent | |
|---|---|---|
| Browser | IE 6, 7, 8; FF (replay only) 3.0, 3.5 | IE 6, 7, 8 (replay only) |
| Adobe Flex | 2.0, 3.0, 3.2, 3.3 | not supported |
| WinForms | .Net 2.0, 3.0, 3.5 | .Net 1.1, 2.0 |
| WPF | .Net 3.5 (replay only) | not supported |
| Java SWT (RCP) | 3.2, 3.3, 3.4, 3.5 | 3.0 |
| AWT/Swing | not supported | Java 1.4, 1.5, 1.6 |
| Win 32 | supported | supported |
Additionally, the SilkTest Extension Kits provide specialized support of custom objects. See the SilkTest 2009 Extension Kit for Windows and the SilkTest 2009 Extension Kit for .NET PDFs, located in the Documentation folder of your SilkTest installation, for more information.
Supported environments, by platform, are listed below. For supported environments, technical support is available and defects can be logged. Note that it is not possible to test all combinations. Experience indicates that various combinations can result in different behavior with SilkTest. Borland makes every attempt to test as many of these combinations as possible.
Windows Server 2003 (SP2)Silk4J supports the following technology domains using the SilkTest Open Agent:
Silk4J requires Eclipse 3.4 and Java Runtime Environment (JRE) version 1.6 or higher.
SilkTest supports testing Flex 2.0, 3.0, 3.2, and 3.3 applications using the following browsers:
Note: Currently, Adobe offers experimental support for Flex applications in AIR. As a result, you may encounter issues when testing Flex in Adobe AIR that are not related to SilkTest.
SilkTest supports the following Java components:
SilkTest supports Infragistics NetAdvantage WinForms UltraWinGrid and UltraWinToolbar controls within the following versions of the NetAdvantage Suite:
SilkTest can be configured post-installation to support NetAdvantage version variations in the last two version fields, for example, x.x.20061.28, as described in the SilkTest Online Help.
The CLR 2.0 library differs from the CLR 1.1 library. As a result, .dll files cannot be shared between CLR 2.0 and 1.1.
SilkTest's Data Driven Workflow supports:
SilkTest accesses the preceding databases using ODBC and therefore supports the versions of those databases that have a working ODBC driver.
Note: The SilkTest Select Data Source dialog box allows you to choose either the Silk DDA Excel or the Segue DDA Excel data source. For new data driven testcases, choose the Silk DDA Excel data source. Choose the Segue DDA Excel data source for backward compatibility. This allows existing .g.t files that reference Segue DDA Excel to continue to work.
SilkTest's interface with the PVCS proprietary API supports:
| Database version (archive directory) | Supports PVCS version |
| 6.5 | 6.5, 6.7, 7.5 |
| 6.7 | 6.7, 7.5 |
| 7.5 | 7.5 |
We assume that you are familiar with PVCS and are familiar with how PVCS works. If you are not, consult your PVCS documentation and PVCS release notes for more information.
TopThe following items have been resolved in SilkTest 2009.
| Defect # | Description | Fix Applied | Notes |
|---|---|---|---|
| 32260 | Error: Window does not define a tag for Microsoft Windows XP using Classic 4Test. | 2009 | |
| 32416 | Regression: java.exe encounters problems when using GetContents. | 2009 | |
| 33982 | Changing font from SilkTest "Print" dialog box reduces font size in editor. | 2009 | |
| 34833 | stuff() is not inserting a character correctly if the position is the last possible position. | 2009 | |
| 36500 | Regression from 8.0 GetContents() crashes application under test. | 2009 | |
| 41804 | JFC: When executing certain test cases, the error "*** Error: Internal error in agent - Read past end of buffer" occurs. | 2009 | |
| 42157 | SilkTest crashes with a General Protection Fault due to corrupted memory. | 2009 | |
| 42190 | TreeView.Expand() does not report an error when a node is not expandable. | 2009 | |
| 42247 | PushTestInfo changes the runtime window title. | 2009 | |
| 42315 | When GetContents() is called against DataGrid(.Net 2.0), the error "Internal error in agent: Read past end of buffer" occurs on runtime. | 2009 | |
| 42746 | Default enable extension and record actions do not work with browser applets and JRE version 1.6.0_10 and later. | 2009 | |
| 42821 | SilkTest 2008 R2 - GetProperty("$FontStyle") returns the wrong font for Htmltext. | 2009 | |
| 42841 | SilkTest makes popup menus unusable when hooked. | 2009 | |
| 42851 | SetText in the xBrowser TechDomain sets text in a disabled DomTextField. | 2009 | |
| 42873 | Performance: ClassicAgent continuously consumes more and more handles. | 2009 | |
| 43079 | SilkTest crashes if the extend \ attributes.ini file is missing or read only. | 2009 | |
| 43085 | The 4test Inc File Generator is missing from the Control Center. | 2009 | |
| 43091 | IE crashes when Adobe PDF add-on is installed. | 2009 | |
| 43147 | Browser.inc contains an incorrect declaration for the BrowserMessage Yes button. | 2009 | |
| 43178 | 4test editor page loses scroll bar and fails to display certain lines of code. | 2009 | |
| 43217 | GetCaption always returns the same for browsers on the Open Agent. | 2009 | |
| 43251 | Unable to launch Open Agent when using certain option sets. | 2009 | |
| 43279 | Call to Table.FindCell() results in the Java application crashing. | 2009 | |
| 43335 | In-page video player causes SilkTest to crash. | 2009 | |
| 43360 | Failure to instantiate the enumerated data type will cause partner.exe to crash. | 2009 | |
| 43535 | partner.exe crashes when loading last used project at partner startup. | 2009 | |
| 43571 | BrowserWindow.Close() throws an error with IE6. | 2009 | |
| 43739 | Sys_Execute() is returning garbled text instead of UTF-8 encoded Russian text. | 2009 | |
| 43765 | Tests run much slower after upgrading from SilkTest 2008 SP1. | 2009 | |
| 43900 | Unable to verify a text field when using the IsVisible method in SilkTest Open Agent. | 2009 | |
| 44173 | Application under test crashes when using "Start Record Locator" mode. | 2009 | |
| 44221 | SWT 3.4 - SelectRow always selects first column (SWTTable). | 2009 | |
| 44344 | The MoveMouse() method fails on WPF calls if no coordinates are specified | 2009 |
SilkTest's known issues and their resolutions are documented in the support database. Navigate to support.borland.com for further assistance from Technical Support.
For information about installation, deployment, and licensing issues (including the evaluation version of SilkTest), see the SilkTest Installation Guide.
For information about using SilkTest, see the SilkTest Online Help, available from Help > Help Topics. You can also walk through the SilkTest tutorials, available from Start > Programs > Borland > SilkTest 2009 > Documentation.
Borland offers a variety of support options. To find out about support options, refer to Borland Answers at http://support.borland.com. From the web site, you can:
Find out how to contact Technical Support
Browse the Borland Knowledge Base
Access peer-supported product Forums for exchanging information, tips, and techniques
If your company has a support contract, you can open and update support cases, request product updates, browse Patches and Service Packs, and sign up for e-mail alerts from this web page.