Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Trouble Capturing Page Content

$
0
0

I have a website I have recorded some basic operations with using LoadRunner. Initially you get a login screen with a user id and password. Once past that screen a new screen displays with product information. On that page there are rows of products displayed in a table with a checkbox next to each row. I want to be able to check on or more boxes then go to what looks like a pulldown menu and select an operation to display on the selected rows. The menu though works but hovering over it with your mouse which brings up a submenu where you can click on a choice. So you never really click on the control. You just hover.

 

I can record a session interacting witht he web app but on playback it is unable to find the checkboxes. I thought then maybe I would have to capture the entire page into a buffer then parse it using xpath, for example, to locate the checkbox. For some reason my efforts to capture the page are failing. Here is what I am trying:

 

    web_set_max_html_param_len("1024000"); 
    web_reg_save_param("My_Pg_Body""LB=""RB=""Search=Body""RelFrameID=1"LAST);
 
    body = lr_eval_string("{My_Pg_Body}");
    lr_output_message("Body = %s", body);

 

When the output string displays it has in it: "Body = {My_Pg_Body}". So the variable "body" has nothing in it.

 

Maybe this is not the right approach but I am not sure how to simulate clicking on these controls.


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>