-
Junior Member
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 temp should contain value 9291535
any api function from loadrunner?
thanks
Last edited by manishisarda; 09-12-2007 at 10:55 AM.
-
Contributing Member
Re: how to retrieve value from html tag
web_reg_save_param("txtTicketNumber",
"LB=",
"RB=",
LAST);
char *temp;
sprintf(temp, lr_eval_string("{txtTicketNumber}"));
Last edited by SW_LoadRunnerGuru; 09-12-2007 at 01:38 PM.
Reason: need to quote
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules