cancel
Showing results for 
Search instead for 
Did you mean: 
Security Alert Log4j Security Vulnerability. Click here to know more.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creo 2 External Automation

JwagnerS
4-Participant

Creo 2 External Automation

Hi all,

 

I am currently trying to implement functional GUI testing of a PLM System that communicates with Creo Parametric 2 and vice-versa. Since "real" GUI automation in Creo 2 seems almost impossible because the Windows UI Automation Support is disabled, all I'm trying to do is press one Button in Creo. This button is added through a customization (i.e. it's not there in standard Creo), and the triggered action would be to open our PLM system to search for a file that is to be loaded.

 

JLink seems to be the wrong tool for that (just pressing a button), and I couldn't find any simple way to do so. I thought about using a trail file, but the only viable option to do so seems to be starting Creo with the trail file as a parameter, which would execute it directly after startup. This is not possible because the PLM system and Creo are started together and the PLM System needs to perform a login before Creo can ask it for a file...

TL;DR: I need a way to trigger a button click (or the action itself) from outside of Creo for an already running Creo instance at a time of my chosing. Does anybody have any tips / hints / experiences with that (be it JLink, Trail files, or sth. else)?

Thanks in advance and best wishes,

Jonas

3 REPLIES 3
TomU
23-Emerald II
(To:JwagnerS)

Pretty sure you can do this with AutoIt.

RPN
14-Alexandrite
14-Alexandrite
(To:JwagnerS)

Looking for something radical "simple" Check the asynchronous section.

JwagnerS
4-Participant
(To:RPN)

Thanks for your tip, we will look into Tcl scripting.

Announcements