On Monday night Richard King with Brian Watson gave a presentation
on automated testing.
Brian’s programs (mcadx in this case) integrate with various CAD programs. (and a number of
versions of each) In the demo shown on Monday, there were Solidworks, Inventor, and Allegro
From the Website.
Using MCADX for SolidWorks, users of both Cadence Allegro X Design
Platform and Cadence OrCAD X Design Platform can co-design products
between preferred PCB editor technology and Dassault SolidWorks.
ECAD-MCAD (Electronic and Mechanical Cad) co-design of products using
an encrypted and zipped file exchange with IDX as the underlying
basis for the data format.
A seamless flow between the electronic and mechanical world is
important for the success of your design. The availability of the new
MCAD/ECAD co-design solution - MCADX for SolidWorks - helps to bridge
this gap with co-design between the PCB editor and SolidWorks and
introduces the following capabilities to the Allegro X and OrCAD X
design platforms:
Some of what we saw
The testing scripts could fire up the CAD programs. (with the MCADX
integrations loaded)
And then perform various operation on them. (clicking buttons, etc)
for example get the mechanical program to send some changes acrosss
to the electrical, and then have the electrical program accept the
changes in one test, and reject the changes in another. And see if
the mechanical program then correctly rolls back the changes (when
rejected)
And log all of this, with many screenshots.
It had handlers for when things went wrong. Where somewhat unexpected
alert boxes popped up. (eg. License server not responding)
Scripting
The testing is using python.
Using Behave for the testing
Behave, behavior driven development, python style.
And Pywin Auto to drive the UI of the cad programs (including the mcadx plugins)
With Allure Logging to log it all.
The presentation went quite long, but was very interesting.
Sorry, I don’t remember quite what was decided as to which section the
detailed presentation for the symposium will be. But it will be good.
Thanks
Richard and Brian.