Home » Visual Studio

different factors to be considered while giving a test estimate


What are the factors to be considered while giving a test estimate for System Testing an App.

How these have to be prioritized.




1 Answer Found


Answer 1


I have written about the main factors  to be considered  before producing an effort estimate  for system  testing. These are:

a. What is the size of the system?

b. What types of testing  is required?

c. Whether only scripted testing or only exploratory testing or their combination will be performed?

d. What "non-testing" activities would be performed? Examples include defect reporting and tracking, production of reports and project management.

e. What is the estimated number of test  cycles that would be performed?

You can reach the complete article here . The article also mentions a number of approaches for test effort estimation.

Inder P Singh






We have 4 QUAD core processors and we have set max degree of parellelism to 4(as suggested by Microsoft). As of now we are using the default value for "Minimum query plan threshold for considering queries for parallel execution(cost estimate)".

Please suggest how to estimate the best value for for "Minimum query plan threshold for considering queries for parallel execution(cost estimate)"?

Thanks in advance.





We currently use Scrum and we used to use a structure like

Product Backlog Item
     QA Design Task
     QA Test Task
     Dev Task
     BA Task

The QA Test Task would normally represent us performing the tests and we would update the hours to represent the progress. In VS2010 there is a new Test Case type which we can use to replace the QA Test Task and a Test Plan Type to replace the QA Design Task we used to use. 

The problem that we have found is that neither of these options enables us to track our progress through the sprint. This is an absolute requirement for us to project our current progress. Are we missing something? or do we just have to make a heap of place holder tasks and then link them to Product Backlog Item and the Tests Cases / Plans?

Is there a way to automatically calculate a Test Plan work estimate?

I've tried adding the "Original Estimate" field to my "Test Case" work item, but it looks like there is no way to query Suites or Test Plans.


Hi All,

In the loadtest Test Mix, we can give 100 webtest with 1% for each test,

is it possible to give more than 100 web test in the loadtest?

And is it wise to do some thing like this?


I am trying to figure out the best way to handle exceptions when considering the following settings


Is there any guidance as to what exceptions may occur and what they may be related to (especially if in relation to the above settings) 

         ForumThreadCollection forum2 = new ForumThreadCollection("EventVwr");
       catch (StorageClientException storageException)
         switch (storageException.ErrorCode)
           case StorageErrorCode.AccessDenied:
           case StorageErrorCode.AccountNotFound:
           case StorageErrorCode.AuthenticationFailure:
           case StorageErrorCode.BadGateway:
           case StorageErrorCode.BadRequest:
           case StorageErrorCode.BlobAlreadyExists:
           case StorageErrorCode.BlobNotFound:
           case StorageErrorCode.ConditionFailed:
           case StorageErrorCode.ContainerAlreadyExists:
           case StorageErrorCode.ContainerNotFound:
           case StorageErrorCode.None:
           case StorageErrorCode.ResourceAlreadyExists:
           case StorageErrorCode.ResourceNotFound:
           case StorageErrorCode.ServiceBadResponse:
           case StorageErrorCode.ServiceIntegrityCheckFailed:
           case StorageErrorCode.ServiceInternalError:
           case StorageErrorCode.ServiceTimeout:
           case StorageErrorCode.TransportError:



In our libraries, we have several references that are using binding redirects in our app.config.  Everything works at runtime but during test deployment, I see warnings that an assembly or module directly or indirectly... cannot be found.  I'd either like the deployment to read the app.config (my.tests.dll.config) or at least give me a way to silence the warning.


A few more details: -- we reference A.dll that references B.dll v1.  Now we also reference B.dll v1.1.  As A.dll is outside of our control, we cannot recompile it against B v1.1.  Instead, we have a binding redirect for B to put it to 1.1. All ok and all as per normal procedures.

Now though, when the dll is deployed, I see the test run deployment issue warnings.  The tests all run correctly as the binding redirect is in the dll.config and the correct version is in the Out dir (as the hint paths have been set, etc)


