Ask a Question

Running TCUnit Tests

sinis
Contributor

Running TCUnit Tests

I have created a TCUnit Test using Visual studio 2017 and I hard cored the test values inside visual studio for testing. Can we give some user inputs for the test cases and pass the values to the function in Visual studio?

1 REPLY 1
rraghvani
Champion Level 2

The statement,

UnitTesting.TCUnitTest.Execute();

will only execute unit tests.

 

It's not possible to pass a variable from TestComplete to your application method.

cancel
Showing results for 
Search instead for 
Did you mean: