Segue Release Notes To Segue's Web site

SilkTest ® 8.0       What's new
       Supported environments and technologies
       Recommended configuration
       What we fixed and enhanced in this release
       Known issues and workarounds

Last updated on July 12, 2006

© Segue Software, 2006

 
  What's new

This section lists significant enhancements and changes that were made to the product for SilkTest 8.0, and tells you where to look for more information when appropriate.

Technology Support

SilkTest 8.0 includes both new and updated support for several leading technologies:

Test Creation and Maintenance

SilkTest 8.0 includes the following enhancements geared towards easing the creation and mitigating the maintenance of tests:

Compatibility with previous releases

This release includes modifications and deletions to supported versions of Windows as well as GUI and browser specifiers. This means that any existing object files will be incompatible with this release, and source files will be automatically recompiled if they are available. If you run object files only, you will have to recompile the sources for those objects before you can use them with SilkTest 8.0.

This release does not support the Virtual Object (VO) extension; to test web applications in browsers, you must use the Document Object Model (DOM) extension.

If you use the new attributes tagging on a project from a previous version of SilkTest, you will no longer be able to use what is now a 8.0 project with previous versions of SilkTest. For more information, see the known issue.

There is no support for SWT controls or Eclipse applications on UNIX through the SilkBean.

Where to go for more information

We have updated the following documentation for SilkTest 8.0:

Be sure to visit our online Technical Support website for FAQs, Knowledge Base, Forums, Downloads, Case Tracking, Case Logging and more.

Segue offers instructor-led online courses which are designed to teach Segue users, like you, how to maximize your business applications' reliability with Segue. Each course addresses the specific needs of Segue users and are all taught by qualified instructors.

There are additional SilkTest materials that you may find helpful:

To top of
what's new
To top of
release notes

 

  Supported environments and technologies

This section includes information about the supported environments and technologies for SilkTest 8.0:


Platforms for SilkTest User Interface and Windows Agent

The SilkTest 8.0 User Interface and the SilkTest 8.0 Windows Agent run on the following platforms:

SilkTest 8.0 Windows-only testing supports applications which use the following browsers:

For more information, see this table which lists more details about the different combinations that SilkTest 8.0 for Windows supports.

SilkTest 8.0 Windows-only testing also supports applications developed in:

Additionally, the SilkTest Extension Kit provides specialized support of custom objects. See the online help for more information about the Extension Kit.


Platforms for SilkTest 8.0 Linux and Solaris Agents

SilkTest 8.0 Agent for Red Hat Linux runs on the following platforms:

SilkTest 8.0 requires that you apply any current Red Hat updates for both Linux workstations.

SilkTest 8.0 Agent for Sun Solaris runs on the following platforms:

The Agent for Sun Solaris supports 32-bit applications only.

SilkTest 8.0 Agents for Linux and Solaris support applications developed in:

Java versions

SilkTest supports the following Java components:

The SilkTest SilkBean allows for playback with SilkTest_Java3.jar. If you are going to test SilkBean we advise that you do not use SilkTest_Java2.jar for playback instead of SilkTest_Java3.jar. For more information on configuring the SilkBean, see the online Help topics under "Testing with the SilkBean."

SilkTest does not support JVM 1.4.1_03.


Infragistics Support

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, 20043.27, as described in the SilkTest online help.


Supported DSNs

SilkTest's Data Driven Workflow supports:


Supported versions of PVCS

SilkTest's proprietary version of PVCS 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.



To top of
supported environments
To top of
release notes

 

  Recommended configuration

We recommend that you run SilkTest with:

For more information about SilkMeter license server requirements and other important installation guidelines, see the Installation Guide.

To top of
release notes

 

  What we fixed and enhanced

This section provides a list and descriptions of defects and enhancements reported against a previous release that were fixed in this release.

To top of
release notes

Changes to supported platforms and environments

In version 8.0, SilkTest has discontinued support for certain platforms and application environments:

In general, SilkTest attempts to preserve backward compatibility. However, the discontinuation of support for VO extensions, leaving only one extension (the DOM extension) per browser version, made it desirable to streamline the list of browser specifiers in 4Test.inc. Additionally, 4Test.inc included several GUI specifiers that represented platforms that have not been supported for quite a few versions of SilkTest, so the list of GUI specifiers has also been trimmed. If your automation uses GUI or browser specifiers that have been eliminated or renamed, then you will need to modify it. There is information available from the Technical Support web site that describes the changes to the specifier lists and will aid you in updating your automation.

To top of
fixes
To top of
release notes

Attributes tagging

Previously, SilkTest recorded five tags to identify Html page elements: caption, prior text, index, window ID, and element. In SilkTest 8.0, there is an additional tag named "attributes”, which gives you a flexible new way to uniquely identify an Html page location. You use the attributes tag to select any Html attribute you want to record, including custom attributes.

There are two changes to SilkTest that are related to attribute tagging:

