public void GetSlidesDocumentProperty() { GeneralTestExecutor <GetSlidesDocumentPropertyRequest, DocumentPropertyResponse> testExecutor = new GeneralTestExecutor <GetSlidesDocumentPropertyRequest, DocumentPropertyResponse>("GetSlidesDocumentProperty"); GetSlidesDocumentPropertyRequest request = testExecutor.PrepareRequest(); DocumentPropertyResponse response = null; bool needAssertResponse = false; try { response = m_instance.GetSlidesDocumentProperty(request); needAssertResponse = true; } catch (Exception ex) { testExecutor.AssertException(ex); } if (needAssertResponse) { testExecutor.AssertResult(response); } }
public void getSlidesDocumentPropertyTest() { DocumentPropertyResponse response = null; try { GetSlidesDocumentPropertyRequest request = createGetSlidesDocumentPropertyRequest(); response = api.GetSlidesDocumentProperty(request); Console.WriteLine(response.Code); } catch (Exception ex) { Console.WriteLine(ex.Message); } }