SilkTest

SilkTest

SilkTest is an automation tool for testing the functionality of enterprise applications in most versions of Windows, Sun Solaris 9 & 10, and Red Hat Enterprise Linux WS 2.1 & 3.0 [http://www.segue.com/products/functional-regressional-testing/silktest-supported-environments.asp] . It is produced by Segue Software which was acquired by Borland in 2006.

SilkTest uses the proprietary 4Test language for automation scripting. It is an object oriented language similar to C++. It uses the concepts of classes, objects, and inheritance.

Main features of SilkTest

SilkTest has mainly 2 components:
*SilkTest Host: contains all the source script files.
*SilkTest Agent: translates the script commands into GUI commands (User actions). These commands can be executed on the same machine as the host or on a remote machine.

SilkTest identifies all windows and controls of the application under test as objects and defines all of the properties and attributes of each window. Thus it supports object oriented implementation (Partially).

SilkTest can be run to identify mouse movement along with keystrokes (Useful for custom object). It can use both record and playback or descriptive programming methods to capture the dialogs.

Extensions supported by SilkTest: .NET, Java, DOM, IE, Firefox.

SilkTest uses Silk Bitmap Tool (bitview.exe) to capture and compare the windows and areas.

File Types used in SilkTest

Test Plan (.pln): used to create a suite of tests when combined with test scripts. Example : test.pln:-Myfirsttest ::script : Mytest.t ::testcase:firsttest :-Mysecondtest::script : Mytest.t ::testcase:secondtest Where Mytest.t is the main script file and firsttest and secondtest are testcase names in Mytest.t file. When this plan file is run it will automatically pick up first and second testcase in order and run those.

Test script (.t): used to write actual test scripts. Example: Mytest.t (Automating notepad application):use "Mytest.inc":-testcase firsttest::notepad.invoke()//invoke works for some applications::notepad.file.new.pick()::notepad.file.exit.pick():-testcase secondtest::notepad.invoke()::notepad.help.helptopics.pick()::notepad.exit()When this script runs it will execute firsttest and secondtest in order and then exit the notepad application.

Frame file (.inc): The abstraction layer used to define the windows and controls in application under test that will be further referenced in .t files. Example : Mytest.inc:-Window mainwin notepad::-Menu File:::Menuitem New::-Menu Edit :::Menuitem ReplaceHere 'Window' is main class with 'Menu', 'Menuitem' as a subclass. File, Replace are objects.

Result file (.res): contains test run results with the names of passed or failed tests along with a description of the failures. Can also contain log messages.

Other than the results file, all files are text-based and can be edited in a text editor or the SilkTest IDE. As of SilkTest 2006 the files can be saved in either ANSI, Unicode, or UTF-8 formats. All of the source files are compiled into pseudocode object files either when loaded or at run time if the source files are changed.

ee also

*Test automation
*

External links

* [http://techpubs.borland.com/silk_gauntlet/SilkTest/2008/tutorials/ SilkTest Tutorials on the maker's site]
* [http://www.segue.com/pdf/silktest_reviewers_guide.pdf SilkTest Reviewer's Guide]
* [http://www.testapps.com/silktest.asp SilkTest Reviews]
* [http://silktest.blogspot.com SilkTest Technical Questions & Answers from a Silicon Valley Tester]
* [http://blog.silktest-tips.com SilkTest Tips & Tricks Blog]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Borland — Infobox Company company name = Borland Software Corporation company company type = Public (nasdaq|BORL) company slogan = The Open ALM Company foundation = California (1983) location = Austin, Texas (previously Cupertino, California) key people =… …   Wikipedia

  • Borland — Software Corporation Lema The Open ALM Company Tipo Cotización Pública (NASDAQ …   Wikipedia Español

  • Testroboter — werden in der Softwarequalitätssicherung auch als Capture Replay bzw. Capture Playback Tools bezeichnet. Dabei zeichnet das Werkzeug alle vom Tester manuell durchgeführten Bedienschritte, wie zum Beispiel Tastatureingaben oder Mausklicks, während …   Deutsch Wikipedia

  • Silk (disambiguation) — Silk is a natural fibre and a textile woven from it.The word silk is also used as a name for: * Queen s Counsel, an informal name for a barrister in England and Wales and in the Commonwealth * Spider silk, which is made by spiders to create webs… …   Wikipedia

  • Test automation — Compare with Manual testing. Test automation is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting… …   Wikipedia

  • Test script — A test script in Software Testing is a set of instructions that will be performed on the System Under Test to test that the system functions as expected. These steps can be executed manually or automatically.There are various means for executing… …   Wikipedia

  • Microsoft Active Accessibility — (MSAA) is an Application Programming Interface (API) for user interface accessibility. MSAA was introduced as a platform add on to Microsoft Windows 95 in 1997. MSAA is designed to help Assistive Technology (AT) products interact with standard… …   Wikipedia

  • Mercury Interactive — For another company with a similar name, see Mercury Computer Systems. Mercury Interactive Type Now owned by Hewlett Packard Industry Computer Systems Computer Software Consulting IT Services Fate Acquired by HP Founded …   Wikipedia

  • WET Web Tester — [ [http://wet.qantom.org Commercial Grade Web Automation Testing offering an Opensource alternative to Quicktest and Silktest ] ] is a web testing tool that drives an IE Browser directly and so the automated testing done is equivalent to how a… …   Wikipedia

  • List of GUI testing tools — GUI testing tools serve the purpose of automating the testing process of GUI applications.Some better known tools are: # TestPartner from Compuware # QuickTest Professional (QTP) from Mercury. # WinRunner from Mercury. # LoadRunner from Mercury.… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”