Forum Discussion

Amna_Saeed321's avatar
Amna_Saeed321
Occasional Contributor
6 years ago

Can we access the variables or objects in TestComplete from nunit Test

I am automating rest webservices in c# using nunit framework. Now I want to get the response in variable in my test complete Project. Currently , when I execute the nunit test through Test Complete, ...
  • Bobik's avatar
    6 years ago

    There is no way to access TC variables from the unit test. The best way I think is to write values into files and then read it by TC script.

  • Amna_Saeed321's avatar
    Amna_Saeed321
    6 years ago

    I exported API response in text file through nunit test and import it in test complete. It worked for me.