Topic : Ride 7 for automating testing

Forum : Ride IDE

Original Post
Post Information Post
September 7, 2010 - 10:26am
Guest

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

Replies
Post Information Post
+1
0
-1
September 7, 2010 - 2:09pm
Raisonance Support Team

Hi, Look at <Link Broken> , which should help you. Regards,

+1
0
-1
March 2, 2011 - 4:37pm
Guest

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

+1
0
-1
March 4, 2011 - 9:28am
Guest

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

+1
0
-1
March 14, 2011 - 8:44am
Guest

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

+1
0
-1
April 20, 2011 - 9:04am
Guest

Yes your are right and i am also going to use it for my same problem after getting some more information

+1
0
-1
April 28, 2011 - 4:41pm
Raisonance Support Team

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,

+1
0
-1
April 29, 2011 - 9:25am
Guest

Thank Bruno!
Now this link works, today i work on it.
Regards!