I included TWO webtests (coded, C#) in the Test Mix (under Scenario section) and

following are the settings under "Run Settings":

Test Iterations = 2

Use Test Iterations = True

But when I run the loadtest with above settings, it only runs ONE

 webtest instead of running TWO.

Can someone please help me with this?

PS: I want my Loadtest to run the 2 webtest only once per webtest. Therefore, I am using constant laod as 2 and using test mix model as "Based on the total number of test"





I am trying to record a script to validate one of our client site cozi.

When i try to record the logon action to the site it gets successful. However, at the time of detecting dynamic parameters it gives me an error saying 2 primary requests failed.


The Request which failed and their error statement is as follows

First Request that failed : https://cozicentral.cozi.com/ajaxpro/Logon.ashx

With the error 500 no handler found

Second https://cozicentral.cozi.com/homepage/ == > https://cozicentral.cozi.com/logon/logon.aspx

With Error

Response URL Validation The value of the ExpectedResponseUrl property 'http://cozicentral.cozi.com/homepage/default.aspx' does not equal the actual response URL 'https://cozicentral.cozi.com/logon/logon.aspx'.  QueryString parameters were ignored. 


As part of testing I only tried to open the site added the userId and Password and clicked on sign in to reach the home page.


Please let me know what could be the possible issue and its solution at earliest.

Thanks in Advance!






We created claim aware WCF service and added STS reference to it. Also added WCF service url as trusted relying party in ADFS. Then added Service Communication certificate in both ADFS 2 & IIS 7 (Default Web Site).

We are able to browse WCF service from IIS without issue and its service reference URL is display .

But when we test this WCF service with a simple ASP.NET web application we get following exception

System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party . See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: ID3242: The security token could not be authenticated or authorized . --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Request(Message message, TimeSpan timeout) Exception rethrown at [0]: at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout) at System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetTokenCore(TimeSpan timeout) at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout) at System.ServiceModel.Security.Tokens.IssuedSecurityTokenProvider.GetTokenCore(TimeSpan timeout) at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout) at System.ServiceModel.Security.SecurityProtocol.TryGetSupportingTokens(SecurityProtocolFactory factory, EndpointAddress target, Uri via, Message message, TimeSpan timeout, Boolean isBlockingCall, IList`1& supportingTokens) at System.ServiceModel.Security.TransportSecurityProtocol.SecureOutgoingMessageAtInitiator(Message& message, String actor, TimeSpan timeout) at System.ServiceModel.Security.TransportSecurityProtocol.SecureOutgoingMessage(Message& message, TimeSpan timeout) at System.ServiceModel.Security.SecurityProtocol.SecureOutgoingMessage(Message& message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout) at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at ServiceReference1.IService.GetData(String value) at _Default.Page_Load(Object sender, EventArgs e)

For your reference (we added following code in test site) ....

    protected void Page_Load(object sender, EventArgs e)
            ServiceReference1.ServiceClient proxy = new ServiceReference1.ServiceClient("WS2007FederationHttpBinding_IService");
            string str1 = proxy.GetData( "Test Message" );

Please help us to resolve this issue.

Sharad K.



I'm preparing mysef for certifiation using Practise Test utility / program, which somes with training kit CD (70-640, 70-642, 70-646: Networking, AD, Server 2008). Unfortunately it doesn't work very stable. After first installation, I can ran through the test, but while giving the results and after it, it gives me lot of OBCD errors. I also cannot review my wrong answers after the test. I tested this utility on Windows XP and Windows 7 compters, both having the same problem.

I can paste errors later, if you guys don't know what I'm talking about :)

As well, I would like your opinion about certifications - every MS teacher I talked to, told me that these practise tests are much harder than real certification exam. As well, practise test requires 80% correct answer to pass, but in Finland 70% would be enough. Is these claims true? I also have to admit, that I hate the idea to read 3 books in engish 700 pages each, but I have lot of real life experience with Active Directory, so is there any better and funnier way to prepare myself to exam? I have also my own AD LAB where I can do whatever I want. With these practice test I pass 40-50%, and networking is my weaker area.

I have found that the image can be saved in Jpeg format with CImage, but, it seems that cannot specify the quality factor. Is it possible to define the quality factor ?


If I have a active passive SQL server 2008 cluster server with 4 CPU and 8gb of ram.

Do you recommend to turn on AWE (Address windowing Extensions) memory?

Fill factor?  Keep default as 0?

SQL server priority boost - if enabled priority boost, is there any performance boost. 

Min memory is 0 and max memory is 8191?

We currently have active passive sql cluster, should we move to active active mode?

thank you!




I received this error (see below) when attempting to load a form from another form.    This error is not reproduceable (i have seen 5 of these errors in the last month) even on the same form:    Any ideas on how to fix?

Actual Error:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Load factor needs to be between 0.1 and 1.0.
Parameter name: loadFactor
   at System.Collections.Hashtable..ctor(Int32 capacity, Single loadFactor)
   at System.Windows.Forms.Application.ComponentManager.get_OleComponents()
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FRegisterComponent(IMsoComponent component, MSOCRINFOSTRUCT pcrinfo, Int32& dwComponentID)
   at System.Windows.Forms.Application.ThreadContext.get_ComponentManager()
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.DoEvents()
   at GB.RF.Framework.UI.WinForms.HUB.RequestForm(FunctionType iFuncType, String sUserID, String sKey, List`1 oaArgList) in C:\rfnetbuild\3.0.1\Framework\UI\WinForms\HUB.vb:line 996


