What is Peach
Installing
Tutorials
Methodology
Introduction
Training
Enterprise
FAQ
Support Forums
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

Com Publisher

The Com Publisher allows calling methods and properties on COM objects

Note
This Publisher only runs on Windows. To use this Publisher Peach.Core.ComContainer.exe must be running in a seperate command prompt while the Peach is running.

Parameters

  • clsid — COM CLSID

Actions

Examples

Calling a method
<StateModel name="TheState">
        <State name="initial">
                <Action type="call" method="DoCoolThings">
                        <Param name="Name">
                                <DataModel ref="NameDataModel"/>
                        </Param>
                </Action>
        </State>
</StateModel>

<Test name="Default">
    <!-- ... -->
        <Publisher class="COM">
                <Param name="clsid" value="{d20ea4e1-3957-11d2-a40b-0c5020524153}" />
        </Publisher>
</Test>