I currently connect to TFS 2015 with Excel and connect to the analysis server.
I have created a Pivot table that is setup to display the reults of Test Suites, I can filter it by Projects and area paths in the pivot table.
I then open another worksheet and use vlookup to build a matrix for a dashboard view of test suite status (total tests, passed, failed, not run …..)
IT’s a very manual process. I’d like to use SSRS to generate the report, but I'm new to SSRS and I'm not sure how to structure the dataset to get the outcome of the tests. Does anyone one have and sample reports that pull test results into an excel like table?
Related
I developed a report using the getdaye() function in the query. The report runs fine on SQL management Studio.
I created a report using the SQL server data tool and the report is based on the query that I wrote in SQL studio. I have established a connection using the data source and am able to connect to the SQL database. When I run the report using the tool after a couple of days the report data is different from the data that I get when I run the query using SQL management studio. Obviously the Getdate() is not fetching the right date.
The report data maches only when I copy and paste the query in the SQL server data tool and then run the report.
Am I doing anything wrong or should I use create a parameter for the date and direct the default values = Now() on the sql server data tool.
Is there any other work around for this.
Hem
I guess that did not publish the report to a Report Server but repeat to preview the result in Visual Studio (SSDT). SSDT caches data to improve the experience in SSDT and retrieves data from the database only when needed. "Needed" means that you either change the query or choose different parameters. You could of course pass a parameter to the database server, but if you don't want that, you will have to clear the cache from time to time. Look into the folder where the report is saved and delete the *.data file with the same name as the report. You can make this task very easy by adding a menu command to the tools menu as described here.
I have 187 reports in a live SSRS/SSAS scenerio. I have a requirement to update the cube all of the reports are feeding from. The requirement is spawned from a change request to one of the reports.
Is there a quick way to determine whether or not I have broken all the other reports based on the new cube design (in short terms, how do I perform automated regression testing?)
Thanks much!
Best thing I can think of is to set up a subscription for every report that goes to an empty folder on a file share, or email if you prefer. If there is less than 187 reports in the folder, then you have a broken report.
You can then create a query of the SSRS database subscriptions table to find the subscription that errored, and which report it was, to go test it further.
If you want to automate the creation of the subscriptions for the reports as well, you could use something like this tool. https://www.2ndrock.com/software/subscriptionmanager/subsmgr.html
I am working with TFS 2013 and generating reports with SSRS however I have benn tasked with creating a detailed report showing all steps and acceptance criteria for each test case and list the available parameters. I have searched and searched the web and have not found any examples that show the test steps.
Thank you in advance.
In most instances the Test Steps fields are not set to reportable by default so they are not populated in normal reporting databases. You'll need to set them to reportable or create a new data source targeting your TFS transaction databases instead of the Warehouse/Cube databases.
It is not recommended you target transaction databases with reports since this can affect performance of TFS when reports are run. Especially a field like Test Steps since it might need to pull a lot of data at once.
Use the witadmin command to change the reportability of the Test Steps field. Using detail will only put the information in your Warehouse while the detail option will put it into the Warehouse and the Cube. Where you want it depends on how you write your reports. Once set the reportability type can only be changed in limited ways, so please keep this in mind when deciding how you want it set.
witadmin changefield n:<nameOfFieldToChange> /collection:http://yourcollectionURL:8080/tfs/YourCollectionName /reportingtype:<dimension,detail>
See the reportable attributes section for details.
I've built a report which displays data from a db. This works fine, rendering the report correctly.
My query returns ~40,000 records. I would like to automatically generate a pdf file for each record, named using one of the fields returned by the query.
How do I automate this? I have Report Builder 3, and Visual Studio.
Thanks.
I'd write a report that takes a parameter and generates the report for one record. Deploy to your Reporting Services server.
Then I'd write a quick program that loops through your data and passes each unique record value to the report as a parameter and saves it as a PDF with a unique name. It's quite easy to run reports programmatically and Microsoft have some code to get you started.
If you have Enterprise SKU of SQL Server, look at data driven subscriptions. Another option could be creating report with one record per page, and then splitting resulting PDF into individual PDFs using some free tools.
I am new to SSRS and I'm trying to automate a report for our client. I have comnpleted the design but I have not deployed it to the reporting server. When I manually export the report to excel via the design viewer in Business Intelligence Studio 2008, I get a new workbook every time. However, I want this report to export to excel automatically, to the same workbook, on the same worksheet, every time it is run per month. This way, i can create an excel workbook that contains the report data and other worksheets with templates that auto populate, based on the report data.
I'd like to avoid exporting it to a new workbook, then copying and pasting into the workbook with all my templates manually. I'd also like to avoid exporting to CSV or XML and then importing it into Excel.
Is this possible? Perhaps this is via the deployment of the report and I just haven't gotten that far?
Thanks!
Hi welcome to stack overflow.
Can l suggest looking at another related technology SSIS (Sql Server Integrated Services). This will allow you to extract the data from a data source. Then using the the out of the box components export the data to Excel. Once you have created the package in SSIS, the package can then be scheduled to run (if you have SQL server instance) to run at specific times. I have used that solution in my current role to produce reports automatically and then email then to various people.
The link below shows one method of exporting to excel using BIDS, and suggests some other ways.
http://cavemansblog.wordpress.com/2009/04/17/ssis-export-data-from-sql-server-2005-to-excel/
Also this link http://dougbert.com/blog/post/Excel-in-Integration-Services-Part-1-of-3-Connections-and-Components.aspx is one of three that covers the topic of connecting SSIS to Excel, has some excellent advice IMHO
SSRS has a scheduler build in, which can run reports at specified times, this l think is only available in the enterprise edition. This facility will if memory serves right, will not insert the data, only create or overwrite the file each time. So l am not sure if this is the solution you are looking for.