Highlighted
Super Contributor.
Super Contributor.
152 views

How to use additional attribute for different URL's

How to use the additional attribute setting to run a single script in multiple environments.all the environments are same.only change in the URL.so how can i use the lr_get_attrib_* function to use different URL for each environment.
I will not be running them together.I will be running them individually.I just want to update the attribute value so that the script runs on the URL mentioned in the additional attribute section
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: How to use additional attribute for different URL's

Just create a parameter for the url and try changing the parameter value before you run the script.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: How to use additional attribute for different URL's

I've done the same with parameters. I created parameters for EVERY environment and then use the "First data line" option in the Parameter List. I then set the "Select next row" to sequential and the "Update value on" to Once. This will pick the first row listed once during a test run.
0 Likes
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.