Hi,
Using LoadRunner 24.1 I've opened an "Evaluate Javascript code". I put this
A. // I want to use a javascript table
var options = getElementByXpath("//app-document-section/div/div/div/app-single-document/div[2]/span"); for (i=0;i<options.length;i…
LoadRunner Truclient v2023 build 628
The xpath of the object changes dynamically. We are able to capture these dynamic values and pass it in the xpath but it works as expected only the first time after the Object is identified on the screen. When we…
Hi All,
I am building a script in which a client side encryption is done using javascript code. In order to handle that encryption part I have been supplied with 2 java script files containing the code.
however when I execute the code LR gives a…
In a LoadRunner-TruClient Web script, need to run a python script to fetch user credentials from aws-Secrets Manager. Exploring different options like run a custom JavaScript code via Evaluate JS code in Truclient-Develop Script mode, however not able…
It seems like returning a JSON object from web_js_run adds extra characters that prevent that string from being parsed back into a JSON object using lr_eval_json. Is there a way to return something that can be parsed with lr_eval_json or easily remove…
Hi,
Is it possible to verify absence of any Javascript error in the chromium browser from TruClient? I mean Javascript errors that usually got displayed in the Console under developer mode (F12).
We are on version 2020.
Thanks in advance!
Hello,
I was wondering if there is a way, when using JavasScript as scripting language in VUGen to write some saved params after calling a microservice into an output file.
I want for a number of users to call a microservice, extract a parameter…
In Vugen 2021 R1 build 351 version, for the Truclient protocal script.
I am facing the below error for the argument passing in ordinal value for the listbox type object.
An argument is invalid: Ordinal, JavaScript exception during evaluation: TC.getParam…
I'm running a test against a Microsoft Dynamics 365 Application (using LoadRunner 12.63) where contacts need to be created and then various actions processed on those contacts. There is a Client Side LOCK on some of the fields of newly created contacts…
Not sure if the below is a bug or something I’m doing incorrectly, I have a number of elements that need to utilize similar logic, so any / all assistance would be much appreciated! Here is the exact error I’m getting, along with the code I’m using. This…
Hi everyone, I am scripting Documentum(WebTop 6.6) using Web HTTP protocol. The application opens a popup in the flow. I am not able to run the script, as it failsto executes on step, where popup appears. I have correlated all the possible values. Also…
Hello, Can anyone help me with the lr.startTimer | lr.endTimer function? I can't find an example of syntax. I want to use it to measure different sections that are loading to a page independently of each other. Can I use it like lr.start|endTransaction…
Team, I'm using the below function in action part to test javascript. LR failed to execute Action () { web_js_run ( " Code = var a = 1234 ; var n = a.length ; alert(n); " , " ResultParam = uri " , LAST ); return 0 ; } Output: Starting action Action. Action…
Updating: HPE Support has yet to find any workable solution. During the process i've found a few workarounds that may help users. Cooldown the processes by abnormal wait times - If this is something application specific put a wait time in then wrap a…
Hi, I am trying to make the TC IE script to navigate out of a frame which triggers a 'Message from webpage' dialog. Standard Object functions cannot handle it properly (Button definition is limited to "OK" and "Cancel"), so I've tried to evaluate JS:…
I have scripted a form which has radio buttons, image buttons, buttons, text fields and many more stuff. I am did javascripting to get objects of forms controller..let say radio button... for example. var rdobject = document.getElementById("select:onlineStatus…