Search: Advanced search
Please enter a keyword or ID
Setting Drop-Down Field Values to Not Set in the TestTrack SDK
If you use the SOAP SDK and try to change a drop-down field value to <not>, the behavior may not work as expected. For example, the following code was used in a C# application:
The developer wanted to change the field value to null (<not>). However, the defect did not change.
After some troubleshooting, the developer used the following code:
((CDropdownField)defect.customFieldList).value = “”;
The difference? C# optimized this code and removed the null field from the response. The application then interpreted this to mean <not>.
Keep the following in mind: