Recent update: 2008-3-21
Hello, I would like to be able to change my DataSource Attribute connection string to access the app.config file. The problem that I am running into is that the connecting string must be a constant. Do you know of any work suggestions? Currently it is something like this. ...
Have a web application which actively detects the client's preferred browser cultures to decide what to render (using Request.UserLanguages).I've recorded a web test - fine.When I play it back the client's preferred culture list is empty.How do I get the web test to present a list of ...
Hi all, Is it possible to view Console output from TestMethods? It doesn't show up in the Quick Console window. cheers, Alex
Hi, For a LoadTest's "Run Settings" properties, 1. whats the difference between using ConnectionPool and ConnectionPerUser? 2. Which setting "DOES NOT" cause any bottle necks on the Agents. Jesudhas
We are VSIP members with debugging support for our own scripting language. Can team test be extended for any arbitrary language? If not, is this planned and what is the timeframe? Thanks.
Hi, We have modal web forms within our ASP.NET web application and we are not able to record scripts for them (no script is recorded). Is there a way to make the script recorded work with modal forms? Thanks, Jesudhas
Hi,I am currently trying to build a web sxervice as an extension to SharePoint Portal Server.To use the SharePoint object model, I have to start the service on the remote machine running SPPS; it is not possible to do even the easiest things on my local machine running VS2k5.I love the idea of ...
Hi,I have a situation where I want the virtual users to sleep for a random amount of time. Can I achieve this without using the WebTestRequest class, bcos in this situation there is no request at that point.Eg. For a LoadTest (which has one web test), I set a constant load of 1000 users. The ...
Hi, Does anyone know what the maximum number of virtual users is for the load testing tools and can the number be extended without adding PC's/Servers to the test? Cheers
I'm just getting started with TDD. My code is improving. It was very useful to be able to test for the handling of exceptions using the ExpectedException attribute. How does one code up a test to verify that the correct firing of events? Also, it would be great for me to be able to count how ...
600 byte By
WN at 2008-2-23
In the test run configuration dialog, in the Code Coverage section, it is possible to select which assemblies get instrumented. There is also a "Re-sign..." button that, when clicked, brings up a "Binaries to re-sign" dialog which seemingly allows only a single key file to be used for signing ...
I have recorded a test which looks like this:- signin.aspx -> submiting page lands on search.aspx- click Register link on search.aspx -> lands on register.aspx- fill out page and submit -> lands on ValidateAddress.aspx (for mailto)- submit page -> lands on ValidateAddress.aspx (for ...
I have looked high and low and cannot for the life of me figure out where the installation for the agent and controller are located on the Team Foundation Server installation Media.The documentation states that the setup.exe's are int he dtec\cd folder ont he installation media and I can't ...
568 byte By
Ivo at 2008-2-21
The Application Verifier did work fine with Beta1, but I can't get it to work with Beta2.When I try Debug -> Start with Application Verifier I get the message "Application Verifier could not be enabled. Please refer to the release notes and supporting documentation".I tried installing the ...
SPROCs, dynamic SQL queries and views would all be very useful data sources. Tables are very limiting, especially when testing systems that don't have database delete capabilities I know, such a system was not designed with testability in mind, but that's my reality. I suspect its a common ...
I ran a unit test and wanted to publish the results back to the "operational store" to see what would happen and if I could do something with the data - however I got the following error:EndPublishRun: Server was unable to process request. > A connection attempt failed because the connected ...
I have a VPC of beta 2 (all in one client & server) and the Test menu is missing? Any ideas how this could happen? I didn't do the install on this one, somebody from MS gave it to me. I can get to most of the testing functionality throught the testing toolbar but one thing in particular is ...
I have a seperate project that just contains NUnit tests that i have converted the syntax to VSTS unit tests. The tests won't show up in the test manager however. Do I have to recreate the project as a Test project? How can I convert it?
I want to run a user registration recorded webtest for each username stored in a database. I've: - recorded such a test - Added a datasource - Added a context variable (sUsername) - Set the Username page field to use the context variableBut I cannot see how to set the context variable from the ...
I created a new Testing project for my solution and when I go to run the tests they all abort. When click on the "Test Run Error" I get 0/2 tests passed, 2 failed, 0 skiped. In the "More Info" section I get "No process is associated with this object." I can't figure what is going on with this ...
I have a multi-page webtest that registers a new user. The username entered by the user must be unique.I imagine that I could do this with a coded webtest by calling a routine that generates the username for me.Is it possible to record such a test and somehow have it use a unique value for ...
I have a multi-page webtest that creates a new company. When the registration page is submitted, it ultimately navigates to an address validation page passing the newly created companyId as a querystring parameter. It actually visits this page twice, once for mailto and once for billto ...
251 byte By
LucasC at 2008-2-15
Hi, I'd like to get code coverage information from Web Tests. I configure the testo configuration in order to instrument the Web Site. I Run my web test but no coverage information was generated. Is there any additional Step? Thanks
I have found it extremely difficult to unit test a web service - perhaps it's my testing-fu is very weak, but following some of the various help files are not getting it done.Scenario:1. Created a web service project - web service has one method. When I access the web service via the asmx ...
My organization builds our websites to multiple domains, depending on where we are in the development cycle: dev, test, stage, production. Thus we need our automated tests to run in each of these domains without modification. We can do this with our current home grown automation tool.This seems ...
Hello, I am have a little problem and need some help. I have created a webtest which loops thru a datasource. Converted it to a coded webtest to do some validation but can not get it to loop thru the datasource. Is there anything that I am missing? Any help would be much appreciated. ...
Hi, We use Visual Studio's test lists functionality to order our unit tests, since there are lots of them, and a hierarchical partitioning is definitely nice. As it seems, the structure of these lists are stored in the .vsmdi file. This is all well, but for the storage tag, which contains the ...
Does Team System have a mechanism for Manual Test Case management? In other words, can I store test cases, and then track and manage test case execution history?
I have a need, which should be fairly common, to run a set of tests for a given location in my e-commerce website. This location is several layers (pages) down in the page hierarchy. To avoid repeating the same recording (or script) in each of these tests, I'd like to create task-oriented ...
604 byte By
AaronJ at 2008-2-12
I've been working with the work items in Team System. I've added a few new fields and made some changes. After the changes I went in and opened the work item, filled out some of the fields and tried to save the changes. I received an error stating "Error, The update has been rejected." My ...
647 byte By
Oun at 2008-2-12
Hello; I want to pass the cookie set by Initialize step in LoadTest to each instance of the webtest in loadtest. Is it possible?For example:In init: I sign in into a page, the page sent me some cookies.during 1000 instances of the webtest: continue testing with the cookie set during the init.I tried...
959 byte By
slee at 2008-2-11
I created a web test and was able to run that successfully. I then created a Load Test to my Test Project and then on the wizard page I tried to add the Web Test as a part of the Load Test.My web test shows up in the list, so I click on that and click the Right Arrow button, nothing happened. ...
Hi,I have added a "ValidationRuleFindText" to my WebTest to look for a particular string. If the string is found then the validation passes. While running the web test "alone" it works fine. But when the web test in included into a loadtest and a load of 10 virtual users applied, I get lots of ...
Hi, I am very new the the VS system. Is it possible currently to wrap an existing automated script that was created by AutomatedQA's TestComplete? I have attempted doing this but VSTS says "No process is associated with this object." Thanks! Charity
125 byte By
LucasC at 2008-2-8
Hi, Is there any way to compare an Extracted value against another expected value without using coded Web Tests? Thanks
299 byte By
LucasC at 2008-2-8
Hi, I couldn't find where to add a Datasource in validation rules. I can use data from a data source as parameters but if I can chage dinamically the parameters (Data Driven) I'd like to validate against Data Driven values. Is it possible? Is there any way to do that? Thanks in advance
801 byte By
LucasC at 2008-2-7
Hi,I'm trying to use validation rules to validate the response of a Web Test.I'd like to validate that a especific object (an input type= text, id=TextBox2) has a especific value.I could validate that exists a Tag with this value, but I couldn't validate that this Tag was the one I want.I ...
125 byte By
LucasC at 2008-2-7
Hi, Is there any way to compare an Extracted value against another expected value without using coded Web Tests? Thanks
Hi, Is it possible to add file in .testrunconfigfile->Deployment->Additional files with reference to environment variable. Something like %TEMP%\myFile.txt? Thanks, Dmitry Berkovich
Hi,the generated wrapper class to access private members doesn't contain any accessors for fields with a generic type, e.g.private Dictionary<string, CacheEntry> m_cache; Does anybody know a workaround for this problem?Thanks, ...
I've been playing with Web Test to try out the following. Exercise a web application by logging in then logging out of a web app. I have hooked up the Username / Password fields to a table and I'm testing around 1500 logins. Now the test works great with most logins passing. What I would like ...
530 byte By
Jonas at 2008-2-6
I got the load test to run and save its results in the database. When it's done, I clicked on the "Report" button to view a report, and I get this error:Cannot access reporting service ' http://mycomputername/reportserver/reportservice.asmx' (ListChildren Web Service method name is not ...
I have to do a load/stress test using a webportal that uses certificates. I have to simulate different users logging in using different certificates. How would I be able to achieve this using a single machine? Thanks for your help, Thomas ...
569 byte By
Jonas at 2008-2-5
I tried to run a load test consisting of a single web test, and at the end of the run it said I needed to create a database for my test results, or needed to set a connection string. The error message had links to the help file, but they came up w/ "Item not found" in MSDN. How can I set this ...
Has anyone load tested an app that uses WSE 2.0? I've tried all the major tools on the market and none of them can get around the security (timestamping) that WSE brings to the app. I'm hoping that someone has been able to get VS team edition to work for them.
Is there anyway to get the Class Name column added to the list of available columns for the Test Results pane? It is available in the Test Manager, and it seems to be the best column to use to fully qualify the name of a test; If you are running a lot of unit tests that have the same name, but ...
251 byte By
LucasC at 2008-2-4
Hi, I'd like to get code coverage information from Web Tests. I configure the testo configuration in order to instrument the Web Site. I Run my web test but no coverage information was generated. Is there any additional Step? Thanks
264 byte By
AaronJ at 2008-2-4
In Team System, is there a way to edit the fields under Status? For example Priority is a status that shows up with numbers. I would like to be able to modify it so the number displays something else, 1-cosmetic, 2 -minor/work around, etc... thanks, aaron
380 byte By
Shikha at 2008-2-4
My Company has verisign secured site which I have to test. I tried fiddler2 but it does not record the ssl pages and results in an empty webtest when saved to VSTS. I read that a plugin can be used as a workaround. Can u help me with the possible workarounds because verisign generates a javascript t...
Hi,What is the intent of TextContext.AddResultFile() do? The help file just lists out the method at this point. I thought it would let me override the result file location, but that wasn't the case. Is this a result file that I can add and then populate with additional log information by ...