Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Extract a value in method
LegacyForum
Posts: 1,664 ✭✭
I need to generate a value in a javascript method tool to be used at a later time. Is there any way to "extract" a scripted value to some on the fly datasource? Or is there a way to declare something like a global variable. The end game here is being able to use this script generated value in a DB tool (like the $[Extracted: (col name)] syntax).
How can I accomplish this?
thanks
How can I accomplish this?
thanks
0
Comments
-
An idea I had would be, in the generating script, to output the value to the html page with a unique tag id that can then just be extracted from the page normally. Is this even possible? Of course this isn't preferable but if it's the only thing that works then that's fine.
thanks again0