This question regards best practice. I am building an automated testing framework using Selenium WebDriver and Visual Studio with C#. I am using TFS to check my project in to however I am running in to problems with checking in the browser drivers.
Browser drivers usually reside in the bin folder of a project however TFS excludes the bin folder by default as it contains files that are manually created for the project on each persons computer who checks it out. My question is, short of checking the bin folder in for my project, what is the best practice to ensure that when users check my project out of TFS they are receiving both the project source and the browser drivers required to make the selenium tests run?
Thanks in advance!
I thought I might add a little more regarding my current issue. I am developing a software testing framework utilizing Selenium WebDriver. I am utilizing C# and as such am using Visual Studio. My solution structure is as follows: I have two projects in my solution, a class library consisting of my testing framework (which includes Selenium WebDriver and the WebDriver support Nuget packages) and a unit test project. My unit test project references my testing framework project so that the classes I write in it can be utilized in the unit tests.
All of my Selenium code is handled in the framework project so that there is a level of abstraction between the tests that are written and the selenium code.
So far I have found that despite the fact that Selenium code is handled in the framework project the browser drivers need to be stored in the unit test project for the tests to work properly (As was determined in this Q&A Question )