Bing Maps sample – advanced flavor

18 בדצמבר 2010

The last several months have been an exceptionally busy time for me, with the last month or so presenting me with a workload which can only be categorized as “unearthly”. All for a good cause, however, as even more XNA 4.0 content is now available for the eager game developers out there. One of my particular contributions to this batch of content is the Bing Maps sample,  which shows how to retrieve data from the Bing Maps REST Services and how to incorporate it into your game. What you probably don’t know about this sample is that...
אין תגובות

Converting a 3D XNA 3.0 game to XNA 4.0 – an example

23 באוקטובר 2010

XNA 4.0 is great, but greatness comes at a cost. In order to have XNA 4.0 work uniformly across all its target platforms (Xbox, PC and Windows Phone 7) some breaking changes had to be made. While the changes improved the XNA framework by making things simpler (a lot of properties which didn’t really affect anything are gone) and better (the architecture makes more sense now, and it would be easy for XNA to support DirectX 10 at some point in the future), they also made it hard to port XNA 3.0 games to XNA 4.0. The main reason...
תגיות: , ,
4 תגובות

Creating games for Windows Phone 7™ has never been easier

31 באוגוסט 2010

Technically, game development for the Windows Phone 7™ was not possible until recently, so the fact that it has never been easier is not too reassuring if you stop to think about it. However, having spent the better part of the passing month working on some learning materials tackling Windows Phone 7™ game development using the XNA Game Studio 4.0, I can safely say that developing games for the device should be a very pleasant and familiar experience, assuming you have some C# background. The current batch of samples and articles should provide a solid base...
תגיות: , , ,
אין תגובות

Action filters can cause the coded UI recording engine to crash

27 ביולי 2010

Recently, at one of our clients which I have mentioned in other posts, I’ve been receiving complaints that every now and then, after recording a coded UI test (or performing an action recording in the Test Manager), the involved application crashes. After some trial and error, I was able to pinpoint the exact actions which, if performed during a recording, induced the crash. Sadly, that got me no closer to understanding how that specific set of actions induced the crash. All I had to go on was a crash dump (and the aid of my colleague Dima Zurbalev,...
תגיות:
אין תגובות

Coded UI support for Janus ExplorerBar v3 for Winforms

25 ביוני 2010

You may remember a very recent and likely named post dealing with the Janus GridEX control. The main difference between that post and this one, is that by the end of this one I will actually supply you with code which adds proper accessibility, and therefore Coded UI support, to the Janus ExplorerBar control. You may wonder, justly, why I would choose to discriminate between the ExplorerBar and the GridEX. There are basically two reasons: Adding accessibility to the ExplorerBar was much easier. Adding accessibility to the GridEX was quite...
תגיות:
אין תגובות

List of illegal characters in TFS area/iteration paths

12 ביוני 2010

Last Thursday I’ve been at a client converting their Quality Center repository into TFS work items. Since items in Quality Center are arranged in a tree, there is need to preserve this hierarchy in the TFS work items somehow. One of the more reasonable approaches is to use the “Area Path” work item field, which is in itself a tree with hierarchy, in order to preserve said information. The problem is that nodes in the Quality Center tree can contain characters which are illegal in TFS area (or for that matter, iteration) paths. Since these migration processes are done...
תגיות: ,
אין תגובות

Two unfortunate test behaviors which are still present in VS2010

8 ביוני 2010

I have always found one thing amazingly infuriating about the testing framework supplied with Visual Studio - on some occasions your test code will fail, or act in unusual ways, just because you are running it using the testing framework. Fortunately, these cases are quite rare, but should you do come across them you can expect quite some work in store just to get your code to act like it is supposed to. I have had the dubious pleasure of encountering such an issue yet again at one of our clients where Visual Studio 2008 is still in...
תגיות: ,
אין תגובות

Coded UI support for Janus GridEX v3 for Winforms

7 במאי 2010

I partially hate myself for writing this post. Chances are, if you’ve reached this page, that you really really want coded UI tests to work with your application, which for some reason or another harbors the insidious Janus GridEX. While I have spent considerable time and effort on a solution, I will have to disappoint you by not making anything available for download just like that. Do not lose heart, however, for I will do my best to tell you what must be done in order to overcome the GridEX’s shortcomings when it comes to being testable using...
תגיות:
4 תגובות

Two small and not very related things

23 באפריל 2010

Thing 1: Overzealous search and replace can be hazardous to your Coded UI tests Well, this is hardly a surprise considering that carelessly searching and replacing can decimate just about any piece of code. It is worth noticing, however, that since Coded UI tests are generated from the XML contained in the test’s “uitest” file (usually UIMap.uitest), then any errant replace operations that find their way into said file could cause quite a bit of damage that would be difficult to repair without having intimate knowledge of the uitest file’s contents. One particular problem I’ve come across...
אין תגובות

Setting up test controllers and agents across multiple domains

16 באפריל 2010

I have recently had the pleasure of setting up another set of test agents and a controller. Even though the proper release version is upon us, the client I did this for is still using Beta 2. One can wonder if the issue I came across has been fixed since Beta 2 (I hardly have the environment to try and reproduce this) but just in case it hasn’t, I hope this post saves someone both time and aggravation. The setup in this case was as follows: Two machines were involved, let us call them A and C. Machine...
תגיות: ,
אין תגובות