Forum Discussion
Unibet_Support
13 years agoContributor
Hi
How do I store a flag in the context ?
I append the filename with a time stamp and it is Looping through multiple times for different values meant to create unique files for diffferent values (it might not be unique and that's what i'm trying to identify that there is no duplicate content generated by my application) . Therefore its not easy to identify whether the script was executed as a part of the loop or is this just as a result of "multiple execution". Is there a fix planned for this problem in a future release ? Do you have an estimate if and when it will be fixed ?
As I see it , the best option i would have is to use a datastore to loop through and use a groovy script to store the files rather than just through a script assertion . Is there another easier alternative ?
thanks and Regards
Smitha
How do I store a flag in the context ?
I append the filename with a time stamp and it is Looping through multiple times for different values meant to create unique files for diffferent values (it might not be unique and that's what i'm trying to identify that there is no duplicate content generated by my application) . Therefore its not easy to identify whether the script was executed as a part of the loop or is this just as a result of "multiple execution". Is there a fix planned for this problem in a future release ? Do you have an estimate if and when it will be fixed ?
As I see it , the best option i would have is to use a datastore to loop through and use a groovy script to store the files rather than just through a script assertion . Is there another easier alternative ?
thanks and Regards
Smitha