TestedAppClickOnceParams Object

Applies to TestComplete 15.64, last modified on May 16, 2024
This object is obsolete. See the Remarks section below.


The TestedAppClickOnceParams object lets you get or set properties of ClickOnce applications in the Tested Applications collection. To obtain the TestedAppClickOnceParams object in tests, use one of the following properties:

See Editing Desktop Application Parameters for details.


  • The TestedApps.AppName.Params property and the TestedAppClickOnceParams object are available for the ClickOnce application under test only if the Use special runtime object setting is disabled for this application in the TestedApps editor.

  • The TestedAppClickOnceParams object is legacy supported for backward compatibility only. For new ClickOnce applications, it is recommended to turn on the Use special runtime object option in the TestedApps editor and get and set application properties directly via the TestedApps.AppName object.



The following script modifies the Wait timeout option of the MyApp ClickOnce application and then launches it. The example assumes that the Use special runtime object option is disabled for the application in the TestedApps editor.

JavaScript, JScript

function Test()
  TestedApps.MyApp.Params.ActiveParams.WaitTimeout = 60000; // 1 min



def Test():
  TestedApps.MyApp.Params.ActiveParams.WaitTimeout = 60000 # 1 min


Sub Test
  TestedApps.MyApp.Params.ActiveParams.WaitTimeout = 60000 ' 1 min

End Sub


procedure Test;
  TestedApps.MyApp.Params.ActiveParams.WaitTimeout := 60000; // 1 min


C++Script, C#Script

function Test()
  TestedApps["MyApp"]["Params"]["ActiveParams"]["WaitTimeout"] = 60000; // 1 min


See Also

Testing ClickOnce Applications
About Tested Applications
Editing Desktop Application Parameters

Highlight search results