Forum Discussion

sinis's avatar
sinis
Contributor
10 months ago

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

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    The statement,

    UnitTesting.TCUnitTest.Execute();

    will only execute unit tests.

     

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