Sara Ford - Analyzing a Test Case Failure (Maddog Part 3)
- Posted: Feb 04, 2005 at 1:18 PM
- 74,876 Views
- 2 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
- WMV (WMV Video)
In this clip, watch MHagman and SaraF analyze a test case failure in Maddog.
For more Devdiv updates check out our C9 site: http://channel9.msdn.com/devdiv
- josh
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
To create the automated tests, do you record and then playback mouse and keyboard events? I was assuming you'd do it programmatically with COM or maybe send WM_COMMANDs.
A while ago I had to automate the AOL dial-up window because it didn't use a standard RAS entry. Instead I found the control IDs with Spy++ and used PostMessage and SendMessage to click the right buttons. I guess you don't do it that way because your goal is to simulate an actual user?
Record and playback is definitely one way to automate tests. Our primary method is to use a combination of MSAA and Win32 api calls, like sending messages to a control as you describe above. We drive the UI (meaning we use the mouse and/or keyboard to click on menus, buttons, etc) as much as possible to simulate an actual user, and it does a really good job.
Brian McMaster, one of our software testing architects (someone who designs our automation framework) wrote this whitepaper on Automating WinForms...
http://msdn.microsoft.com/library/en-us/dnwinforms/html/autowforms.asp
Hope this helps!
-sara
Remove this comment
Remove this thread
close