No data in the Test Plan Progress Report in TFS - visual-studio

I'm having some problems with the Test Plan Progress Report in TFS. It is not showing any data in there, even when i have several test cases and in different states, and also have assigned a Configuration (Windows 7 and IE9) to each test case. Do you know what else could be causing this annoying issue with the report?
The Test Case Readiness Report is working fine, but only this one is not working.

I met the same problem. After taking a lot of time in google or microsoft's website , there is still no answer be found. I decide to research the report design. It still take a lot of time since this is my first time to use SQL Server Report Builder.
I found the solution to this problem.
Open this report in report builder
go to DataSet > dsTestData
right click mouse > dataset properties
select field in left column
click 'fx' button of Passed_Cumulative_Count
change expression's variable :
change OutcomeCaption.Value="Passed" to Outcome_Id.Value="2"
change other fields as step 6
Outcome_Id :
1 Other
2 Passed
3 Failed
7 Blocked
255 Never Run
Save your report
You should see test plan progress data now .
My TFS is in Traditional Chinese OS , the OutcomeCaption will be chinese word. This is why the orginal report has no data.
Hope this gives others some help.

I had a similar issue and it turned out it was because I didn't have Test Plans defined. Since I wasn't using a version of Visual Studio that had Microsoft Test Manager licensed, I wasn't able to define a Test Plan for my Test Cases.

Related

difference between overall code and new code in sonarqube

I am new to sonarqube and I don't understand how it works.
I have downloaded the latest sonarqube image, I run a simple container and the application starts, everything ok. Community Edition Version 9.9
I have a simple python program and I scan it with the following command:
sonar-scanner.bat -D"sonar.projectKey=test" -D"sonar.host.url=http://localhost:9000" -D"sonar.login=MY_TOKEN" -D"sonar.python.version=3"
In the first scan the new code tab contains no information and in the overall tab everything is perfect, without any error.
I enter 1 smell code and launch the scan. The new code tab shows 1 smell code and the overall tab shows the same information. I think that everything is correct.
I enter another smell code and launch another scan. The new code tab shows 2 smell codes and the overall tab shows the same information.
If it shows the same information, what is the difference between them?
Shouldn't the second scan show only 1 smell code in new code tab and 2 smell code in overall code tab, why doesn't it happen like that?
Why is the scan not done against the latest version?
thank you in advance

Visual Studio Load Test View Raw Results

I am running a Coded UI test using Visual Studio load testing capabilities.
My test runs successfully, but I am trying to get a better understanding of results. My results are stored as "All Individual Details" and are stored in a local database. However, I'd like to extract raw results for each individual transaction. All I can really see in the results is the number of times each transaction ran, the average response time and the min and max etc. I'd like to get hold of the raw results for each individual transaction however. Is this possible?
I'm using VS2012.
Visual Studio stores load test results in an SQL database, provided the "run settings" specify so. The contents of the database for Visual Studio 2010 is defined here. A few changes have been made for later versions but much remains the same.
Much of the contents of the database is derived from Web Performance tests but the question asks about load tests running Coded UI tests. Transactions and pages are features of Web Performance tests, whilst the author of a Coded UI test may think of transactions and pages, Coded UI has no inbuilt items that provide that data. Hence various parts of the database will be empty.
To find the connection string for the SQL load test database, open any load test file then from toolbar (or context menu) select "Manage Test Controllers". The connection string will be shown within the window.
to get the raw data do the following,
1.open the results
2. select the graph tab
3. Select the drop down, e.g. transaction response time
4. In the top right corner, select Export graph data to excel

Crystal Report takes long time to load every time in VS2010

