Pages

Thursday, August 26, 2010

Visual Studio 2010 Coded UI Test Basic User Guide

User Guide for Coded UI Tests on Codeplex: http://tfsguides.codeplex.com/releases/view/48007

I'm still trying to understand Coded UI Tests. Can they be edited? Microsoft says not to edit the UI Map. It just seems difficult to get everything recorded correctly the first time. The guide doesn't explain how to change something after it is recorded, but on Page 8 it says "Click the “Show Recorder Steps” in order to see and edit the recorder steps". Maybe it helps to check the recorded steps before generating the code.

Tuesday, August 24, 2010

UN Site Has 3-Year Old SQL Injection

UN Site Has 3-Year Old SQL Injection

WPF applications do not have a predefined exit command

I'm testing a Windows Presentation Foundation (WPF) application. When I click the X in the corner the window is closed, but the process is still running in Task Manager. This is listed as a bug in Microsoft Connect, but was marked Closed/Postponed in 2008.

StackOverflow thread: http://stackoverflow.com/questions/1286692/wpf-standard-commands-wheres-exit

Wednesday, August 18, 2010

legal names cause application errors

I was reading about long names to find examples that I could use in testing. I read this article about Ulrika Örtegren-Kärjenmäki who was banned from a flight because her name did not fit on the Ryanair boarding pass.

So I tried her name in a web application and saw JavaScript errors. The errors didn't happen until I tried  viewing the name from other pages. Names may appear to save properly but you can't be sure until you actually try using them in all areas of the software.

Then I tried a different name with non-ASCII characters - Mötley Crüe, but did not see the same errors. So I  tried changing it to Motley üCrue. Guess what? The same JavaScript errors were back.

The application error happens when the first character of the last name contains an umlaut.

Saturday, August 14, 2010

strange error message

This error happened in SQL Server 2008 when you click New Query after editing a SQL script and are not connected to a server.











Steps to Reproduce:

1. edit a SQL script through Windows Explorer (open with SQL Management Studio)

2. click Cancel in the connect to database engine dialog

3. click New Query

That what usede to happen anyway. Today I cannot get the error to happen, so I am eith er missing a step or the bug was fixed. Now when I click New Query it prompts you to connect to a database.
Posted by Picasa