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
-
call — Call a method
-
getProperty — Get a property value
-
setProperty — Set a property value
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>