Loadrunner C Functions


Error handling

1.Text verification points
2.Image verification Points

Text Verification Error handling:

web_reg_find("Text=XXXX","SaveCount=XXX",LAST)

Text=This text has to be captured from the response page which is static String

SaveCount = Here Save count will be integer value and it will count text.

if(strcmp(lr_eval_string("{XXX}","0")==0)
{

lr_output_message("text check is filed")

}

else
{
lr_output_message("Text check is passed')

}





No comments:

Post a Comment