Forum Discussion

ApisathS's avatar
ApisathS
Occasional Contributor
3 years ago

TestExecute : store test variable to Project Suite

Can TestExecute be able to store new Test Variable onto Project Suite like how TestComplete did?
Currently, we have multiple Projects that export data into Project Suite and store those data so that other Projects can reuse the same data. 

Our TestComplete works nicely with this feature, but somehow TestExecute cannot save/store new data onto TestExecute Project Suite for other projects to reuse them. 

Any suggestion?

 

Example

function logData () {

 Project.Variable.newData = (data);

 ProjectSuite.Variable.newData = (data);

}

 

This works really well within TestComplete but not TestExecute. 

 

 

11 Replies

  • Good Morning ApisathS - 

     

    What is the error message you are getting? 


    TestExecute is the same run engine as TestComplete the only difference is it does not have the capability to build tests. 

     

    Let me know. 


    Thanks, 

    Emma

    • ApisathS's avatar
      ApisathS
      Occasional Contributor

      Hi ebarbera,

      I am not getting any errors, but when the script ran within TestExecute.

      The test data does not save and store into Project Suite Variable like it should like how it is with TestComplete. 

      Currently, with the same script that was run within TestExecute. It was successfully run, but new data does not store onto Project Variable

      Hope this helps. 

      • ebarbera's avatar
        ebarbera
        Staff

        Hi ApisathS - 

         

        Is this a temporary variable or a persistent variable at the project level?

         

        Thanks, 

        Emma