Web Functional Test provides Built-in functions for various
operations. You can type these functions manually in the script but
this may result in syntax error and you may find it difficult to debug.
To facilitate non-erroneous insertion, a utility called "Function
Generator" is made available. To know how to use the Function Generator
tool and to know the complete list of functions, refer to the following
topics:
Following are the
categories of various built-in functions availabe with QEngine,
- Default Recorded Functions
Default functions are the
one gets recorded during recording the web application.
- HTML Special Functions
Functions used to perform
special actions such as drag and drop of HTML objects / execute
javascript available here.
- Window Functions
Window functions are used to
handle various
browser window encountered during test playback.
- HTML Check Functions
HTML Check
functions are used to validate the property of a HTML element present
in the web page.
- HTML Get Functions
HTML Get Functions are
used to retrieve
value from a HTML element to use it inside the webscript /
programatical verification of the value.
- HTML Table Functions
HTML
Table functions are used to retrieve properties / data from a HTML
Table in the web page to use it / compare it inside the script.
- AJAX Functions
Ajax Functions can be used
to handle dynamic nature of the
application.
- Dynamic Functions
Dynamic functions can be
used to identify an element / window in a
webpage,
whose identification properties need not present in the map file.
- Database Functions
Database functions are
used to access
any JDBC compliance databases to access / validate database data during
script execution.
- Date Functions
Date Functions are utility
functions used to do
date / time related actions inside the scripts.
- E-Mail Functions
E-Mail functions will be
useful to fetch and check
the mail properties, if the application send a mail.
- File Manipulation Functions
File
related functions can be used to validate / retrieve details of the
file present in the server machine where QEngine runs.
- Invoke Script Functions
These functions are used
to invoke any other QEngine script / Desktop script inside another
QEngine script.
- String Manipulation Functions
String functions are used
to manipulate any string
in the script in the runtime.
- General Functions
General functions
comprises lot of utility functions to handle global variables /
environmental variables etc.
- XML Validation Functions
The XML Validation
function can be used to validate any xml file values.