Forum : Ride IDE
Original Post
Post Information | Post |
---|---|
September 7, 2010 - 10:26am
|
Hello, I want to perform some automated unit testing for a software and for that I need to be able to drive the simulator from the outside (from a script or something like this). I found an entry about this in the faq, but I'm unable to find the COM object on my system and my documentation pane does'nt contains any doc called: "Debugger COM Interface". Does anyone has already done this ? Does anyone knows where I could find the documentation ? Thanks, Eric |
Hi, Look at <Link Broken> , which should help you. Regards,
I have the same needs of EricDebio but i don' t find in your link any indication consistent. In particular no indication about where i can found the COM object and\or the "Debugger COM Interface" document (can you make a link, please?). Moreover the link to the perl example is not working and in the ftp i can't find nothing of similar.. Maybe the indication of the dll to use (with something similar to the .h or the header of the functions) can be enough. Thankyou in advance Regards
The easiest way to automate debugging tasks is to use Ride7 JScript player engine. It instantiates the different COM objects, and is easy to use for setting the options and running debug sessions.
You will have to write a jscript (.js) file, and launch Ride7 with using the following command line:
Ride7.exe -p "myjscript.js"
For writing your jscript file, you could refer to Help|View Documentation|Working with Ride7|Using automation in Ride7. There is also an example in Ride|Scripts|Sample Scripts
Behnaz
OK, but this is far of my needs....
I have to control the debugger from an automatic test suite (like teststand or labview). Your solution is a macro.
I need to know the dll to use and the prototipe of its functions!
Thanks
Yes your are right and i am also going to use it for my same problem after getting some more information
Hi,
You can also control the Ride debugger (which is a COM object) from any COM-capable language.
There is a PERL example at ftp://www.raisonance.com/pub/Support/Ride7/DebuggerCOMinterfaceExample/execution.pl
This document is quite self-explanatory.
Best regards,
Thank Bruno!
Now this link works, today i work on it.
Regards!