The attributes tag does not use the [n] notation to distinguish between windows with the same value of the tag. For more information see "Attributes tag notation" and the "Enabling Html class attribute recording" topics in the online Help.

To top of
fixes
To top of
release notes

DOM extension

To top of
fixes
To top of
release notes

Java support

To top of
fixes
To top of
release notes

ActiveX/VB extension

To top of
fixes
To top of
release notes

General

To top of
fixes
To top of
release notes

 

  Known issues and workarounds

This section contains a list of known issues and limitations that were not fixed in this release, and provides workarounds whenever possible.

To top of
release notes

SWT and Eclipse Issues

Scripting against popup menus and popup windows

SilkTest 8.0 can only record against popup menus which appear as a result of an action on a JavaMainWin or JavaDialogBox control. SilkTest cannot record popup menus that appear as a result of other SWT controls. SilkTest is also unable to record a DropDown action on JavaSwtDropDownButton control.

You can, however, hand script the interaction against popup menus and popup windows. The following samples describe how to:

Add the declarations by hand

One alternative is to add the declarations of popup menu and needed menu items by hand. The bold text in the sample below shows what you would need to add a test script so that SilkTest can activate an SwtTestApp/Standard control/Toolbar against a Menu Dropdown button that appears on the toolbar.

	[+] window JavaMainWin SWTControls
		[ ] tag "SWT Controls"
		[-] JavaSwtPopupMenu PopMenu
			[ ] tag "$Menu"
			[ ] 
			[-] JavaSwtMenuItem Apples
				[ ] tag "Apples"
			[-] JavaSwtMenuItem Oranges
				[ ] tag "Oranges"
		[+] JavaSwtPageList TabFolder
			[-] multitag "TabFolder"
				[ ] "$TabFolder"
			[-] JavaSwtPage ToolBar
				[-] multitag "ToolBar"
					[ ] "$Composite"
				[-] JavaSwtGroup Group1
					[-] multitag "#1"
						[ ] "$Group[1]"
					[-] JavaSwtGroup ToolBarWithChildControl
						[-] multitag "ToolBar with child control"
							[ ] "$Group[3]"
						[+] JavaSwtToolBar ToolBar
							[+] multitag "#1"
								[ ] "$ToolBar"
							[+] JavaSwtDropDownButton PopupDropdown
								[-] multitag "popup dropdown"
									[ ] "$ToolItem[2]"
							[-] JavaSwtDropDownButton MenuDropdown
								[-] multitag "menu dropdown"
									[ ] "$ToolItem[1]"
	[+] window DialogBox Information
		[ ] tag "information"
		[ ] parent SWTControls
		[-] PushButton OK
			[-] multitag "OK"
				[ ] "$2"
	[+] window JavaDialogBox Shell
		[ ] tag "#1"
		[ ] parent SWTControls
		[-] JavaSwtListBox xList
			[-] multitag "#1"
				[ ] "$List"
	[ ] 
	[ ] 
	 [+] testcase tcPopupMenu_Example() appstate none
		[-] recording
			[ ] SWTControls.SetActive ()
			[ ] SWTControls.TabFolder.ToolBar.Group1.ToolBarWithChildControl.ToolBar.MenuDropdown.DropDown ()
			[ ] SWTControls.PopMenu.Oranges.Pick ()
			[ ] Information.SetActive ()
			[ ] Information.OK.Click ()v
			[ ] 
		[ ]
		

Using the ActiveMenuSelect function

The previous example shows the text that you would need to add to a script in order for SilkTest to successfully play back popup menus. Handscripting this information can be prone to errors especially when there are multiple popup menus, for example with toolbars that have multiple dropdown buttons. Each of buttons actually brings its own popup menu, but in declarations all menu items from different menus appear in one large declaration which is not ideal. There is a way to declare such things dynamically, but the syntax is not obvious.

To resolve this issue you can now use the new ActiveMenuSelect method. ActiveMenuSelect is applicable to SWT controls only; you cannot apply it to JavaMainWin or JavaDialogBox controls. (You should not need to apply ActiveMenuSelect to those controls as recording and playback for Popup menus originates from the top-level windows and do not need any additional scripting.)

The function has a following declaration

ActiveMenuSelect (wWINDOW, sMenuItem)

You can use the ActiveMenuSelect function on any control if the resulting action on the control displays a popup Menu. It picks the specified item from a Popup Menu. For example:

	 MyControl.DoSomethingToShowPopupMenu ()
	ActiveMenuSelect (MyControl, "MyFavoriteMenuItem")

