Hi everyone,
I’m trying to use te.exe to run tests in KsPosTst.dll in a remote machine, i.e.:
te.exe KsPosTst.dll /p:“InstanceId=edited” /runon:TARGETMACHINE
and I’m getting:
Error: Error: TAEF: [HRESULT: 0x8007007E] A failure occurred while preparing to run tests in ‘KsPosTst.dll’. (Failed to load “C:\ProgramData\Taef\RemoteTests\KsPosTst\KsPosTst.dll” or one of its dependencies.)
Looks like a dependency of KsPosTsts.dll is not there on the remote machine. But then I copy KsPosTst.dll to the remote machine and run te.exe locally and it runs just fine.
Another bit that confuses me is that it looks like it is enumerating endpoints on the local machine running te.exe instead of the remote target machine as the initial output I see is totally different when running from the local machine and then when running locally over the remote machine:
When running te.exe with /runon to a target machine:
Test Authoring and Execution Framework v10.58k for x64
In BuildResourceList
Selected device ID: xxx
Found 2 viable endpoint(s)!
Enumerated 0 resources
TAEF: Target deployment directory: C:\ProgramData\Taef\RemoteTests\x64
TAEF: Target deployment directory: C:\ProgramData\Taef\RemoteTests\KsPosTst\
When running te.exe locally on the target machine:
Test Authoring and Execution Framework v10.58k for x64
In BuildResourceList
Selected device ID: xxx
Found 7 viable endpoint(s)!
This leads me to believe KsPosTst.dll may not be prepared to be run with /runon at all?
Anyone with experience on these tests that can shed some light?
Thanks!