Forum Discussion

SlickRick's avatar
SlickRick
Contributor
10 months ago
Solved

Azure Pipeline - Variables Not passed to my test

Hi all,  So I have a project suite in which I have defined a variable 'AppPath' which points to the directory where my exe is located.   In my pipeline I follow (i believe) all the steps...
  • SlickRick's avatar
    10 months ago

    I figured it out! ðŸ˜€

     

    TestExecute was opened on the build server which was failing.

     

    Therefore my pipeline was using the opened instance to run the tests (which was opened i guess with no params).

     

    By closing it, the pipeline would open a new instance with the correct parameters.

    I would suggest to have a option on the 'Enable support for testcomplete test' task to 'Force new instance' that would auto-reload the tool to ensure that the correct param are used.

     

    Thank you!