10-4 Episode 18: Functional UI Testing
- Posted: May 06, 2009 at 6:57 AM
- 70,858 Views
- 20 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…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
In this episode of 10-4 we look at a new type of test coming in Visual Studio Team System 2010 known as the coded UI test. Coded UI tests can be created to automatically navigate through your application's UI, which in turn can be used to verify that the
paths your users might take through your application are working properly. You can also add validation logic along the way to verify the properties of objects within the UI. Much like unit tests can quickly surface regressions on a method or function level,
coded UI tests can bring the same level of rapid automated testing capabilities to the UI layer.
This demo is based on an early build of Visual Studio Team System 2010 Beta 1.
For some relevant team blogs check out:
Amit Chatterjee's Blog
http://blogs.msdn.com/amit_chatterjee/
Mathew Aniyan's Blog
http://blogs.msdn.com/mathew_aniyan/
10-4! Over and out!
This demo is based on an early build of Visual Studio Team System 2010 Beta 1.
For some relevant team blogs check out:
Amit Chatterjee's Blog
http://blogs.msdn.com/amit_chatterjee/
Mathew Aniyan's Blog
http://blogs.msdn.com/mathew_aniyan/
10-4! Over and out!
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
In a completely unrelated matter, I'm curious whether the VS2010 IDE background will be customizable. I'm not a huge fan of the current shade of blue. If anyone has the inside scoop on that little tidbit, I'd be interested to know.
Nice video. These 10-4 videos are cruel
. Like watching someone play with a toy you want. You made sveral references to a Beta 1. Can you give some details? I was planning on installing it for my mom (being Mother's day and all).
I really would love to see it done on a web app (with complex grid row counting, resolving ASP.NET control id's and so on)
Will it allow recording the test on Web Apps having ActiveX control (e.g Office Web Components Spreasheet Control) where some data is inputted in specific cells and then saved. And after reloading the page checking for the updated data. And then allow this sequence to run for multiple sets of data.
Maybe your mom will accept an IOU?
Hi Ajay,
Good question. I checked with the product team and here is their response:
1. We do support ActiveX at infrastructure level i.e. we enable scenarios where 3rd party could write plugins for ActiveX support and it will work seamless with our IE/FF support.
2. We do support ActiveX written in VB6 (i.e. OCX) with standard caveat of app should have good accessibility.
3. Most common use of ActiveX is Flash. We *don’t* support this.
4. The specific ActiveX mentioned in q here was Office Web Component Spreadsheet. This will *not* work – we have poor support of Excel/Word document areas even in standalone scenarios.
Will there be a way to run Functional Tests on remote PCs (i.e., not a dev or build machine) or VMs?
Yep. Here's one way, there are others as well:
http://blogs.msdn.com/mathew_aniyan/archive/2009/03/03/distributed-coded-ui-tests.aspx
Hey, it was really nice to see UI test automation inbuilt in VS2010. I was waiting for this release for quiet long.
Does it support test automation of Winform and legacy applications (VB, MFC etc...)?
Nice demo. I hope there would be another Episode for Functional UI testing covering the matter in more detail
Awesome video! Fantastic job!
Once i have a set of Coded UI tests defined, how do I run the tests on machines that dont have visual studio. Usually we like to test our apps on different version of windows, 32 bit and 64 bit.
Currently we publish our dlls(application and Nunit) on a test machine and use cruisecontrol to trigger the msbuild script(consisting of MSTasks) to be executed without the need for Visual studio on that machine. Is a similar setup possible ?
Yes it does. IT is through Coded UI testing.
Sorry for the delay I just noticed your question. Yes you can do this using the build controller/build agent model we support in 2010. It allows you to orchestrate workflows where your tests get pushed out to agent machines which in turn run the tests and then report back to a controller, which then publishes the data to TFS. It's really sweet once you set it up and start seeing all of your machines running tests automatically without intervention!
any chance we'll get an updated video tutiorial for Beta 2 where things have changed drastically, in terms of how the code is compartmentilzed. it would certainly lower my learning curve. thanks.
Thank You for this
Looks great but... when I choose "Record Action" (1st choice) CodedUITestBuilder.exe crashes. This happens each time.
I have VSTS 2010 Ultimate english on XP SP3, I disabled all extensions in VSTS.
Any ideas? Any info you'd need from me to help you know what goes wrong?
Remove this comment
Remove this thread
close