If a step inside While Loop is using runtime variables, it works for the first iteration , but fail for the subsequent iterations.
Fix:
Added two functions resetRunTimeTestDataValues and getRunTimeTestDataValueMap to assign value to the runtime variable again for the next iteration. Followed cloud implementation as its working in prestaging
Verified the fix that it works in setting value to the runtime variable and is being used for more than one iterations.
Jira: https://testsigma.atlassian.net/browse/TOS-982 Related cloud jira: https://testsigma.atlassian.net/browse/TE-2824
If a step inside While Loop is using runtime variables, it works for the first iteration , but fail for the subsequent iterations.
Fix: Added two functions resetRunTimeTestDataValues and getRunTimeTestDataValueMap to assign value to the runtime variable again for the next iteration. Followed cloud implementation as its working in prestaging
Verified the fix that it works in setting value to the runtime variable and is being used for more than one iterations.