Facing Build Error:“No agent found in pool Default

2019-08-29 18:48发布

问题:

Installed Unified Functional Testing Extension on VSTS from Market Place.Have downloaded a Private Agent on Windows from Agent Pool, while selecting the Default Agent Queue and queuing the Build, Facing a below Error :- "No agent found in pool Default which satisfies the specified demand:UFT_LAUNCHER" Agent.Version -gtVersion 1.98.1

I want to run my UFT Scripts in VSTS and then Publish Reports corresponding to Test Scripts created in Test Hub,I am getting failed at First Step. Note: I have added Task as "UFT File System Execution"

回答1:

You can add environment variable manually: System properties>Advanced> Environment variables>Add UFT_LAUNCHER key with [UFT.zip unpacked path]\UFTWorking value=>Restart build agent.