Test List Settings

Standalone version: On the Test List tab, highlight a test list and click the Edit Settings button in the Edit ribbon.

VS plugin: Double click Local.testsettings under Solution Items in the Solution Explorer.

Test Studio

Standalone version
VS

VS plugin

To create a Test Settings file in Visual Studio, right click Solution Items and select Add > New Item. Click Test Settings under Installed Templates, customize the name if desired, then click Add. Further directions on how to add a settings file are available here.

This opens a dialog box that shows all of the possible configuration settings for that test list. Change the settings as needed for your test list.

Test Studio

Standalone version
VS

VS plugin

General Tab

  • Annotation
    • AnnotateExecution - whether to highlight and annotate the target element that the current action is being executed against.
    • AnnotationMode - the annotation mode when annotation is enabled.
  • Desktop
    • ExecuteInDevelopmentTests - execute tests that are marked as In Development - if checked.
    • SimulatedMouseMoveSpeed - the simulated mouse move speed for Desktop.Mouse.Move()/DragDrop() operations in pixel/msec. Typically between: 0.1f - 0.5f
  • Execution
    • ClientReadyTimeout - the timeout (in msec) to wait for a client to be ready after initial launch and after executing a command.
    • DisableDialogMonitoring - whether to disable handling of dialog windows.
    • ElementWaitTimeout - the global wait on elements timeout used during execution.
    • ExecuteCommandTimeout - the timeout (in msec) to wait for a command request to execute.
    • ExecutionDelay - the length of execution delay (in msec) to insert between commands. Note: Some test steps represent multiple commands.
    • RunnerResponseTimeout - how long to wait (in msec) for a response from ArtOfTest.Runner.exe before, we decide that the runner is unresponsive. A value of 0 turns that off. The main purpose of this timer is to terminate the ArtOfTest.Runner.exe if it hangs for some reason. If the timeout is reached the run will be terminated despite of the current state of the test list run - therefore it is recommended to set a timeout that exceeds the expected test list duration with few minutes at least.
    • UnexpectedDialogAction - specifies the action that the DialogMonitor should take when it encounters unexpected dialogs.
    • WaitCheckInterval - the wait interval (in msec) to use between checks for all the Wait.For methods.
    • XMultiMgr - whether or not to use WebAii 1.1 style connections. When set - multiple Manager objects can co-exist on the machine.
  • Log
    • CreateLogFile - whether or not to create a log file on disk.
    • LogAnnotations - whether or not to log annotations to the log file.
    • LogLocation - the location where to perform the logging.

Web Tab

  • APS.NET
    • AspNetDevServerPort - the ASP.NET development server port to use, if enabled. If set to -1, a random port is generated each time the manager is created.
    • LocalWebServer - the local web server to use. When set to AspNetDevelopmentServer, the ASP.NET development server is started.
    • WebAppPhysicalPath - the path to the application to test when running under the ASP.NET development server.
  • Browser
    • AutoCalibrateBrowsers - whether or not to automatically calibrate the installed browsers on the execution machine(s) that are selected for execution of the test list.
    • Browser - the default browser to launch.
    • EnableUILessRequestViewing - whether to allow debugging of UILess page requests using a UI browser, like IE.
    • KillBrowserProcessOnClose - whether to kill the browser process when closing the browser.
    • RecycleBrowser - when set to true, one instance of the browser is launched and recycled throughout all tests until Manager.Dispose is called.
  • HttpProxy
    • UseHttpProxy - whether to use the built-in HTTP proxy during automation. Enabling Silverlight will automatically enable the HTTP proxy.
  • Log
    • EnableScriptLogging - whether to enable script logging.
    • VerboseHttpProxy - whether the HTTP proxy produces a high level of tracing output.
  • MultiBrowser Execution
    • ExecutingBrowsers - Select the browsers against which you will execute the test list. Supported in Test Studio Standalone version only.
  • Navigation
    • BaseUrl - The BaseURL to use for all NavigateTo commands. When set, NavigateTo steps should use a relative URL (i.e. "~/default.aspx").
  • Silverlight
    • EnableSilverlight - whether to enable Silverlight automation. Enabling Silverlight will automatically enable the HTTP proxy.
    • SilverlightApplicationPath - the web address or local directory from which to load a Silverlight application.
    • SilverlightConnectTimeout - the amount of time to wait for a Silverlight application to load before timing out.

WPF Tab

  • Misc
    • DefaultApplicationPath - represents the default application path for WPF tests.

If your Visual Studio Test List runs for more than 30 minutes and fails with an Execution Timeout Exceeded error, change the following setting:

Timeouts

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy