DCSIMG
How To,Coded UI Test - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » How To » Coded UI Test (RSS)
הרצת בדיקות על דפדפנים שונים עם Coded UI Testing
לאחרונה נתקלתי במספר טענות שלא ניתן להריץ בדיקות Coded UI  על דפדפנים שונים למעט Internet Explorer, אז רק להבהיר – אכן אפשר! אתם צריכים את הדברים הבאים על מנת שהתוסף יעבוד ויאפשר לכם להריץ בדיקות Coded UI על דפדפנים שונים: Visual Studio 2012 Update 1 Chrome 21+ Firefox 15+ IE 9/10 Windows 7,8 and Server 2008 R2 SP1 במידה ואתם עובדים עם Visual Studio 2010 אין צורך לשדרג את השרת, רק להתקין Visual Studio 2012 שיכול לעבוד במקביל עם Visual Studio 2010. ראשית יש להוריד את Selenium components for Coded...
Coded UI Editor – Guide
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 ...
Tech-Ed 2010 – Applied Software Testing with Visual Studio 2010 – All In One
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!...
Coded UI Test – Tip 4 – Add Unused Controls to UI Map
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
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
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
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...
HowTo: Upgrade CodedUI Test From Beta 2 To RC
HowTo: Upgrade CodedUI Test From Beta 2 To RC If you have created CodedUI Test in Visual Studio Team System 2010 Beta 2 and you upgrade Visual Studio to RC than you have a problem. This is because Microsoft changed specialized classes like HtmEdit, WinWindow, WpfButton and more and have been added them to the product, instead of generate UserControls file. Take Notice UserControls will be not add to the project any more!!! Awesome! You will see that Beta 2 CodedUI Test are no longer compiling under...