Forum Discussion
To pass additional parameters for TestComplete using YAML in Azure DevOps, consider modifying your existing YAML file. Add a command line parameter directly in the task where you run TestComplete. Here's an example modification:
```yaml
- task: VSTest@2
displayName: 1D Sanity Tests
continueOnError: True
inputs:
testAssemblyVer2: '**\test.pjs'
testFiltercriteria: 1D Sanity Test
vsTestVersion: toolsInstaller
runSettingsFile: '$(System.DefaultWorkingDirectory)/path/to/runsettingsfile.runsettings'
```
Create a `runsettings` file (e.g., `runsettingsfile.runsettings`) and specify your parameters:
```xml
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<TestRunParameters>
<Parameter name="BuildType" value="$(BuildType)" />
<!-- Add other parameters as needed -->
</TestRunParameters>
</RunSettings>
```
Now, in your TestComplete script, you should be able to access these parameters using `BuiltIn.Parameter(0)` (or the appropriate index).
Adjust paths and parameter names based on your project structure and requirements. This approach allows you to pass parameters directly to TestComplete using the VSTest task's `runSettingsFile` input.# studding outlet flanges