iimGetPerformance
(Copy URL in PhpBB Forum Format - Info)From iMacros
Returns the XML fragment containing the performance data of the last macro run, if performance logging has been enabled (see Performance Profiler for details.)
Contents |
Syntax
string macro_node = iimGetPerfomance()
Parameters
None
Examples
VBScript:
Dim imacros, iret
Set imacros = CreateObject("imacros")
iret = imacros.iimOpen(-profiler)
iret = imacros.iimPlay("FillForm")
MsgBox imacros.iimGetPerformance()
Notes
- Output from iimGetPerformance() is not a complete XML document, but an XML fragment - only the macro node. The calling script or program should append this node to a complete XML document in a root element.
- Use SET !FILE_PROFILER NO to avoid the generation of a performance log file by iMacros itself.
See Also
iimOpen, iimPlay, iimDisplay, iimClose, iimGetExtract, iimTakeBrowserScreenshot