hey all,

Some of my tests fail because of "blocked control" or "invisble control" .

In the screenshots i can see that the start menu was open or pop-up from visual studio apeard(from another

application) hiding the relevant control , which i assume have been there before the run started.

 I'm quite sure it's irrelevant, nevertheless, I'm running a test on computer that dedicated for this purpose , once an

hour by task on the service manager, using VNC.

I tried window.SetFocus() with no success.


The qustion is how can i be sure that the browser i test is in the front, or alternatively dismiss any obstacle.


Maayan Alima.



I'm doing an excercise to determine the performance penalty on setting a fill factor of 50% compared to 100%. I created two new tables, populated them with data and created the two clustered indexes, one set to ff=100 and ff=50. (Let's for now forget about DML statements and therefore page splits).

When the ff is set to 100%, the data is stored more compacted and therefore a SELECT statement will read less data pages, on the other hand, a similiar SELECT statement will read double the amout of data pages to satify the same query using a ff of 50%. Using IO Statistics, I can cleary see the change in data pages BUT i can't figure out the change in CPU time! Using the TIME statistics, profiler or DMV dm_exec_query_stats (total_worker_time), I get confusing results, i.e. sometimes the 50% ff index is faster on SELECT than the 100% ff index. I was expecting the SELECT on the 100% ff to be faster then the SELECT on the 50% ff due to less data pages being read (again assuming that this is a newly populated table). Am I wrong in my assumptions? Also, what is the safest and most accurate way to measure query performance?

Now, on updating the tables, the ff 100 will suffer more page splits and therefore I'm assuming that in this case the DML statements on the 50% ff would be faster than the 100% ff?

In measuring performance improvements with ff, is the 'read data pages' counter enough or I do have to take into account also the CPU time?





Could you give me a real case where can some one use the fill factor in one hand and pad index in the other hand or use them both, because I have a little confustion about thoses two concepts and their utility



Can you provide a better solution to this problem? So far nobody has been able to come up with a non-cursor based T-SQL solution.


Johan Åhlén

I am developing a managed application using Visual Studio 5 and C# for a new phone that has a form factor of 480 x 800.  I am able to set the target device to the Windows Mobile 6.1 Professional 480 x 800.  However, I cannot find a form factor larger than VGA, 480 x 640.  How do I get the form factor to be 480 x 800?

Using Tools==>Options==>Device Tools==>Form Factors

I redefined one of the standard Form Factors to be 480 x 800.  Is this the right way to do this.  Isn't there a Form Factor for Visual Studio/Windows Mobile 6 SDK that provides this?

Thank you for your help.



<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure