Load Runner

Load Runner scripting hacks:

Search for images function: web_image_check

    web_image_check("web_image_check",
            "Src=images/webtours.png",
            LAST);

Search for text function: web_reg_find

    web_reg_find("Text=Find Flight",
            LAST);

Transaction measures: lr_start_transaction and lr_end_transaction

You might want to measure how long is a transaction, so you can mark doing:

    lr_start_transaction("login_transaction");

    web_submit_form("login.pl", 
        "Snapshot=t20.inf", 
        ITEMDATA, 
        "Name=username", "Value=jojo", ENDITEM, 
        "Name=password", "Value=bean", ENDITEM, 
        "Name=login.x", "Value=45", ENDITEM, 
        "Name=login.y", "Value=5", ENDITEM, 
        LAST);
    lr_end_transaction("login_transaction", LR_AUTO);

When the run is over, you can search for the pattern "Transaction" at the script output:

ction.c(30): Notify: Transaction "login_transaction" ended with a "Pass" status (Duration: 0,3757 Wasted Time: 0,0095).