I am working in a window project in asp.net4.0. I am using Visual Studio 2010. I have create an Invoice report in Crystal Report . Problem is that It takes1 minute to load every time. I have searched on google and also unchecked the option "Save Data in Report". But it does not effect report loading time.
So please help me. provide any idea or solution of my problem...
Hi I have found the solution to my Problem:
Open Crystal Report in Design Mode then Goes To Properties of Crystal Report
Crystal Report -> Design -> Page Set Up -> Check "No Printer" property.
and then My Report Take 2-3 seconds to load every time on my machine as well as in client machine.
Open Crystal Report in Design Mode then Goes To Properties of Crystal Report
Crystal Report -> Design -> Page Set Up -> Check "No Printer" property.
and then My Report Take 2-3 seconds to load every time on my machine as well as in client machine.
I support for the above answer, really it shows a lot of difference.
Thank you guys.
Goto Project > click (Winform)properties... > click Build and select platform target choose x86 and
When Loading home page or some page just run empty Crystel Report(only solution for initial start slow), I think that time take ready for some DLL files.
code examples
reports.ReportSource = null;
this.Close();
hope this will help you!
I have solution for this. (this works for me!)
From the report > right click> page setup > uncheck "no printer" for optimization.
If it is still slow, go to Start > Devices and Printers. Remove all the printers that are connected to the network. You won't need printers in developing crystal reports unless you want to print the report.

Crystal Reports delay shows old data when using MS Access

Here is in interesting one.
I have a Crystal Report that uses a single Microsoft Access 2007 table. The data in the table is updated at run time based on criteria from a list box.
If I select one entry from my list it updates the data and shows in the report. If I select and different entry is shows the data the old data. If i select that report enough times it will eventually show the new data.
The data in the access data base is updated as I checked manually
My problem is that there seems to be a delay in between the data updating and the report showing the new data.
Is there anyway to reduce this delay or get my program to wait until access has finished updating ?
Here's some ideas:
If you're mixing cr-xi with VS2010, and have no real reason to do so, then uninstall xi and install the new libraries for VS2010. I had issues mixing cr-xi with VS2010.
There's an option to save data with report. Make sure that's turned off. If it already was, turn it on, run the report, then turn it off again.
You can try rpt.Refresh(), right before crystalReportViewer1.ReportSource = rpt.
This page had some ideas, including the last one I listed.

Query runs fast but report renders slow: how to debug this?

I'm running SSRS 08. My query has four parameters (all varchars). I can run the query through management studio and it runs in under 10sec. I get the same performance if I run the query in Visual Studio's query designer.
However...if I try to preview the report or actually run the report once it's deployed the actual report sometimes takes more than 5 minutes. I ran a trace and the query seems to be in/out of the SQL server side quickly. How can I find where/why I'm loosing this performance? I've tried/checked so far the following:
No images are referenced in the report
No grouping/sorting outside of the stored procedure
Since it's a straight forward report I rebuilt it with same result (to check if it's not an issue of a corrupted report).
ran SQL trace when I executed the report to make sure the query did not have issues
Based on some suggestions before I rewrote the query to use variables instead of parameters like so
-- ...
-- Note: #Parameter is a varchar(40)
-- ...
declare #Var as varchar(40)
set #var=#parameter
select * from table where fieldvalue=#var
Ran the trace and it's not an issue on the query side.
I had the report html output trouble on report retrieving 32000 lines. In my case I had to activate “Interactive Paging” to allow user see first page and able to generate Excel file. The pro is that first page appears fast and user can generate export to Excel or PDF, the cons is that user can scroll only current page. If user wants to see more content he\she must use navigation buttons above the grid. In my case user accepted this behavior because the export to Excel was more important.
To activate “Interactive Paging” you must click on the free area in the report pane and change property “InteractiveSize”\ “Height” on the report level in Properties pane. Set this property to different from 0. I set to 8.5 inches in my case. Also ensure that you unchecked “Keep together on one page if possible” property on the Tablix level (right click on the Tablix, then “Tablix Properties”, then “General”\ “Page Break Options”).
I was troubleshooting a similar issue a while ago and it turned out to be related to the browser I was using to view the report. If the report returns a lot of data to the screen consider splitting it into multiple pages if it is not already configured that way.
Why Does Business Intelligence Studio Load Reports Faster than the Report Server
I think I may have found my answer on a social.msdn.microsoft.com thread
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/1e34dc76-4d78-4376-89b0-7c381ed82726/
I unchecked the "Keep together" setting and it now actually previews coming from the server and I can export the report. Much improvement

Resources