Wednesday, January 23, 2008

UISpy

Hello,

I have started to play around with UISpy tool mentioned at the previous article link (http://msdn.microsoft.com/msdnmag/issues/07/03/Bugslayer/default.aspx#S2).

This tool is part of Windows SDK and it is included into the WinSDKNetFxTools-x86.msi package which can be installed alone. I recommend you do download the ISO image of the SDK and extract it to be able to install only this package.

Below is a screenshot where I have started my AutoCAD and navigate into the Command Prompt control. The UISpy tool highlights the selected control at the application Windows helping you the proper identify the desired object.


Once you click the proper element, the most right portion will display the Automation information about the selected element.
With this information you may create your own classes to help the UI Test application to proper communicate with this element.
More over the next week...stay tuned.

Wednesday, January 16, 2008

Bugslayer

Hi,

I have found a great article from MSDN Magazine written by John Robbins:

http://msdn.microsoft.com/msdnmag/issues/07/03/Bugslayer/Default.aspx?loc=en

It show you how to create your own testing framework and how to use it. The better aspect, it was created under VS2005 and with C#.

This way you can create your own procedures and as the "script" is placed inside VS2005 you can use everything .NET offers to you.

Read the article and download the samples source code. I will explore it in more details and get back soon.

The first idea that came to my mind is to develop some kind of AutoCAD Test framework (in C#.NET) and then use it to quickly build AutoCAD GUI test cases...

Cheers!

Interesting article

Hello,

I'm advancing on my research. I have found an interesting article about testing tools with a great table listing some of available tools:

http://www.javareport.com/article.aspx?id=4937#tooltable

Maybe some of you have experienced a little bit with these products. Please, share your experience with us.

Regards.

Monday, January 14, 2008

GUI Test Tools

Hello,

I have played around last week with some test tools and one of them I would like to discuss more about. It is called AutoIt (http://www.autoitscript.com/autoit3/) and it seems to be very interesting.

It is free and has a lot of script samples, support COM, has its own GUI functions to create temporary dialogs for your tests and much more.

I think this could be a good start to study how to use it with AutoCAD to allow us to test our applications exactly the way we expect our users will use.

I will study it more and if anyone have some experience using AutoIt with AutoCAD maybe it is time to share with us.

Cheers!

Welcome

Hello,

I have decided to create this Blog to discuss about how to test your AutoCAD applications (AutoLISP, VBA, .NET or ObjectARX) against AutoCAD interface.

I have done this for years myself or through my development team but today I think this could be done through a better and easier way.

Here I would like to hear all suggestions from you and how are you doing this today, the results and how this can be done effectively with AutoCAD.

Best regards.