Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4001012
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:51:09+00:00 2026-05-20T07:51:09+00:00

Is there a way to integrate Visual Studio 2010 Coded UI Test with Specflow?

  • 0

Is there a way to integrate Visual Studio 2010 Coded UI Test with Specflow?
I am not sure if these 2 can hook somehow.

I have this idea to Create a Data-Driven Coded UI Tests by using some Coded UI API (I don’t know yet what) and hook it up into Specflow.
I have to revisit the video Specflow guys had last year to see how all can fit together
and I would appreciate some input, ideas.

Does this has to do with creating unit test providers for Specflow like the one below (since Coded UI work in VS 2010):
MsTest.2010 MsTest version for .Net 4.0. Supporting test-categories.

Will unitTestProvider (generatorProvider and generatorProvider) be that connection?

Or simply these 2 won’t mix and are competing or different ways to do integration or acceptance testing.
Is Coded UI Tests actually close to running Specflow via selenium for UI automation test
with additional benefit that the code is generated for you.

I just want o gain the benefit of Coded UI Tests (maximize its feature both at design and run time) and Specflow (again design and run time)

(More about this on Microsoft site)
Create a Data-Driven Coded UI Test
http://msdn.microsoft.com/en-us/library/ee624082(VS.100).aspx

Using Visual Studio Premium or Visual Studio Ultimate, you can create a coded UI test that tests whether the user interface (UI) for an application functions correctly. The coded UI test performs actions on the user interface controls for an application and verifies that specified controls display the correct values. For more information about how to create a coded UI test, see How to: Create a Coded UI Test.

After you create your coded UI test with specified data, you might want to run your coded UI test multiple times with different sets of data to test different conditions. To do this you can add parameter values from a data source to create a data-driven coded UI test. Each row in the data source is an iteration of the coded UI test. The overall result of the test will be based on the outcome for all the iterations. For example, if one test iteration fails, the overall test result is failure.

For more general information about data-driven tests, see How to: Create a Data-Driven Unit Test. (http://msdn.microsoft.com/en-us/library/ms182527.aspx)

Thanks,
Rad

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T07:51:10+00:00Added an answer on May 20, 2026 at 7:51 am

    Basically what you need to do is:

    1. Create a custom generator to decorate your test classes properly
    2. Ensure the Coded UI API is initalized during any SpecFlow hooks you call

    I have a solution on how to do both of these on the SpecFlow wiki: https://github.com/techtalk/SpecFlow/wiki/Using-SpecFlow-with-CodedUI-API

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to view the activity log for the integrate SourceSafe inside
is there way thats i can preselect an item when the page loads or
Is there a way to connect to a db with Integrated Security from multiple
Is there a way to iterate (through foreach preferably) over a collection using reflection?
Is there a way to iterate over a Time range in Ruby, and set
Is there an easy way to iterate over an associative array of this structure
Is there a way in the .NET API to iterate on the managed objects
Is there a way to use a foreach loop to iterate through a collection
Is there way in next piece of code to only get the first record?
Is there a way to enforce constraint checking in MSSQL only when inserting new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.