Test Script Language Part-1

TSL:

TSL stands for 쏷est Scripting Language.TSL is procedural language-similar to C programming language.TSL is having different catagory to perform different tasks.It has constructs,like statements,comments,variables,mathematical operators,control statements,and functions.

Feature list and description:

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.

Basically this language is created by Mercury Interactive to support their own products.All the recorded scripts that WinRunner/Loadrunner/X-runner creates when you perform an operation is in TSL code syntax. Keep in mind that while mastery of TSL is not required for creating automated
tests, knowledge of the language helps to enhance the recorded tests and to create highly sophisticated tests. Skillful usage of TSL can limit the need for manual intervention when running your test. It can also make your test less errorprone.The TSL language is very compact containing only a small number of operators and keywords.A very interesting thing about TSL is that it is really easy to understand if you have little amount of knowledge in programming language.
Share
Related Documents
  1. Test automation using specific test script language (2525)
  2. C Programming Language (1212)
  3. Test Driving Expression Template Programming (1093)
  4. The goal of globalization testing? (1158)
  5. LoadRunner Scripting Language- C language (5384)
  6. User Community Modelling Language for Performance Testing (1484)
  7. OpenSTA - Script Control Language Reference Guide (2660)
  8. Language Integrated Query (Linq) : Introducing (1085)
  9. Event-driven Test Scripting Language (1769)