4test in silk test is a fourth
generation language or 4GL which comes under the category of the object
oriented languages. This fourth generation language has been developed
especially for fulfilling the needs of the quality assurance professionals.
The
4test language possesses some very powerful features that have been grouped in
to 3 basic kinds of functionality as described below:
- A library of object
oriented classes: This group of functionality includes object oriented
methods as well as classes that can be used to specify interaction of a
test case with the GUI objects present in an application.
- A library of built in functions: This
group of functionality includes features that are used for performing the common
support tasks.
- A set of statements,
data types and operators: This group of functionality includes the
features that can be used for introducing the logic as well as the
structure to a data base that has been recorded earlier.
- Before the test scripts are created
and run, an object repository containing the information regarding the
application under test or AUT is to be used by the silk test classic.
- This
object repository consists of the descriptions of all the GUI objects that are
present in the application under test or AUT.
- The actions that are performed by
the silk test on these GUI objects are recognized by the silk test based up on
some methods as well as properties associated with the objects on which the
actions have been performed.
- After the identification, the actions performed are
recorded and stored in the object repository using the 4test language for
scripting.
- There are several classes that are used by the 4test language and
have been mentioned below:
- Active X classes
- Visual basic classes
- General core classes
- General web
application classes
- Flex class reference
- Java classes
- .net classes
- Rumba class
reference
- SAP class reference
- Silver light class
reference
- Java AWT class
reference
- Java swing class
reference
- Win 32 classes
- WPF class reference
- Xbrowser classes
The 4test language comes with the following in
built functions:
- Agent information
functions
- Argument pass modes
functions
- Application state
control functions
- Array manipulation
functions
- Character and string
conversion functions
- Data type manipulation
functions
- Data base functions
- Data driven
functions
- Date and time
manipulation functions
- Distributed
processing functions
- Distributed results
logging functions
- Exception handling
functions
- File manipulation
functions
- Java functions
- List manipulation
functions
- Locale functions
- Numeric functions
- Operation system
calls
- Product version
information functions
- Password encryption
functions
- Random value
operations
- Registry operations
- Results file
operations
- Run time status
messages functions
- Script information
functions
- Semaphores
- Set manipulation
functions
- String manipulation
functions
- SWT functions
- Timers time date
information
- Web browser
functions
- Windows information
functions
- Date transformation
functions
The 4test language comes with the
following categories of keywords:
- Arg list call
keyword
- Current file keyword
- Current path keyword
- Type info keyword
- Alias keyword in
type declarations
Following types of statements are
found in 4test language:
- Access statement
- Break statement
- Const statement
- Continue statement
- Critical statement
- Exit statement
- Do___ except
statement
- For statements
- If statement
- Multi tag statement
- Parent statement
- Parallel statement
- Raise statement
- Rendezvous statement
- Reraise statement
- Select statement
- Setting statement
- Spawn statement
- Switch statement
- Return statement
- Tag statement
- Use statement
- With statement
- While statement
No comments:
Post a Comment