DocuSign集成测试 [英] DocuSign integration tests

查看:108
本文介绍了DocuSign集成测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个应用程序,该应用程序应与DocuSign交互以创建信封,然后在所有签名者都签名后下载签名的文档。

I am writing an application that should interact with DocuSign to create envelopes and then download the signed document when all the signatories have signed.

还有其他几种用例,但这对这个问题并不重要。

There are several other use cases, but that does not matter for this question.

我想知道什么是编写自动化集成测试的最佳方法。
我需要使签署者与DocuSign的交互自动化吗?这意味着我必须接收电子邮件,单击链接等。

I am wondering what is the best way to write automated integration tests. Do I need to automate the interaction of the signatories withe DocuSign? This would mean that I have to receive the email, click the link, etc...

即使看起来可能,它也不是很理想。有没有一种方法可以在开发环境中模拟签名人的行为?

Even if it seems possible, it does not seem ideal. Is there a way to "simulate" in a dev environment the actions of the signatories?

推荐答案

有很多讨论是否可以在不查看文档的情况下对文档进行签名。结论是,不可以,用户不能在不查看文档的情况下对其进行签名。用户必须查看/查看要签名的内容。因此,需要使用Selenium或其味道之一或您喜欢的几乎任何UI自动化来使该零件自动化。是的,这涉及接收电子邮件,单击链接,打开文档并签名。您可以使用Mailinator或任何其他可以利用API来方便您使用的电子邮件服务。

There has been a lot of talks if a document can be signed without viewing it. And the conclusion was that NO, user cannot sign a document without viewing it. User has to view/see what is to be signed. So, that part needs to be automated using Selenium or one of its "flavors" or pretty much any UI automation you are comfortable with. And Yes, that involves receiving email, clicking the link, opening a document and signing it. You can use a Mailinator or any other email service which API you can leverage to facilitate things for you.

对于DocuSign集成自动化的其他部分,建议使用API (使事情更稳定)。

As for other parts of DocuSign integration automation it is encouraged to use API (makes things more stable).

因此,非常简单的工作流程步骤应如下所示:

So, very simple workflow steps would look like this:


  1. 使用API​​准备环境,发送的变量和值(在您的产品和DocuSign中)

  2. 发送信封以使用DocuSign API签名

  3. 获取指向文档的链接

  4. 使用UI自动化签名

  5. 使用DocuSign API进行(信封状态等)验证

  1. Use API to prepare environment, sent variables and values (in your product and in DocuSign)
  2. Send envelope for signing using DocuSign API
  3. Get the link to the document
  4. Sign using UI automation
  5. Do verification (of envelope status and more) using DocuSign API

这篇关于DocuSign集成测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