I am working Loadrunner 12.55, and Using TrueClient Protocol to design script for my application.
I have been blocked in an issue, where for each iteration the script should click on random object in the list . Not able to achieve this through normal Parameterization provided by TrueClient.(It doesn't allow me to parameterize Action itself).
Below is the step configuration i tried but didn't work:
Click on PerfTest3
Roles: "javascript_link, focusable, element"
Name: PerfTest3
ID Method: JavaScript
JavaScript =
var linkList = document.getElementsByTagName("a");
random(linkList);
Logic to randomly click objects on the page needs to be written in javascript? Please assist me to solve this issue.
PFB screenshot for further understanding the problem.
Thanks in advance