Browse by Tags
All Tags »
Coded UI Test (
RSS)
Teched 2010 - Applied Software Testing with Visual Studio 2010 – Done I’ll start saying – Thanks everyone who participate at my lecture in Teched Israel 2010, I’ll also like to say thanks to Tzvia Gitlin Troyna the ALM sessions manager and to Sela Group for helping and supporting me during that period. My Session was loaded with Information regarding Automated/Manual Testing in Visual Studio 2010 & Microsoft Test Manager and there is not doubt that the Testing Space in Visual Studio 2010 is the...
My Lecture at The Yearly Convention For QA – Israel Yesterday I had the honor to be one of the presenters giving presentations on one of the most important conventions for the QA community. ( Home Site ) There were over 400 people from all over the industry that came to hear about what new and the future of Testing. I gave a lecture about the new Testing tool from Visual Studio 2010 called – Microsoft Test Manager, After my lecture I talked with many many people who were impressed by the new tool...
Coded UI Editor – Guide Feature Pack 2 is Available! and it’s Awesome! The feature pack comes with some great features and the one I want to talk about in this post is – Coded UI Test Editor. I’ve recorded a simple CUIT on Windows Calculator that adds to numbers and show the result. Getting Started After you install the Feature Pack 2 you will notice that Double Click or Right click on “UIMap.uitest” file will open a new window contains all CUIT Actions. The new screen contains the Method Names ...
Feature Pack 2 is Available! Brian Harry just release a post about the new Feature pack for the Testing area in Visual Studio 2010 and Microsoft Test Manager: Full Article - Feature Pack 2 is Imminent Silverlight Support Now you can test your Silverlight apps as well as your other desktop applications. We’ve added support both for coded UI tests and for record and playback in Microsoft Test Runner (part of Microsoft Test Professional). You are able to record the execution of your Silverlight...
Tech-Ed 2010 – Applied Software Testing with Visual Studio 2010 – All In One Teched Israel 2010 is going to happen next month in Eilat between the 28-30 of November. On this Teched I’ll have the pleasure to present a session about Applied Software Testing with Visual Studio 2010 In this session I’ll demonstrate how to use the following: Microsoft Test Manager – Fast Forward Automation Web Performance Testing Load Testing Coded UI Testing Why? So YOU can do Automatic and Load Testing by yourself!...
How To: Run Coded UI Tests From Command Line One of my previous posts about Coded UI I showed how to Run CodedUI Test From Another Application . In this post I’ll show how to use Mstest to run Coded UI Tests thought command line. Open up with Visual Studio 2010 Command Prompt Window. Browse to your Test directory. Enter the following command prompt to run all tests Mstest /testcontainer:TestProject.dll /test:CodedUITest1 enjoy CodeProject
Coded UI Test – Tip 4 – Add Unused Controls to UI Map If you are using Coded UI for advanced tests or even a simple test but with complex logic you might faced the following dilemma: How can I add a control inside the UI Map without recording or assertion that control? Why? Here is a simple scenario: I’ve create a simple Coded UI Test that opens Calculator (again) and perform couple of click and stops. Now, I don’t want to add assertion! I just want to use that control for internal logic – I want...
Coded UI Test – Tip 3 – Locate Controls Using Win + I In my last post we talked about Coded UI Test – Tip 2 – Assertions , but there are much more things you can do using CodedUI Test Builder –today I’ll show one more cool tip that will help you recording CodedUI Test much more easily. So today is how to locate control using Hot-Key, Why? Two reasons: Easy It will allow you to locate inner control that are not available while dragging mouse. For example: ComboBox Items – Let’s say I want to get the...
Coded UI Test – Tip 2 – Assertions Visual Studio 2010 comes with many new features not just to developers and architects also for the Testing World, and the one I’m going to show to day is Coded UI Test – A functional , UI testing based on .NET code. ( How to Record Coded UI Test? ) As you know Coded UI Is Very powerful UI automation, but recording automation is not enough and you need to do some validation – to check if the actions you made result in the right way. For validation in Coded UI Testing...
Running CodedUI Test From Another Application As Coded UI Testing become a very powerful and easy UI Testing there is lots of questions regarding using it in various ways, for example : how can I run CodedUI Test from WinForm application??? So the answer is very easy: Step 1 Create new WinForm application, and add reference to the below assemblies: c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\ Microsoft.VisualStudio.TestTools.UITesting.dll Microsoft.VisualStudio...
Microsoft Key Note At SIGIST 2010 - Test Automation – Done Today I had the honor to participate at SIGIST 2010 conference (The third year) and be a part of Microsoft Key Note on Test Automation in Visual Studio 2010 and Microsoft Test Manager. (Last year lecture - Sigist 2009 – Lab Management & Pictures ) I’ve showed couple of cool demos using “Fast-Forward for Manual Testing” , Rich Bugs using Data Collectors and Lab Manager solution. And I showed a short demo on how to use Eclipse IDE with...
Window Hooks – Summary A week ago I received a question through my blog " How can I create buttons on top all open applications? ", I didn't waste time and start writing about my solution to the question. So here is a series of posts regarding this question above: Add Your Control On Top Another Application – Part 1 (Win32) Add Your Control On Top Another Application – Part 2 (Win32) Add Your Control On Top Another Application – Part 3 (Win32) Add Your Control On Top Another Application...
Add Your Control On Top Another Application – Part 4 (Win32) And here we are, the last part in this series – How to set Window Event using SetWinEventHook. In the previous posts we have found the Target window handle and his TitleBar position , we created a new Control(HoverControl) and placed him On Top the Target TitleBar , the only thing that left if to listen Target window events (Example: LocationChange ) so we can move our HoverControl accordingly. We going to use some more NativeMethods to...
Add Your Control On Top Another Application – Part 3 (Win32) This is part 3 and we are almost done! The first post in this series Add Your Control On Top Another Application – Part 1 (Win32) we saw how to find window handle just by pointing the process, this was done by using Win32 native methods. In Add Your Control On Top Another Application – Part 2 (Win32) We used another native method that helped us to find target window position based on TitleBar info. This part will show how to use this information...
Add Your Control On Top Another Application – Part 2 (Win32) In my previous post Add Your Control On Top Another Application – Part 1 (Win32) I’ve showed how to obtain window handle from process. Now I can assume that we have the window handle (If not read Part 1), now we need to get TitleBarInfo fro the TargetWindow, Using that data we can get the position of the window and more. Download Project Step 1: Add GetTitleBarInfo and GetLastError Using GettitleBarInfo will allow us to get information...
More Posts
« Previous page -
Next page »