2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
20th February 2016, 04:44 PM
Super Moderator
 
Join Date: Apr 2013
Re: Silk Testing Tool

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

Features :

SilkTest Host: contains all the source script files.
SilkTest Agent: translates the script commands into GUI commands (User actions)..

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.

Languages used by the Silk Test :

SilkTest Classic uses the domain specific 4Test language for automation scripting
Silk4J allows 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 TestPartner) as well as using VB.Net as scripting language


Files of Silk Test :
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 Replace


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 06:34 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4