DCSIMG
Visual Studio 2010,TECH - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » Visual Studio 2010 » TECH (RSS)
עבודה עם סיסמאות ב–Coded UI Test
קראתי היום כתבה של ערן רוסו – בעיה בהזנה שדה סיסמה דרך Coded UI Test ורציתי לחדד את הנושא עבורכם: כאשר מקליטים בדיקה בעזרת Coded UI Test על אתר או אפליקציה שמשתמשת בפקד Password הסיסמה תישמר מוצפנת בקוד שנוצר. public string UIPasswordEditPassword = "1U3nLUbO/llTew1#IBFZb1Vu6aDc/ggm" ; אם נתבונן בקוד שנוצא על ידי Coded UI Test נוכל לראות את ההשמה של הסיסמה השמורה לשדה Password: public void RecordedMethod1() { #region Variable Declarations HtmlEdit uIUserNameEdit = this .UILoginWindowsInternetWindow...
Getting Started With Git-TF Tool
Git-TF tool release by Microsoft allowing developers to work locally using Git repository without any connection to TFS, if you wanted to work on your files locally (In case you don’t have internet connection) you had reopen the solution and work offline. TFS 2012 comes with new feature called – Local Workspace allowing developers to work locally on their files but without tracking the changes history – here comes Git-TF tool. Brian Harry’s Blog Distributed Version Control (DVCS) has a growing following...
Copy Source As Html-Visual Studio 11
Tweet I think this is a most tool for any blogger out there, most of my posts contains Source Code examples and pasting Source Code without Colors and Format is just ugly. In Visual Studio 2010 Microsoft released the Productivity Tools that has the Copy Source Code as Html built in, also there is a CodePlex project - http://copysourceashtml.codeplex.com/ that supports Visual Studio 2005 and 2008. Because Productivity Tools for Visual Studio 11 Beta isn’t out yet I’ve modified the CopySourceAsHtml...
Work Item Spell Checker–Test Case Steps Support
Tweet Couple of mounts ago I published the Work Item Spell Checker Custom Control for VS 2010 on CodePlex, since than I received requests for enabling Test Case Steps Spell Checking, I made some changes for the project to enable this and now you can run Spell Check on Test Steps. Download Work Item Spell Checker Custom Control Because the steps control cannot be effected on run time from code after you finish the Spell Check you need to refresh the item to see the results. Download Work Item Spell...
Windows Phone 7 – Build Puzzle Game
Tweet Over my last posts I talked about Windows Phone 7, we saw some real examples for Location Service, Maps, Ads, Accelerometer and more. Location Service and Bing Maps Raise My Dog–Russian Connect Window Phone 7 and Windows 8 app to Microsoft pubCenter Accelerometer Sensor for Windows Phone 7 Because I saw how many of you download my demo projects I understand the need for more demos around Windows Phone 7. So Today, we’ll build a Puzzle Game for Windows Phone 7 (Including the Sources ) Download...
Windows Phone 7 - Location Service and Bing Maps
Tweet Over the last two posts I’ve talked about Microsoft pubCenter ads into your Windows Phone 7 application and Accelerometer Sensor for Windows Phone 7 all as part of a very long series I’m planning to write on Windows Phone 7 in order to help you write cool and useful applications for Windows Phone 7. In this Post I’ll talked about Location Service and Bing Maps. Location Service – I’ll show how to receives data from the Microsoft Location Service and displays the geographic coordinates of the...
The Git Hole
Tweet I consider myself a calm person with plenty of tolerance, I believe in productive discussion and love it – Part of my job as a consultant is to talk with Teams and explain them why you should choose a specific product over another, in 99.9% of those meetings there is one guy that don’t like the change (No One Like Changes) and you need in a calm way to explain and show him the benefits of the new tool – Forcing someone to do something is never a good thing. But sometimes there is no wining...
The Future of Testing: Quality Center vs. Team Foundation Server
Tweet Quality Center vs. TFS is a question I hear a lot, each customer that works with Quality Center has faced this question when the development team has decided to work with TFS or the Testers want features to help them improve their testing quality. Instead of talking about that subject only with my customers I decided to write something on that subject to help you understand the power of TFS for Testers, and how this platform will improve your Testing abilities with more advance features and...
TFS API Part 42 – Getting Started With Lab Management API
Tweet I did some cool things lately with TFS Lab Management API, from connecting it to TFS Web Access and allow REST access to the lab (if you want to ask why – The customer is always right ). So this part of TFS API will deal with Lab Management API, although Lab Management API is not public I’ll show some cool things you can do but this will be under your own risk. Again, this is just the beginning of the Lab Management API, so let’s get started Download Demo Project Step 1: Located “ Microsoft...
How To: Detect Mobile Device Users In Your Web Site – JavaScript
Tweet Today everything is about Mobile Devices, users are using their tablets and phones to view web sites. Some web sites has a mobile application or just what to inform the user about a related mobile application. So the question is how to inform the user about a mobile application related to a specific site? You can put some links in your site and maybe the user will click on those links and will be redirect to your mobile application, but I want more – I want my site to detect if the user comes...
TFS API Part 41–Manage Groups and Members
Tweet In the past I’ve showed some examples on how to work with TFS IGroupSecurityService for getting users list, but you can do much more, Create new Group, Add or Remove users from group etc… TFS API Part 25: Get TFS User List (Mail Sid, Account, Domain) – TFS 2010 TFS API Part 4: Get TFS User List (Mail, Sid, Account, Domain) Download Demo Project Step 1: Connect To TFS and Get All Users and Projects As always we need to start with connecting to TFS, but here we’ll also obtain 2 important services...
Email Confirmation - ASP.NET MVC Web Application
Tweet In my previous post on ASP MVC I showed How To Add Captcha to ASP MVC Web Application, but even if you use captcha you still want to make sure the user email is real and not just a fake one. In order to make sure the user has gave you his real email you need to use Email Confirmation mechanism to your site. ASP MVC is doing some of the work for us, when a user is register to your site is assign with a unique ID (Guid) property called -  ProviderUserKey I’ll use this value to verify the...
My Lecture at Munich ALM Days 2011
Tweet The conference was Amazing!!! I had great time in the conference with partners, customers and friends, I didn’t went to most of the lectures (Ich weiß nicht Deutsch spricht) but from the people who presented the presentation and the title there were plenty of interesting lectures. In my lecture I’ve talked about Applied Software Testing with Visual Studio 2010 , I showed demos on Test Manager, Web Performance Test, Load Testing and of course Coded UI Testing. I’ve also talked about Migration...
Add reCAPTCHA To ASP.NET MVC Web Application
Tweet Captcha is a type of challenge-response test used in computing as an attempt to ensure that the response is generated by a person. When building public web sites captcha is very important to avoid script and bots running on your web site. First go to reCAPTCHA site and register for unique Key, then Download reCAPTCHA .NET Library . Save you Public and Private keys safely. Now, Let’s start new ASP.NET MVC 3 Web Application Project in Visual Studio 2010 Download Demo Project Choose to create...
TFS API Part 40–Build Service Host
Tweet First, what is the Build Service Host or IBuildServiceHost ? The BuildServiceHost object represent the physical location of the Controller and/or Agent objects. The name property is usually the machine name that the Controller or Agent lives on. In earlier versions, this was simply the Machine Name property on the Agent. Now, I’m working with a customer works with Lab Manager and after upgrading the SCVVM and perform some port changes we faced an issue – The Build Service Host stuck in your...
More Posts Next page »