Ok, I've decided to make a new "Excel" object. The first problem is this:
<RuntimeObject Name="global">
<Method Name="run_app" Routine="run_app">
<Description>
Runs the desired app. If not found, the script kicks out and writes to the log.
</Description>
</Method>
<Method Name="close_app" Routine="close_app">
<Description>
Generic method to close the specified application.
</Description>
</Method>
<Method Name = "excel_state" Routine = "excel_state">
<Description>
Generic method to open and close Excel.
</Description>
</Method>
<Description>Generic global class for methods used by all projects.</Description>
</RuntimeObject>
</Script>
<!--
<Script Name="_excel.js" InitRoutine="Initialize">
<RuntimeObject Name="Excel">
<Property Name="Excel" Routine="Excel" GetRoutine="get" SetRoutine"set">
Generic method to manipulate Excel.
</Property>
<Description>Generic global class for methods used by all projects.</Description>
</RuntimeObject>
</Script>
-->
When I un-comment the second script, NONE of the scripts work in TestComplete. Do you see anything I'm doing wrong?