LoadRunner和隐藏的元素

I'm trying to write a LoadRunner script to stress my web application. However some of the links are displayed (they are initially hidden) using jQuery.

I have tried using the Web (Click and Script) protocol, which records all of my actions. However when I try replaying the script it cannot find the links that are dynamically displayed.

I also tried using Web (HTTP/HTML). However for some reason this protocol does not record any of my actions at all. Ajax (Click and Script) does the same thing.

I need to be able to support dynamic page elements (via jQuery) as well as AJAX pages/requests. Is this possible and if so what protocol/configuration should I use?

I'm running LoadRunner 9.52.

Yes, this is both possible and common to use LoadRunner to test sites that are generated dynamically, from PHP to JSP to ASP to JQUERY. Some of the mechanics differ from one solution to the next, but at the core there is a level of dynamic behavior related to session, state and business process that needs to be addressed in each case.

I guess the follow up questions are the following:

  1. Why did you choose the protocols you have chosen?
  2. Have you handled dynamic server provided elements in your business process through correlating for that information within your script?
  3. Are you using LoadRunner on a fully supported platform for your version of LoadRunner and are you using it with appropriate credentials in the system? Note: some 75% of 'that's odd' type of questions can be solved by dropping back to the system requirements and the user credentials