Sie sind auf Seite 1von 1

#tsl hints

#gui checkpoint for single property


edit_check_info("name:","value","rams");

#gui checkpoint for object


obj_check_gui("name:", "list1.ckl", "gui1", 1);

#gui checkpoint for multiple objects


win_check_gui("flight reservation", "list2.ckl", "gui2", 1);

#bitmap checkpoint for object


obj_check_bitmap("gs_drawing", "img1", 1);

#bitmap checkpoint from screen area


obj_check_bitmap("gs_drawing", "img2", 1, 8, 3, 324, 220);

#synchronisation point for object property


button_wait_info("insert order","enabled",0,10);

#synchronisation point from object/window bitmap


obj_wait_bitmap("threed.sspanel", "img3", 1);

#synchronisation point from screen area


obj_wait_bitmap("threed.sspanel", "img4", 1, 3, 3, 158, 18);

#get text from screen area


obj_get_text("gs_drawing", text, 124, 8, 252, 27); # agent name: rams

#insert function - for object/window


edit_get_text("tickets:",text);

database connectivity
db_connect("session name", "connection string");
db_execute_query("session_name","select query");
db_record_check("list.ckl","exp","record_num");
db_disconnect("session_name");

breakpoint:
1. break at location and 2. break at function

functions:
class function(parameters)
{
}
where
class - static, public
parameters - in, out, inout
default mode for non-array in, array out, inout

variables
auto - only with in the test and available when variable is used
static - only with in the test and available throughout.
public - available at all the test and functions
extern - reference variable declared outside test or function.

Das könnte Ihnen auch gefallen