visual-studioseleniumtfsmicrosoft-test-manager

Build creation fails in Visual Studio for test written using selenium references


When i create build after creating a build definition for a test project developed using selenium references it throws me an error as follows.

"The type or namespace name 'OpenQA' could not be found (are you missing a using directive or an assembly reference?)"

Even though i have used appropriate references in my project and it does not throw any error while running the test.

Error remains the same on adding reference as.

Using OpenQA;

What i am planning to do is to create a test a project using selenium references and execute it using Test Manager.

Please Help!!!

Thanks in advance.


Solution

  • Problem resolved.

    While creating a build definition, under 'Process', in 'items to build' we need to set proper 'configurations'. Using 'Configurations' as 'release' and platform as 'x86' or according to your CPU will resolve the problem.