- Manual testing
and
- Automated
testing
About Test Script Language
- Analog
functions
- Context
sensitive functions
- Customization
functions and
- Standard
functions.
Articles, comments, queries about the processes of Software Product Development, Software Testing Tutorial, Software Processes .
Posted by
Sunflower
at
8/31/2012 03:12:00 PM
0
comments
Labels: 4GL, Application, Automated, Automation, Commands, Flexible, Fourth generation languages, Integrated testing, Languages, Programming, Scripts, Software System, Statements, Test Script Language, TSL, Users, WinRunner
|
| Subscribe by Email |
|
Posted by
Sunflower
at
8/30/2012 11:30:00 AM
0
comments
Labels: Automated, Automated Software Testing, Automation, Codes, Complexity, Data, Defects, Environment, Framework, Functions, Languages, Statements, Test Script Language, Testing tools, Tests, TSL, Users, WinRunner
|
| Subscribe by Email |
|
Posted by
Sunflower
at
8/29/2012 01:51:00 PM
0
comments
Labels: Application, Automate, Defects, Environment, Features, Framework, Functions, Languages, Organization, Software System, Statements, Test automation, Test cases, Test Script Language, Tests, Tools, TSL, WinRunner
|
| Subscribe by Email |
|
Posted by
Sunflower
at
8/19/2012 10:59:00 PM
0
comments
Labels: Application, Automated System, Automated Test Generation, Automation, Code, Create, Debug, Design, Functions, Languages, Object, Scripts, Software System, Statements, Test Script Language, Tests, TSL, WinRunner
|
| Subscribe by Email |
|
SilkTest is Segue Software’s offering for automated functional testing. It supports the testing of client-server and browser-based applications, as well as standalone programs.
- In SilkTest, users modify automated test scripts using a proprietary, object-based programming language called 4Test.
- 4Test is an object oriented 4GL language and offers sufficient built in functionality to ease our life.
- SilkTest scripts can also directly access databases to execute SQL commands and perform verification of database content.
There are basically four classes to which the methods belong:
- AgentClass
- AynWin
- ClipboardClass
- CursorClass
Important Methods in test scripts are :
- Accept (): closes the dialog box and accepts values specified there.
- ClearText (): removes all text from text field.
- Click (): Clicks a mouse button on the push button.
- Close (): Closes the window.
- Close Windows (): Closes all windows of the application except main.
- Exit (): Terminates the application.
- GetActive (): Returns the active window in the application.
- GetCloseWindows (): Returns the windows that must close to return the application to base state.
- GetFocus (): Returns the control with the input focus.
- Invoke (): Invokes the application.
- SetActive (): Makes the window active.
- Wait (): Waits for the specified cursor and returns the value of elapsed time.
- VerifyActive (): Verifies that the window is active.
- Start (): Invokes the application and waits for the main window to appear.
- Size (): Resizes the window.
Posted by
Sunflower
at
7/21/2010 05:57:00 PM
0
comments
Labels: 4Test, Automated Testing, Languages, Manual Testing, Quality, Silk Test, Software, Test Script Language, Test Scripts, Testing tools, Tools, TSL
|
| Subscribe by Email |
|
TSL stands for Test Script Language. It is created by Mercury Interactive.
Posted by
Sunflower
at
7/20/2010 12:08:00 PM
0
comments
Labels: Automated Testing, Manual Testing, Parts, Rules, Script Language, Syntax, Test Script Language, Testing tools, Tools, TSL, WinRunner
|
| Subscribe by Email |
|
Test Script Language(TSL) is a scripting language with syntax similar to C language. TSL is the script language used by WinRunner for recording and executing scripts.
Features Of TSL :
- The TSL language is very compact containing only a small number of operators and keywords.
- TSL is a script language and as such, does not have many of the complex syntax
structures you may find in programming languages.
- On the other hand, TSL as a script language has considerably less features and capabilities than a programming language.
- Comments : Allows users to enter human readable information in the test script that will be ignored by the interpreter.
- Naming Rules : Rules for identifiers within TSL.
- Data Types : The different types of data values that are supported by the language.
- Data Storage : Constructs that can be used to store information.
- Operations : Different type of computational operations.
- Branching : Avoids executing certain portions of the code unless a condition is met.
- Loops : Repeats execution of a certain section of code.
- Functions : Group of statements used to perform some useful functionality.
There are four categories of TSL functions. Each category of functions is for performing specific tasks. These categories are as follows:
- Analog Functions
These functions are used when you record in Analog mode, a mode in which the exact coordinates of the GUI map are required. When you record in Analog mode, these functions are used to depict mouse clicks, keyboard input, and the exact coordinates traveled by the mouse. The various analog functions available are Bitmap Checkpoint Functions, Input Device Functions, Synchronization functions, Table Functions, Text Checkpoint Functions.
- Context Sensitive Functions
These functions are used where the exact coordinates are not required. In Context Sensitive mode, each time you record an operation on the application under test (AUT), a TSL statement is generated in the test script which describes the object selected and the action performed.
- Customization Functions
These functions allow the user to improve the testing tool by adding functions to the Function Generator. The various customization functions are custom record functions,
custom user interface functions, function generator functions and GUI checkpoint functions. Different context-sensitive functions are Active Bar Functions, ActiveX/Visual Basic Functions, Bitmap Checkpoint Functions, Button Object Functions
Calendar Functions,Database Functions, Data – driven test Functions,GUI related Functions etc.
- Standard Functions
These functions include all the basic elements of programming language like control flow statements, mathematical functions, string related functions etc. The various standard functions are arithmetic functions, array functions, call statements, compiled module functions, I/O functions, load testing functions, operating system functions, etc.
Posted by
Sunflower
at
7/18/2010 06:32:00 PM
0
comments
Labels: Automated Testing, Features, Functions, Keywords, Languages, Manual Testing, Operators, Test Script Language, Testing tools, Tools, TSL, WinRunner
|
| Subscribe by Email |
|