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!
Subscribe to:
Post Comments (Atom)
8 comments:
Hi,
How to send the AutoCAD command through Autoit tool. do you have any sample?
Thanks,
Raj
Hello Raj,
I was unable to do that by a consistent way.
One trick would be get the command prompt window and send strings to it but it seems to be very instable once the way to get the window may vary among AutoCAD versions and flavors.
Did you have try this way?
Regards,
Fernando.
Hi,
Have you taken a look at Gallio yet? They also have a AutoCAD testing module. And it's open source.
I don't exactly know the possibilities, but you 'd might find it interesting...
Hi bertvan,
No, I haven't.
Ummmm, seems to be interesting. I will take a look.
Thank you for the tip.
Autoit is a very special programm. $AcAp=Objget("","AutoCAD.Application")
or
$AcAp=Objget("D:\Disegno.dwg")
This is a strig to connect autoit to Autocad,
there are only one problem.. the matrix in AutoCad are matrix() in autoit are matrix[] and they don't understand. sorry for my english.
And I haven't found away of passing and receiving w/t/achars to autocad with autoit. Which kills the chances to fully interact with autocad unfortunately as far as I can tell.
As far as I know, there is no way of sending/receiving Achars or W/Tchars to AutoCad 2012 with AutoIt.
Hi,
Actually recently I have found an API called "White" and one of my developers tried it with success inside AutoCAD on either MFC or WPF based dialogs.
It works though based on handles and it requires you to first dissect the dialog controls.
More information here: http://white.codeplex.com
Regards,
Post a Comment