0
votes

Right now I'm trying to run a selenium test in TFS (Team Foundation Server), as a first option I tried to use 'Visual Studio Test' Task but i got the follow error:

"System.IO.FileNotFoundException: Could not load file or assembly 'WebDriver, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.WRN: Assembly binding logging is turned OFF."

I guess it´s because this Task can´t resolve the webDriver dll( the dll is referenced and in TFS code there's the dlls ), so i tried to use 'Run functional Test' but the problem in here is that doesn't letme choose the machine group that, of course, I've all ready set, so, what should I do?

The task 'Visual Studio Test' can be use for selenium tests? Why can't I add the machine group??

This is How the setting for 'Run Functional Test' appears to me

Config for 'Visual Studio Test Agent Deployment' TASK

Error for 'Visual Studio Test Agent Deployment' TASK

1
What version of TFS are you using?Daniel Mann
my TFS is 2015, version 14.95.25229.0, there's any bug in this version for 'run functional task' task ?Juan Ruiz

1 Answers

0
votes

Visual Studio Test version 2 supports run unit and functional tests (Selenium, Appium, Coded UI test, etc.). Test frameworks that have a Visual Studio test adapter such as xUnit, NUnit, Chutzpah, etc. can also be run. Visual Studio Test version 2 exists in TFS 2017 and later versions.

You can still use Run Functional Tests task and it’s companion task (Visual Studio Test Agent Deployment). But you have to type the machine name manually as there is not selection option in current TFS versions. Here is a screenshot of TFS 2015:

enter image description here

Useful links: