tag:help.appveyor.com,2012-11-13:/discussions/questions/50937-how-can-i-add-tests-in-the-test-tabAppVeyor: Discussion 2020-10-28T18:50:09Ztag:help.appveyor.com,2012-11-13:Comment/487771112020-10-28T14:05:17Z2020-10-28T14:05:17Zhow can I add tests in the test tab?<div><p>Hi,</p>
<p>I have a powershell script that I'm calling from within the remote desktop</p>
<p>Add-AppveyorTest -Name "Integration Test" -Framework "MSTest" -FileName "Test.Harness.Integration.exe" -Outcome "Running"</p>
<p>I'm getting this exception.</p>
<p>Exception calling "AddTest" with "9" argument(s): "Environment variable APPVEYOR_API_URL with Build Runner API URL cannot be found."</p></div>rafae11tag:help.appveyor.com,2012-11-13:Comment/487771112020-10-28T17:35:33Z2020-10-28T17:35:33Zhow can I add tests in the test tab?<div><p>Environment variables have build agent process scope and not available in RDP session. You can output the value of <code>APPVEYOR_API_URL</code> during the build though and then set it while in RDP session.</p></div>Feodor Fitsner