cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing state (BDD)

kamserg1608
New Contributor

Sharing state (BDD)

How can I share state (local variable) between steps in Test Complete?

4 REPLIES 4
Marsha_R
Community Hero

Re: Sharing state (BDD)

This may be of some help:

https://support.smartbear.com/testcomplete/docs/testing-with/variables/collections/index.html

 

To share between tests in the same project, use a Project variable.  To share between projects in the same suite, use a Project Suite variable.

kamserg1608
New Contributor

Re: Sharing state (BDD)

I would not like to resort to the project variable mechanism, is there any other way to solve this problem?

Marsha_R
Community Hero

Re: Sharing state (BDD)

You can use parameters if the tests are in the same project.  

TanyaYatskovska
Community Manager

Re: Sharing state (BDD)

Hi @kamserg1608,

 

Is there any reason why you don't want to use variables? Could you please explain what you are trying to achieve in details? Perhaps, we can suggest more solutions.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements