Highlighted
New Member.
250 views

TruClient - StormRunner - Access Arguments from Runtime Settings dialog

When using TruClient, I can record my tests and have them use Parameters when being played back. 

Tru Client Parameters

 

I am trying to figure out how to pass the value of these parameters in from within StormRunner. My expectation that these Arguments here are the same as Parameters.

StormRunner - Runtime Settings - Additional attributes

I have tried using numerous permutations of the following JS Code in my step;

TC.getLRAttr("ExternalParameter")

TC.getParam("ExternalParameter")

Nothing seems to work and none of the TruClient API functions (that I have seen) seem to point towards how to do this. 

 

Thanks for any and all help anyone can provide. 

 

0 Likes
1 Reply
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: TruClient - StormRunner - Access Arguments from Runtime Settings dialog

Hello Sage,

Additional Attributes are not supported in the TruClient Lite browser plugin.

If you'd like to use them, I suggest editing your script in VuGen or in TruClient Standalone.

Links to both are available in the "Get Tools" section in you SRL accound home page.

The API to get a value is TC.getAttr(...).

 

Edo

 

 

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.