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 7973823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:12:48+00:00 2026-06-04T08:12:48+00:00

I have been using Visual Studio 2010 linked with Microsoft Test Manager using Team

  • 0

I have been using Visual Studio 2010 linked with Microsoft Test Manager using Team Foundation Server to run MTM data driven Selenium WebDriver tests. This has been working fine and I’m very happy with it. My problem is that I also sometimes want a separate set of data to run on a ‘per test’ basis in order to support the data in MTM (Eg. MTM will have login user/password data and this XML file will have import data for valid users).

Now by per test I mean either to access a line of XML (or CSV if that is easier) for every datarow in MTM. Alternatively, is there a place were one can initialise a TestMethod opposed to the initialise that is called in Visual Studio before each datarow iteration of a TestMethod. Or finally, is it possible to find out which iteration of the test is being performed (eg. which datarow is currently being used).

I know this is written in a fairly confusing way, but am struggling to make it more understandable! Let me know if there are any confusions or ambiguities and I will endeavour to clear them up.

  • 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-06-04T08:12:50+00:00Added an answer on June 4, 2026 at 8:12 am

    I have found my own solution (albeit a little hacky) by using a global int in each test file that is initiated to 0. Then at the end of each test I increment it (pretty obvious really). I opted to implement a standard XMLreader and utilise this global int, though it gets a little tricky when changing between TestMethods in the one file. I may do this by having a “if number of XML elements == current XML element index; then i = reinitialised”.

    Hope this helps someone at some point!

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

Sidebar

Related Questions

I am new to using Microsoft development tools but have been using Visual Studio
I have been using Visual Studio 2010 SP1 for C++ in the default setting
I have been using nunit with visual studio 2010 on a windows 7 64-bit
I have been working in Visual Studio 2010, in asp.net, i am using Jquery
I'm using Visual C# Studio 2010 express and have been trying to batch update
I have been using Visual Studio integrated with Source Safe for years, when I
I have been using Visual Studio 2008 quite long but lately I am getting
I'm a long-time C++ programmer developing on Windows, and have been using Visual Studio
I have been using (and loving ) the jQuery intellisense for Visual Studio 2008
I've been using Visual Studio's property sheets for building my code and I have

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.