A longer sample of using this function for SwtTestApp/StandardControl/Toolbar on MenuDropdown button in a toolbar is shown below. Notice there are two testcases in this fragment; the second testcase is an example of using the DropDownMenuSelect method.

	 [-] window JavaMainWin SWTControls
		[ ] tag "SWT Controls"
		[+] JavaSwtPageList TabFolder
			[-] multitag "TabFolder"
				[ ] "$TabFolder"
			[-] JavaSwtPage ToolBar
				[-] multitag "ToolBar"
					[ ] "$Composite"
				[-] JavaSwtGroup Group1
					[-] multitag "#1"
						[ ] "$Group[1]"
					[-] JavaSwtGroup ToolBarWithChildControl
						[-] multitag "ToolBar with child control"
							[ ] "$Group[3]"
						[+] JavaSwtToolBar ToolBar
							[+] multitag "#1"
								[ ] "$ToolBar"
							[+] JavaSwtDropDownButton PopupDropdown
								[-] multitag "popup dropdown"
									[ ] "$ToolItem[2]"
							[-] JavaSwtDropDownButton MenuDropdown
								[-] multitag "menu dropdown"
									[ ] "$ToolItem[1]"
	[+] window DialogBox Information
		[ ] tag "information"
		[ ] parent SWTControls
		[-] PushButton OK
			[-] multitag "OK"
				[ ] "$2" 
	[ ] 
	[+] testcase tcActiveMenuSelect_Example() appstate none
		[-] recording
			[ ] Window w
			[ ] SWTControls.SetActive ()
			[ ] SWTControls.TabFolder.ToolBar.Group1.ToolBarWithChildControl.ToolBar.MenuDropdown.DropDown ()
			[ ] w = SWTControls.TabFolder.ToolBar.Group1.ToolBarWithChildControl.ToolBar.MenuDropdown
			[ ] ActiveMenuSelect (w, "Oranges")
			[ ] Information.SetActive ()
			[ ] Information.OK.Click()
			[ ] 
		[ ] 
	[+] testcase tcDropDownMenuSelect_Example () appstate none 
		[+] recording
			[ ] SWTControls.SetActive ()
			[ ] SWTControls.TabFolder.ToolBar.Group1.ToolBarWithChildControl.ToolBar.MenuDropdown.DropDownMenuSelect ("Apples")
			[ ] Information.SetActive ()
			[ ] Information.OK.Click()
		[ ]
		

Using the DropDownMenuSelect method for JavaSwtDropDownButton

The dropdown button is the most common way of generating Popup menus in SWT. The dropdownbutton.DropDownMenuSelect(sItem) method combines the DropDown method and the ActiveMenuSelect function in a single method for the JavaSwtDropDownButton class. See above for an example of how to use it.

Scripting Popup windows that appear as a result of an action on dropdown button

In this case only the DropDown action on JavaSwtDropDownButton is not recorded but the Popup Window is recorded and played correctly. This means that you only have to insert a line with the DropDown statement into the script.

The sample code below shows how SilkTest records the SwtTestApp/Standard Control/Toolbar with a popup dropdown button in toolbar.

	 [+] window JavaMainWin SWTControls
		[ ] tag "SWT Controls"
		[+] JavaSwtPageList TabFolder
			[-] multitag "TabFolder"
				[ ] "$TabFolder"
			[-] JavaSwtPage ToolBar
				[-] multitag "ToolBar"
					[ ] "$Composite"
				[-] JavaSwtGroup Group1
					[-] multitag "#1"
						[ ] "$Group[1]"
					[-] JavaSwtGroup ToolBarWithChildControl
						[-] multitag "ToolBar with child control"
							[ ] "$Group[3]"
						[+] JavaSwtToolBar ToolBar
							[+] multitag "#1"
								[ ] "$ToolBar"
							[+] JavaSwtDropDownButton PopupDropdown
								[-] multitag "popup dropdown"
									[ ] "$ToolItem[2]"
							[-] JavaSwtDropDownButton MenuDropdown
								[-] multitag "menu dropdown"
									[ ] "$ToolItem[1]"
	[+] window DialogBox Information
		[ ] tag "information"
		[ ] parent SWTControls
		[-] PushButton OK
			[-] multitag "OK"
				[ ] "$2"
	[+] window JavaDialogBox Shell
		[ ] tag "#1"
		[ ] parent SWTControls
		[-] JavaSwtListBox xList
			[-] multitag "#1"
				[ ] "$List"
	[ ] 
	[ ] 
	
	[+] testcase tcPopupWindow_Example() appstate none
		[-] recording
			[ ] SWTControls.SetActive ()
			[ ] SWTControls.TabFolder.ToolBar.Group1.ToolBarWithChildControl.ToolBar.PopupDropdown.DropDown ()
			[ ] Shell.SetActive ()
			[ ] Shell.xList.Select ("Peaches")
			[ ] Information.SetActive ()
			[ ] Information.OK.Click ()
		[ ] 

To top of
known issues
To top of
release notes

Attributes tag issues

To top of
known issues
To top of
release notes

Firefox issues

To top of
known issues
To top of
release notes

Internet Explorer issues

To top of
known issues
To top of
release notes

General issues

To top of
known issues
To top of
release notes

 

Copyright Notice

© Copyright 1992 - 2006 Segue Software, Inc. All Rights Reserved. Trademark, warranties and disclaimers and software licensing rules apply. Please contact Segue with questions or comments.