C# Examples

Create

C# Create Subject Folder and Business Process Test

C# Create a test with configurations

C# Create Test Set

C# Copy and paste a requirement

Update

C# BPT add parameters and steps

C# Create a Test and change some properties

C# Set target releases for requirement

Delete

C# Delete test by ID 

Links

C# Create two defects and link them

C# Get a list of links from a Test Set

Filters

C# Get a Test Using a Filter

C# Adding test coverage and finding tests not run

C# Set Filter on multiple fields

C# Search for Tests that match a search string

C# Get the Requirements Associated with a Defect

C# Get requirements that match or have descendents that match a filter

Files

C# Get an Attachment

C# Download Test files and Attachments

Miscellaneous

C# Add user to project

C# Check permissions: can user copy a test folder

C# Run Test Instances in Test Set

C# Purge runs from open test sets that did not pass

C# Mail a defect

C# Check out (Not a test)

C# Check out a Test

See Also