-t <testscriptfile>[,<testscriptfile>,..]
the scriptfiles
-c <configfile>
the main configfile
optionaler parameter
if it's not set the default config file 'config.dat' is used
the config file
the format of the configfile must be
// common parameters start
registry =
// common parameters end
available parameters in in config file
registry = <registry>
the office registry file ( applicat.rdb ) with full path
the testscriptfile
the format of the configfile must be
// common parameters start
user =
password =
output =
// common parameters end
// test section start
...
available parameters in in scriptfiles
user = <username>
set the user who connect to the ConfigServer
password = <password>
set the password for the user
output = <output>
set the output device
the device could be
file = print the output to a file named <testscript_filename>.out
screen = print the output to the screen
available commands in scriptfiles
ReadNode(<NodeName>[,<Depth>])
read the node and all subnodes
or if Depth spezified the number of levels
i.e. ReadNode(com.sun.star.Inet,2)
ReadValue(<ValueName>)
read the given value
i.e. ReadValue(com.sun.star.Inet/FTP/Port)
UpdateNodeDirect(<NodeName>/<ValueName>,<NewValue>)
update the node and commit it immediatly
i.e. UpdateNodeDirect(com.sun.star.Inet/FTP/Port,5)
Do(<noOfLoops>,<Action>)
do the given action noOfloops times
actions can be
ReadNode
UpdateNodeDirect
ReadValue
i.e. Do(10,ReadNode(com.sun.star.Inet/FTP))
BeginUpdate(<NodeName>)
create a update access for the given node
i.e. BeginUpdate(com.sun.star.Inet/FTP)
UpdateNode(<NodeName>,<NewValue>)
update the node with the update access created with BeginUpdate.
The update is not commited to the server
i.e. UpdateNode(com.sun.star.Inet/FTP/Port,5)
EndUpdate()
commit the update made with UpdateNode to the server
The update is not commited to the server
i.e. EndUpdate()
AddNode(<NodeName>,<NewNodeName>)
add a node at the node <NodeName> with the given name <NewNodeName>
i.e. AddNode(com.sun.star.ucb.Hierarchy/Root,NewNode)
RemoveNode(<NodeName>,<RemoveNodeName>)
remove the node with the name <RemoveNodeName> from the node <NodeName>
i.e. RemoveNode(com.sun.star.ucb.Hierarchy/Root,NewNode)