Skip Navigation LinksHome Page > Forums > SpiraTeam Forums > SpiraTeam Issues & Qu... > How create a Remote Test ...
Hi
Am trying to create remote test set using soap service version 5
am getting nullable exception while calling
var testSet = new RemoteTestSet() { Name = name, TestSetStatusId = 1, TestSetFolderId = parentFolderId,IsAutoScheduled = false,IsDynamic = false};
testSet = soapServiceClientTestSet_Create(testSet); and passing custom properties using integer value of custom fileds
exception details :
at System.Nullable`1.get_Value() at Inflectra.SpiraTest.Web.Services.v5_0.SoapService.TestSet_Create(RemoteTestSet remoteTestSet) at SyncInvokeTestSet_Create(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
please suggest me to how create remote test set
programming language :C#
Hi Madhu,
I think you also need to pass TestRunTypeId = 1 (for plain text) or 2 (for HTML).
Regards
Jim
Hi Jim,
Yeah you correct. need to pass TestRunTypeId.
Its worked, Thanks Much
And if you have any questions, please email or call us at +1 (202) 558-6885