Highlighted
Absent Member.
Absent Member.
396 views

Parameter values getting truncated

For one of my scripts, I have to provide a value in the format of '000***********' where * stands for a combination of non-zero numbers. However, when I am trying to replay the script, the value which is getting replaced for this parameter is only the *********** part and the starting 0's are getting truncated. Can somebody tell me how to fix this issue ?

0 Likes
2 Replies
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Parameter values getting truncated

Can you please post the detailed log? I tried with 15 digits, it is working for me in LR12.50. Thanks!


Thank you,
NaveenKumar Namachivayam | www.QAInsights.com
Learn TruWeb - my Udemy Course "Performance Testing using TruWeb" | https://www.udemy.com/performance-testing-using-truweb/?couponCode=YOUTUBE
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Parameter values getting truncated

 

I have attached the advanced trace herewith. The problem is with the parameter ContainerID under the trasnsaction  eBOL_BuildTrailerTrip_T10_ProvideContainerIDAndPressEnter. Though as per the extended log the correct value is getting replaced, that's not the case with the run-time viewer and the starting 0's a are getting truncated.

AddContainer.c(11): Notify: Parameter Substitution: parameter "ContainerID" =  "006006030013546987"

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.