Access the tested application from a SDK program object
Hello,
Following the SDK help file, I have successfully created a program object that does basic operations.
However, what I'm interested in is to interact with the currently tested application, by doing the following two things:
- Read the exe file resources
- Call methods within the executing application
How can I achieve this? I tried looking for managers to get through the Managers collection, but I could not find anything obvious in here.
Any help is appreciated.
Regards
That "code" is the mapping of the process object as stored in the NameMapping node of the project. NameMapping is the primary means by which TestComplete identifies objects. It is primarily for identifying UI components for interactions and property checks. It doesn't store the EXE location for Aliases.MyVCLApp. HOWEVER, once you run the app, if you check Aliases.MyVCLApp.Path, that should return the EXE location... but note, that the app needs to be started first.