I can't access app.config from my web test plug in 26 April 2013 Donovan-Brown Work (0) Problem: I want to read the connection strings from my app.config of my Web Test Project but it never loads. Solution: Use the Configuration Manager OpenMappedExeConfiguration call to load the app.config file. Code: // Map the new configuration file.ExeConfiguratio... [More]
My web test data source is not loading all the columns from my csv file. 05 December 2012 Donovan-Brown Work (0) Problem: I have a data driven web test that calls other web test. The called web tests are also data bound to data loaded by the parent data source. When I run my test I was getting the following error: Request failed: Context parameter 'FluidManagement.FluidManagement_json#csv.spacer2' not ... [More]
How do I validate data in my database during a web test 25 August 2011 Donovan-Brown Work (0) Problem: The only way I can verify the success of my web test is to read a value from a database. Solution: Create a custom validation rule that can validate the value in the database. Code: using System; using System.ComponentModel; using System.Data.SqlClient; using Mic... [More]
How to change the display name of my Find Text validation rule 03 August 2011 Donovan-Brown Work (0) Problem I can’t easily tell what my Find Text validation rule is searching for in my Web Test. Solution Change the DisplayName value in the Web Test xml to something more meaningful. From Solution Explorer right click on the Web Test and select Open With… then select XML (Text) Ed... [More]
Writing Custom Conditional Rule for Visual Studio 2010 07 November 2009 Donovan-Brown Work (3) How to write a Custom Conditional Rule for Visual Studio 2010 [More]
Add validation rule to every request. 19 July 2009 Donovan-Brown Work (1) I need to apply the same validation rule to every request of my web test to test for forbidden text. [More]
I need dates in my WebTest to always be in the future. 25 June 2009 Donovan-Brown Work (1) Shows how to create a VSTS WebTest Plug-in to generate dates in the future. [More]
Neptune (future features) 27 October 2008 Donovan-Brown Work (10) This post describes new features for the next release of Neptune. [More]
Neptune (personal SMTP testing server) 20 October 2008 Donovan-Brown Work (12) This post describes a testing tool that allows automated testing of code that sends email. [More]