Clickety Click Click: Testing your clickwraps
By now you likely have heard of DocuSign Click, which was released in April 2019. In case you haven’t, DocuSign Click is our product that lets you capture consent to simple agreements (such as terms and conditions, license agreements, and more) with a single click. As you may expect, DocuSign Click uses our eSignature technology to manage the agreements, display them on your web site, and record the agreement consent by each user. Therefore, you can expect the same level of trust and security as with every product we produce.
Now that you know what DocuSign Click is and you are now familiar with the concept of a clickwrap, you’ll start to notice them absolutely everywhere. For example, when you use an automated kiosk to check in for your flight at an airport, you are presented with a screen to confirm you agree with the airline policies. You only have to click an “I Agree” (or something similar) button at the bottom of the screen verifying you have no harmful substances or devices before you can print a boarding pass. You don’t enter any information and you don’t sign the agreement; you simply have to accept or consent to it. That’s a clickwrap! I remember when we first launched DocuSign Click, I couldn’t stop noticing clickwraps are everywhere! They have been for a long time, I just never really noticed them before. I felt like I was in an alternate ending for The Sixth Sense (see how many of you get that reference - LOL).
When configuring your clickwraps, you have several choices to make, including (but not limited to):
- What agreement (including text and graphics) will you present to users?
- If your agreement changes, do you want users to be forced to accept the new agreement, or only those who have never accepted the agreement?
- Do you want to enforce that users read the agreement (or at least be forced to scroll to the bottom) before consenting?
- Other parameters, such as the text on the acknowledgement button, and a few other things.
In this blog post, I don’t reinvent the wheel by showing you how to create your clickwraps, but you can read all about that in the DocuSign Click User Guide. However, wouldn’t it be nice to be able to test your clickwrap’s functionality before you deploy it on your website or app? Read on to learn more about our new Clickwrap Tester.
Testing your clickwraps
After you create and activate a clickwrap in the DocuSign eSignature UI, we now make it really easy to test them. If you are a software developer who integrates DocuSign functionality into your app or website, you are, no doubt, familiar with the DocuSign Developer Center. That’s where we now host the Clickwrap Tester too.
Testing your clickwraps couldn’t be any easier. In the screen where you manage your clickwraps, we’ve added a new menu item labeled… wait for it... Test Clickwrap, which looks like this:
Clicking Test Clickwrap brings up a dialog that lets you copy a URL to the tester for the selected clickwrap, like this
Copying the URL lets you share it with others to verify the functionality before going live with the clickwrap. Alternatively, you can test it yourself by simply clicking TEST CLICKWRAP. Testing the clickwrap requires you to enter a value that uniquely identifies a user to test. This is necessary because DocuSign Click stores data on a per-user basis, so you can see what happens if the same user tries to consent to the clickwrap multiple times and even verify the user is prompted to reaccept when you version clickwraps, or test other parameters that you set.
What do you use to uniquely identify users? This is up to you and your implementation details. You may want to use email addresses, employee IDs, or some other identifier that uniquely represents each user. Here’s an example of entering a value of 123456 for a specific user for the given clickwrap:
Click the TEST CLICKWRAP button to display the interactive clickwrap, like this:
Make sure to test all the functionality and parameters you have configured for your clickwrap. Scroll to the bottom of the agreement, click AGREE (or whatever you decided to name that button when you configured your clickwrap), and even go back into the UI to view the responses to your clickwrap.
Testing worked great - now what?
Make sure to modify your code to replace a value that uniquely represents each user (such as an email address, an employee ID, etc.) for UNIQUE_USER_ID and we’ll take care of the rest :-)
Diving deeper into code?
Everything I showed you in this blog post uses the DocuSign web UI because it focuses on the Clickwrap Tester, which is also a UI component. However, you can manage your clickwraps and pull data programmatically too. In fact, we have a Click API with lots of content to help you code your DocuSign Click integrations.