The Add Tested Application wizard assists you in adding applications to the Tested Applications collection of your project. On this page of the wizard, you add ClickOnce-deployed applications to the list of tested applications.
-
In the Startup link edit box, specify the URL or the file path to the application deployment manifest (.application) or the shortcut to the installed application (.appref-ms). Below are examples of the possible values:
http://www.example.com/MyApp/MyApp.application
http://www.example.com/MyApp/MyApp.application?param1=value1¶m2=value2
\\server\share\MyApp.application
C:\Users\jsmith\Desktop\MyApp.appref-ms
If the manifest or shortcut file resides on the local computer or on a network, you can click the button and browse for the needed file.
You can control the format of the path to the Startup link value. The target path can be specified as an absolute path, a relative path or by using environment variables (if the path includes any standard system path for which environment variables are set). Click the drop-down button in the desired text box and choose the needed representation from the drop-down list.
ClickOnce .appref-ms shortcuts are typically created in the Start menu and on the desktop. However, the Start menu and desktop paths are user- and operating system-specific. If you are going to run the test on multiple computers, we recommend copying the .appref-ms shortcut to a folder that is common for all computers, for example, a network share (see Avoiding Computer-Specific Settings). Alternatively, you can specify the application by its .application manifest. -
In the Process to wait edit box, specify the file name of the application executable.
-
In the Wait timeout box, specify the maximum waiting time for the application to launch. The default value is 60000 ms (1 minute).
Click Finish to close the dialog and add the specified application to the Tested Applications collection. Click Cancel to close the dialog without adding the application.
See Also
Add Tested Application Wizard
About Tested Applications
About TestedApps Editor
Adding ClickOnce Applications to Tested Applications
ClickOnce Application Parameters