Forum Discussion

p_bremm11's avatar
p_bremm11
Contributor
10 years ago
Solved

Global variables

How could I save my variables without losing information? Usually lose data when an error occurs. What could I do about it.
Example: The temp folder

I thank the answers = D

3 Replies

  • NisHera's avatar
    NisHera
    Valued Contributor

    Hi,

    You can easyly write in to project variables or to a separate file.

    It's depends on what errors you are getting and what data you need to save.

     

    eg in jscript   myVar        = Project.Variables.projVar;

     

    writing to file click for documents

    • p_bremm11's avatar
      p_bremm11
      Contributor

      When you say write in to project variables in java script would this example?

      eg in jscript myVar = Project.Variables.projVar;

      In Delphi Script, you know?
      I did not understand as saved on variable project, even if you stop the test does not lose the data, using the example above?