You are on page 1of 23

Done By Abdul Khader

SilkTest is a tool for automated function and

regression testing of enterprise applications. It was originally developed by Segue Software which was acquired by Borland in 2006. Borland was acquired by Micro Focus International in 2009.

Silk Test is a tool specifically designed for

doing REGRESSION AND FUNCTIONALITY testing.


Silk Test is the industrys leading functional testing

product for e-business applications, whether Window based, Web, Java, or traditional client/server-based. Silk Test also offers test planning, management, direct database access and validation, the flexible and robust 4Test scripting language.

1) Plan: Determine the testing strategy and define specific

test requirements. 2) Capture: Classify the GUI objects in your application and build a framework for running your tests. 3) Create: Create automated, reusable tests. Use recording and/ or programming to build test scripts written in Segue's 4Test language. 4) Run: Select specific tests and execute them against the AUT. 5) Report: Analyze test results and generate defect reports. 6) Track: Track defects in the AUT and perform regression testing.

SilkTest Host is a SilkTest component that manages

and executes test scripts. SilkTest Host usually runs on a separate machine different than the machine where AUT (Application Under Test) is running.

SilkTest Agent is a SilkTest component that receives

testing commands from the SilkTest Host and interacts with AUT (Application Under Test) directly. SilkTest Agent usually runs on the same machine where AUT is running.

4Test is a test scripting language used by SilkTest to

compose test scripts to perform automated tests. 4Test is an object-oriented fourth-generation language

Document Object Model (DOM) browser extension is

a SilkTest add-on component for testing Web applications. DOM browser extension communicates directly with the Web browser to recognize, categorize and manipulate objects on a Web page. It does this by working with the actual HTML code, rather than relying on the visual pattern recognition techniques currently employed by the Virtual Object (VO) extension.

Virtual Object (VO) browser extension is a SilkTest

add-on component for testing Web applications. VO browser extension uses sophisticated pattern recognition techniques to identify browser-rendered objects. The VO extension sees Web pages as they appear visually; it does not read or recognize HTML tags in the Web application code. Instead, the VO extension sees the objects in a Web page; for example, links, tables, images and compound controls the way that you do, regardless of the technology behind them.

SilkTest Classic uses the domain specific 4Test

language for automation scripting. It is an object oriented language similar to C++. It uses the concepts of classes, objects, and inheritance. Silk4J allows to do automation in Eclipse using Java as scripting language Silk4Net allows the same in Visual Studio using VB or C# SilkTest Workbench allows automation testing on a visual level (similar to former Test Partner) as well as using VB.Net as scripting language

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 (Swing, SWT), DOM, IE, Firefox, SAP Windows GUI. SilkTest uses Silk Bitmap Tool (bitview.exe) to capture and compare the windows and areas.

Test Plan (.pln): used to create a suite of tests when

combined with test scripts. Example : test.pln -Myfirsttestscript : Mytest.ttestcase:firsttestMysecondtestscript : Mytest.ttestcase:secondtestWhere Mytest.t is the main script file and first test and second test are test case names in Mytest.t file. When this plan file is run it will automatically pick up first and second test case in order and run those.

Test script (.t): used to write actual test

scripts. Example: Mytest.t (Automating notepad application) use "Mytest.inc"-test case firsttest ()notepad. Invoke()//invoke works for some applicationsnotepad.file.new.pick()notepad.file.exit.pi ck()-test case second test ()notepad. Invoke()notepad.help.helptopics.pick()notepad. Exit()When this script runs it will execute firsttest and second test 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 main win notepad-Menu FileMenuitem New-Menu EditMenuitem Replace Here '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 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.

1. Use the Record Test case command to record

actions and verification steps as you navigate through the application. 2. Write the test case manually using the Visual 4Test scripting language.

Easy to use interface

Built in recovery system


The object oriented concept Record & Play

Multi-kind application testing


Automatic generation of results Browser & Platform independent

24 x 365 unattended testing


Distributed Access to Test Results

Cross Platform Java Testing Testing Across Multiple Browsers and Windows Versions Support for HTML, XML, JavaScript, Java, Active X, Windows

controls, and Visual Basic. Single-recording testing for cross-platform Java testing with the Silk Bean. Against Over 35 Databases. Link Tester Validation of Advanced Database Structure and Techniques Creation of Test Plan Test Frame Test Suite

A Test plan is made up of a large amount of information, a

structured, hierarchical outline provides an ideal model for organizing and developing the details of the plan. A test plan consists of two distinct parts An outline that describes the test requirements Statement that connect the outline to the 4Test scripts and test cases that implement the test requirements. Using the test plan, we can create and run tests.
To start a new test plan : Select File / New Select Test plan and click OK. An empty test plan window opens.

A Test Suite is a collection of test scripts. Consider a case that we are

having a set of script (.t) file. If we want to run these scripts against our application, we have to select the required test case or we have to run the entire script file. But after the completion of that script file, the user has to manually change that to the next script file to run those test cases available in that script. Instead of that silktest provides a way to continuously select a set of script files and run those script files at-astretch. This can be done by creating a new Test Suite file and declare the needed script files in that suite file. To start a new test suite: 1. Select File / New. 2. Select Test Suite and click OK. 3. In that suite file enter the script file names to run continuously. 4. Save that script file. 5. Compile the script file and run it. 6. Now the process of running the script will not stop after the completion of the first script file, instead of that it will automatically pass to the next script file and run the test cases available there.

A test script file contains various test cases for various

test conditions.

In a script file, a test case ideally addresses one test

requirement. Specifically, a 4Test function that begins with the test case keyword and contains a sequence of 4Test statements. It drives an application to the state to be tested, verifies that the application works as expected, and returns the application to its base state.

Sit Test for functional and regression testing

Silk Performer for load and performance simulation Silk Pilot for functional and regression testing CORBA and EJB servers Silk Radar for automated defect tracking Silk Vision for enterprise application health monitoring Silk Express for a scalability and load testing consulting solution.

You might also like