Silktest2010初体验

SilkTest2010以套装形式发布,包含了SilkTest Workbench、Silk4NET、Silk4J、SilkTest Classic等几个主要组件。

 

MicroFocus在收购了Borland的SilkTest和Compuware的TestPartneer后对两款同类型的产品做了第一次的整合。

 

SilkTest Product Suite

The SilkTest product suite includes the following components:

• SilkTest Workbench – SilkTest Workbench is the new, native quality testing environment that offers .NET scripting for power users and innovative storyboard-based visual tests to make testing more accessible.

• Silk4NET – The Silk4NET Visual Studio plug-in enables you to create Visual Basic or C# test scripts directly in Visual Studio.

• Silk4J – The Silk4J Eclipse plug-in enables you to create Java-based test scripts directly in your Eclipse environment.

• SilkTest Recorder – SilkTest Recorder enables you to record and replay tests using a GUI and then export those tests to SilkTest Classic, Silk4J, or Silk4NET.

• SilkTest Classic – SilkTest Classic is the traditional, 4Test SilkTest product.

• SilkTest Agents – The SilkTest Agent is the software process that translates the commands in your tests into GUI-specific commands. In other words, the Agent drives and monitors the  application you are testing. One Agent can run locally on the host machine. In a networked environment, any number of Agents can run on remote machines.

 

注意:安装Silk4NET需要VS2010,安装Silk4J需要Eclipse

 

SilkTest支持的操作系统

SilkTest 2010 runs on the following platforms:

• Windows XP SP3

• Windows Vista SP1 or SP2

• Windows 7

• Windows 2008

• Windows 2008 R2

 

注意:Windows XP Sp2和Windows 2003 Server不再被支持:

End-Of-Life (EOL) Components

The following operating systems, features, and integrations are not supported in SilkTest 2010.

• StarTeam integration

• PVCS integration

• SilkTest Classic 4Test outline Editor mode

Note: SilkTest Classic will continue to be supported. This change will not affect most SilkTest Classic

users.

• Java 1.4

• Windows 2003 Server

• Windows XP SP2

 

Adobe Flex Support(不支持Flex4)

SilkTest supports testing Flex 3.0, 3.2, 3.3., 3.4, and 3.5 using the following:

• Internet Explorer 8 (GA)

• Internet Explorer 7 (GA)

• Firefox 3.0, 3.5, 3.6 (playback only)

• Standalone Flash Player 10

• Adobe AIR

• Internet Explorer 6 (SP 1 and SP 2)

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.

 

对Java的支持

Open Agent Support

SilkTest supports the following Java components for SilkTest Workbench, SilkTest Recorder, Silk4NET, Silk4J,SilkTest Classic using the Open Agent:

• Eclipse 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, and 3.6 SWT standalone and Rich Client Platform (RCP) applications (SWT standalone applications executed as an applet in the browser not supported, embedded IE control inside of SWT standalone or RCP application not supported)

• Java version 1.5 and 1.6

Classic Agent Support

SilkTest supports the following Java components for SilkTest Classic using the Classic Agent:

• IBM JRE 1.5

• Java version 1.5 and 1.6

• AWT

• Java Foundation Classes (JFC, Swing)

• Symantec Visual Café

• Applets

注意: Applets不被IE8所支持.

 

SilkTest Workbench新特性

 

Visual Tests

SilkTest2010的Visual Tests类似于QTP的Keyword View和Active Screen

 

SilkTest Workbench lets you quickly record and playback visual tests. Visual tests comprise the basic building blocks of an automated testing solution. SilkTest Workbench uses visual tests to mimic the actions that are performed while testing an application. With visual tests, you can:

• Record visual tests automatically, manually edit them, or use a combination of automatic and manual tests.

• Visually modify or create test steps and access step properties without having to access the live test application.

• Use the Visual Navigator to view information displayed in four panes that collectively provides a comprehensive view of each step in a visual test.

The Screen Preview, Storyboard, and Properties panes are synchronized with the Test Steps pane and display information specific to a selected step in the Test Steps pane. In this way, you can easily view all aspects of a step by selecting a step in the Test Steps pane, and then viewing information about the step in the other panes.

• Use the Identify Object dialog box to identify the locators for an application's objects and the properties for each object.

• Create test logic, including conditions, expressions, verifications, and error handling using the Test Logic Toolbox.

• Add synchronization steps to delay or wait for objects during playback.

• Configure the settings that dictate how and what actions are recorded and replayed.

• Review detailed test results, which provide a step-by-step record of the actions executed.

 

Embedded Scripting Language

SilkTest2010 Workbench采用VB.NET作为脚本语言。

 

SilkTest Workbench's scripting language is Microsoft's Visual Basic, a robust programming language that gives you total control over any application running in the Microsoft .NET framework. .NET scripts contain the functionality of a high-level programming language as well as features designed specifically for software control and testing. With scripts, you can:

• Record scripts automatically, manually edit them, or use a combination of automatic and manual tests.

• Leverage .NET scripting features to make manual scripting easier. These features include:

Identify Objects dialog box – View how locators identify the GUI objects within the test application and which properties are available for those objects.

• Auto-completion and Syntactical Assistance – These facilitate manual coding. Using auto-completion and syntactical assistance, you can automatically access, display, and enter .NET language elements, including keywords, enumerations, Boolean values, code syntax, available methods, and available .NET properties for any object.

• Create scripts to cover individual parts of a whole test flow, then use a driver script to call each part.

• Add .NET assemblies from the .NET framework as references for a .NET script.

• Add a file that the script references to logically segment code for distinct purposes.

• Compile and run scripts and use the Output window to review automation code and append additional user-defined output to provide supplemental information about a script.

• Find and replace code in scripts to speed script modification.

• Use bookmarks to navigate to key portions of the script.

 

 

SilkTest2010版本已知的一些问题

SilkTest 2010 Release - Known Issues

http://kb.microfocus.com/display/4/kb/article.aspx?aid=31481

 

 

 

 

 

 

附 SilkTest资源列表:

SilkTest官方网站:
http://www.microfocus.com/products/silk/silktest/index.aspx

SilkTest2010帮助文档:
http://techpubs.borland.com/silk_gauntlet/SilkTest/

SilkTest 2010 Tutorials:
http://techpubs.borland.com/silk_gauntlet/SilkTest/2010/tutorials/

SilkTest学习笔记:
http://www.docin.com/p-87637423.html

SilkTest2008初印象:
http://www.docin.com/p-87658181.html

Flex自动化功能测试工具大比拼:
http://blog.csdn.net/Testing_is_believing/archive/2010/01/09/5163447.aspx

SilkTest框架:
http://www.Open2Test.org/downloads/SilkTestJava.zip

 

 

SilkTest版本对应关系:

Product Name

Version

SilkTest 2006 8.1
SilkTest 2006 R2 8.5
SilkTest 2008 9.0
SilkTest 2008 SP1 9.1
SilkTest 2008 R2 9.2

 

 

 

 

 

 

 

 

posted on 2010-10-17 21:27  TIB  阅读(2908)  评论(1编辑  收藏  举报

导航