SilkTest 2010 R2 Release
上一篇 / 下一篇 2011-01-20 15:09:06 / 个人分类:蓝天测试
December 2010
QU Amx|L:eQ6D0This file contains important information that might not appear in the Help. Read this file in its entirety.
B*W4vvsr&c[0For information about installation and licensing issues, refer to theSilkTest Installation Guide.51Testing软件测试网7A*Dc8^3t2f8Ud
Navigate tosupportline.microfocus.comfor further assistance from Customer Care.51Testing软件测试网DS'r.jr1M
SilkTest Product Suite
#J7?"v/WZT]]P7h0The SilkTest product suite includes the following components:
X5s2Ts.@4PH%jl0• SilkTest Workbench – SilkTest Workbench is the new, native quality testing environment that offers .NET
_2J:Xb_+{V O'f^6y#gb0scripting for power users and innovative storyboard-based visual tests to make testing more accessible.51Testing软件测试网!SE/Z6A&R/g
• Silk4NET – The Silk4NET Visual Studio plug-in enables you to create Visual Basic or C# test scripts directly51Testing软件测试网&^gO%R;Y4wu/HG
in Visual Studio.
n5zEo'~_P9A0• Silk4J – The Silk4J Eclipse plug-in enables you to create Java-based test scripts directly in your Eclipse
'[kO+V9h0environment.51Testing软件测试网\/|Vq XgB!m4EKM
• SilkTest Recorder – SilkTest Recorder enables you to record and replay tests using a GUI and then export
:YS*k F ob$g'n+?0those tests to SilkTest Classic, Silk4J, or Silk4NET.51Testing软件测试网$[ c!x6Q9ltX
• SilkTest Classic – SilkTest Classic is the traditional, 4Test SilkTest product.
0?/Q!lB;^*v^FS-A0• SilkTest Agents – The SilkTest Agent is the software process that translates the commands in your tests
8F$m%IL#I GJ*Z0into GUI-specific commands. In other words, the Agent drives and monitors the application you are testing.
QR5U+hn,uGq0One Agent can run locally on the host machine. In a networked environment, any number of Agents can
0e"B`R^0|Xi0run on remote machines.
_e9f$z7Hn_okA0What's New in SilkTest
AN2Z!AivS4m t6M0This topic lists the significant enhancements and changes that were made for SilkTest 2010 R2 for all the
3OksvY2nQg2{0products in the product suite.
%g'G2@nyR6\0SilkTest 2010 R2 supports the following product-wide features:
_"j{.Nu6H2zn%N0Java AWT/Swing Application and Applet Record and Replay Support
.}#w.Sv2zf'D0SilkTest includes record and replay support for Java AWT/Swing controls in applications and applets.51Testing软件测试网 xX1X(\.T#L'm
Note:You can also test Java SWT controls embedded in Java AWT/Swing applications or applets as51Testing软件测试网 K0T6L\v;\"G
well as Java AWT/Swing controls embedded in Java SWT applications.
$c e{$XM` `0Adobe Flex Version 4.x Support51Testing软件测试网P?;zN'F
In addition to the new Flex 4.x controls, SilkTest also supports multiple application domains in Flex 3.x and
-@B^ oU6P"XE5\04.x applications, which enables you to test sub-applications.51Testing软件测试网,t.H2sEk
4|SilkTest 2010 R2 Release Notes
]9Dlv].fp~s064-bit Support for .NET and Windows API-based Applications
L:d6n*_:KGk3K/wc'_0SilkTest supports testing 64-bit applications for the following technology types:
y#@4fup0• Windows Forms51Testing软件测试网+]$E IC.P&z p
• Windows Presentation Foundation (WPF)51Testing软件测试网 J,ZN2LGin m
• Microsoft Windows API-based51Testing软件测试网!V&h;i7LBH0fp2g%@9d
Default Recording Mode for xBrowser Applications is Low-Level Native User Input51Testing软件测试网dAy_D1H}/JT
Previously, the default recording mode for xBrowser applications used high-level DOM functions, such as
-hnkq S"r0SetTextrather thanTypeKeysandDomClickrather thanClick. With low-level native user input as the
*X Y*aCAS0default option, recorded tests are more likely to playback without modification. Low-level native playback
au/K3ob&]0supports plug-ins, such as Flash, Java applets, and AJAX applications, while high-level API recordings do not.51Testing软件测试网1K/XuJ&\:k*z$o+p,{b+r
Dynamically Invoke Methods51Testing软件测试网WdNTsw'ki
With earlier versions of SilkTest, you can dynamically invoke methods for Windows Presentation Foundation
~0A.S im0(WPF) applications. With SilkTest 2010 R2, in addition to WPF applications, you can dynamically invoke51Testing软件测试网s LT']6[(ug$w
methods for Windows Forms, Adobe Flex, Java SWT, Java AWT, Java Swing, and SAP applications.51Testing软件测试网#F{ba;cs
You can call methods, retrieve properties, and set properties on controls that SilkTest does not expose by51Testing软件测试网}a^i'H9R!ae
using the dynamic invoke feature. This feature is useful for working with custom controls and for working with51Testing软件测试网'D+[$Fo9P6A*`,~)G
controls that SilkTest supports without customization.
0Bl1@Y-t0P)gt(V0What's New in SilkTest Workbench
U!QU${.y;]5i;H0In addition to the product-wide features, SilkTest Workbench includes the following new features:51Testing软件测试网 iVC| Hv
Importing and Exporting Assets51Testing软件测试网*KH?}q+j l|
You can transfer assets from one database to another by using the import and export utilities. The import and51Testing软件测试网;|~T q1u4P0Tr
export of assets is designed to simplify project management, share assets across a WAN, and utilize external
s8y?d%DT:v0version control systems. To import or export assets, you can either use theAsset Importwizard or theAsset51Testing软件测试网l4F+X$TTOxK_M
Exportwizard. For either method, you can customize the import or export of assets depending on your needs51Testing软件测试网p-CO2JZ
and preferences.51Testing软件测试网,scTHj0L;Dg+Ag
You can import and export visual tests, scripts, object maps, ActiveData, results, and record and playback
3ZXG$S$I0q)W8E0options.51Testing软件测试网6M*gm+DJh
Object Maps51Testing软件测试网9?9BGUTdN
An object map contains items that associate a logical name (an alias) with a control or a window, rather than
,kPD y+X,spH l0the control or window's locator.
Q[9IM,Q~g.b%a`0Object maps have the following benefits:51Testing软件测试网.PYf4L1i#DS
• Substitutes descriptive names for complex locator names, which can make visual tests and scripts easier51Testing软件测试网blo-a$RNJ
to read.
2j_r*N'`,f0• Eliminates dependence on locator names, which may change if the test application is modified.51Testing软件测试网2]-D4N`ct
• Simplifies test maintenance by applying changes made to a locator for an object map item to all tests that
0A0y9?DpCuxxJ9pC0include the corresponding object map item.
Ap/pa+OW0Visual Tests51Testing软件测试网$A)Y:Z?Np
With visual tests, you can:51Testing软件测试网{o8YM'RVT%eMcJ
SilkTest 2010 R2 Release Notes|551Testing软件测试网:F;T+XUT}1v
• Insert verifications for the object currently selected in the test application.
E/I@(@8|"m }}?)a0PressingAlt+F9temporarily suspends recording and selects the currently highlighted object for verification.
9q4L)Ss.O Kx0TheTest Logic Designerwizard opens with the selected object set as the control to verify.
:p YH0|a;^1e W0• Execute a .NET script. within a visual test.51Testing软件测试网~NC+v(g K'TF
Visual tests can call and execute existing .NET scripts. This allows a modularized approach to application51Testing软件测试网T To;B*nC
testing and provides greater control over test execution.51Testing软件测试网%au3qb ig4Mm
• Pass parameters from a visual test to a script. and from a script. back to a visual test.51Testing软件测试网q ?^f'T!I)J
• Insert a screen from the test application into a visual test.51Testing软件测试网Sj']|p#aU
Once a visual test step is created, you can open it and insert a screen capture and manually add the related51Testing软件测试网 fmbvlIN
test steps rather than recording additional screens and actions. Inserting a screen capture enables you to
E(tioHHZ;jc`0manually build a visual test that contains updated screens from the test application, which, in some cases,
8z4ir7`hEf0might be more efficient than recording the new screen.51Testing软件测试网lcL0?6@m
• View snapshots inScreen PreviewandStoryboardthat are linked to appropriate group or individual step
)P1plu Ivl%A)S'L0context in theTest Stepspane.
s/~/KP qEkts q|0Steps that interact with a test application are represented by images of the corresponding application screen
U;U4T"LR,IJ'@*z0elements in theScreen Preview. Every automation test step has its own snapshot and is labeled as(group51Testing软件测试网%}I'[`[-l'q
screen)or(step screen)inScreen Preview. Steps that display in theTest Stepspane are separated51Testing软件测试网g(sMZ Zk
by a solid dark blue line to indicate a logical grouping. Steps grouped in this manner correspond to each
B}Y3fQ7Q9L0thumbnail in theStoryboard.
5B{ P]'kGX4]1r0Embedded Scripting Language51Testing软件测试网x}4}`D
With scripts, you can:51Testing软件测试网1t7c#z&rL YqU
• Create data-driven tests using ActiveData.51Testing软件测试网]7T%eb&~
ActiveData testing enables you to leverage existing data in external files as input for powerful, comprehensive
2oB)Bm)b`[#w8eR0application testing solutions. ActiveData testing enables you to perform. multiple transactions against test51Testing软件测试网,dx9I,B kG9g X
applications using a different set of data for each transaction without writing complicated code or51Testing软件测试网+@?)w9H}8K
compromising existing data.