how to retrieve value from html tag
hello all,
how to retrieve non-editable text field value in web click-script protocol in loadrunner from html page
for example :
this is line from generation log
span id="txtTicketNumber" disabled="disabled" tabindex="-1" style="font-size:Medium;font-weight:bold;">9291535 span
i want to retrieve value of "txtTicketNumber" into a variable in my script.
that is
variable [I]temp[/I] should contain value 9291535
any api function from loadrunner?
thanks
Re: how to retrieve value from html tag
web_reg_save_param("txtTicketNumber",
"LB=<span id=\"txtTicketNumber\" disabled=\"disabled\" tabindex=\"-1\" style=\"font-size:Medium;font-weight:bold;\">",
"RB=</span>",
LAST);
char *temp;
sprintf(temp, lr_eval_string("{txtTicketNumber}"));