How to import test cases from excel sheet to TFS (team foundation server) - testing

I have tried using Test object tool which is used to get test cases from TFS to Excel sheet.
Now i would like to know how to import test cases to TFS(Team foundation server) again from excel sheet.

The simplest way to import your test case back to TFS is: Import your test cases from web portal by copy and save.
For more details take a look at this thread.

Related

Is there a way to move test suite/cases from MTM application to Azure Devops' Test plan?

We are currently using MTM (application, not web) to house our test cases. We are moving to Azure Devops >Test Plans. We would like to export from MTM and import into ADO. Is there an easy way of doing this? I can not find a lot of info on this subject any help would be greatly appreciated.
If you want to move all the test cases from MTM to ADO then you can make use of Excel sheet for this bulk update.
In Excel sheet
-->Team tab
-->New List
-->Click on Servers
-->Add Your organization URL.
Select the project and add all your test cases to given table .
After adding all the test cases save it and again go to team tab .
Click on publish and in your ADO you can refresh and see the new test cases added over there .
For more details see this youtube video Click Here

Is it possible to import test cases from Excel to TFS?

I need help in importing test cases from excel to TFS [Version 14.102.25423.0]. As we have to write thousands of old test cases in TFS which seems to be very time consuming task.
I've already tried using- Test Case Migrator Plus. But its not working bcz of-TCMP has stopped working error. I'm unable to find solution for this error. Also there is no alternative I could find for same on Google.
I have also tried using Team Addin for excel but this gives option of importing Data from TFS to Excel but not vise versa.
So Plz let me know if anybody knows any solution or any otheralternative for getting this done.Thanks in Advance!
Note: I've Visual Studio 2015 installed on my VM with Windows 7.
The simplest way to import your test case back to TFS is: Import your test cases from web portal by copy and save. Note you must switch to the grid view first.
For more details take a look at below two links:
Importing Test cases from Excel to TFS
Add feature in TFS to export and import test case to and from TFS with steps,actions and expected result details
If you have multiple/thousands of test cases which need to upload. While TFS does not offer an out-of-the-box feature as a perfect solution. The 3rd-party tool Test Case Migrator Plus you are using seems only until 2013 version and there isn’t the version which supports TFS 2015.
You could still use the grid view, if you use three columns in Excel, you can even import many test cases into TFS at once. Besides depending on what you have as input, you can also do it with a bit of code, e.g. in C#. Just append some text, split columns by \t and rows by \r\n. Use Clipboard.SetText() and then paste in TFS.
There also has been a related user voice, you could vote up to get more attention, TFS PM will kindly review your suggestion:
Exporting Test Cases with Steps to Word/Excel
https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/19582678-exporting-test-cases-with-steps-to-word-excel

upload test cases from excel to microsoft test manager 2013

In my current project we are using Microsoft Test Manager 2013. We have prepared test cases in excel. How can we upload prepared test cases from excel to MTM 2013.
Additionally to the answer by #MrHinsh:
Check Create Manual Tests using Team Web Access and look for the question Can I copy test cases and test steps from an existing Excel worksheet? in the Q&A part.
I do this using the free tool tcmimport: http://tcmimport.codeplex.com/
You can do this by copying and pasting into the test grid in the web access for TFS 2013. In the web access to to the test tab and for the test suit you want to add items to switch to grid mode. Then past in in the required format.
I recommend preparing test cases directly in Web Access or MTM. Your current workflow is a dysfunction resulting from Quality Centre use 😊.

Import SharePoint 2010 Excel library data in List

I want to import SharePoint2010 Document library Excel data in to SharePoint2010 list.
This functionality occur when Excel is added in document Library.
What can i do?
I use import spreadsheet option, it import the data from Excel which is on the server machine (Host machine)
So please give me solution
Add more details .
Import spreadsheet is available on client machine also.
you can have a local excel file and import it to create a list.. without logging to server

How to export data from Excel spreadsheet to Sql Server 2008 table

I want to import data from an Excel file - assume Excel 2003 / .xls - to Sql Server 2008.
Have tried adding a linked server to the JET OLE DB Access driver, and of course it fails on the 64-bit machine.
But when I try to drop the linked server while experimenting, there's another error saying that the linked server already/still exists!
I have also tried changing the Excel driver to 32-bit (regedit tool) but am not sure if it's doing anything, same error is coming up!
Some more details:
Say Table1 in Excel file has 5 columns.
I want to map to Database.dbo.Table1 with 5 columns again, but with different names in table.
Is there a way to do even do such an import?
From your SQL Server Management Studio, you open Object Explorer, go to your database where you want to load the data into, right click, then pick Tasks > Import Data.
This opens the Import Data Wizard, which typically works pretty well for importing from Excel. You can pick an Excel file, pick what worksheet to import data from, you can choose what table to store it into, and what the columns are going to be. Pretty flexible indeed.
You can run this as a one-off, or you can store it as a SQL Server Integration Services (SSIS) package into your file system, or into SQL Server itself, and execute it over and over again (even scheduled to run at a given time, using SQL Agent).
Update: yes, yes, yes, you can do all those things you keep asking - have you even tried at least once to run that wizard??
OK, here it comes - step by step:
Step 1: pick your Excel source
Step 2: pick your SQL Server target database
Step 3: pick your source worksheet (from Excel) and your target table in your SQL Server database; see the "Edit Mappings" button!
Step 4: check (and change, if needed) your mappings of Excel columns to SQL Server columns in the table:
Step 5: if you want to use it later on, save your SSIS package to SQL Server:
Step 6: - success! This is on a 64-bit machine, works like a charm - just do it!!
There are several tools which can import Excel to SQL Server.
I am using DbTransfer (http://www.dbtransfer.com/Products/DbTransfer) to do the job.
It's primarily focused on transfering data between databases and excel, xml, etc...
I have tried the openrowset method and the SQL Server Import / Export Assitant before.
But I found these methods to be unnecessary complicated and error prone in constrast to doing it with one of the available dedicated tools.
In SQL Server 2016 the wizard is a separate app. (Important: Excel wizard is only available in the 32-bit version of the wizard!). Use the MSDN page for instructions:
On the Start menu, point to All Programs, point toMicrosoft SQL Server , and then click Import and Export Data.
—or—
In SQL Server Data Tools (SSDT), right-click the SSIS Packages folder, and then click SSIS Import and Export Wizard.
—or—
In SQL Server Data Tools (SSDT), on the Project menu, click SSIS Import and Export Wizard.
—or—
In SQL Server Management Studio, connect to the Database Engine server type, expand Databases, right-click a database, point to Tasks, and then click Import Data or Export data.
—or—
In a command prompt window, run DTSWizard.exe, located in C:\Program Files\Microsoft SQL Server\100\DTS\Binn.
After that it should be pretty much the same (possibly with minor variations in the UI) as in #marc_s's answer.