Code-based prototype testing: meaning, value, how-to - Anima
Industry

Code-based prototype testing: a product manager’s perspective7 min read

Reading Time: 6 minutes From full functionality to Hotjar integration, code-based prototypes will supercharge your user tests

Code-based prototype testing: a product manager’s perspective7 min read

Reading Time: 6 minutes

As a product manager, I’ve overseen hundreds of design iterations and brought dozens of digital experiences to market. It’s my business to know everything about each product and its users. But I can’t predict how those users will respond to a product in real life.

That’s why my team and I get users to test prototypes early and often. Prototypes are the closest thing to the final product, and the unbiased user feedback we receive helps us perfect our designs before they go to developers.

In this article, I’ll discuss how user testing interactive code-based prototypes gives teams more relevant feedback, better product outcomes, and the ability to test at scale. Then I’ll explain how you can easily create and test these live prototypes yourself—without writing a single line of code.

What is prototype testing?

A prototype is a model of your final product. Prototype testing, then, is when you observe how users interact with that model, then get their feedback.

The goal is to validate your approach and identify problems and opportunities as early as possible. This way you can make any necessary improvements before developer handoff, and launch a final product that’s already aligned with users’ wants, needs, and expectations.

When you perfect a product during the design stage, you eliminate pitfalls like frustrated users, overwhelmed customer success teams, and costly post-launch redesigns.

Low fidelity vs high fidelity prototypes

All prototype testing is valuable, but not all prototypes are created equal. It’s important to understand the difference between low fidelity and high fidelity prototypes.

Low fidelity prototypes

Low fidelity prototypes are a low-tech, quick-and-dirty way to get your design ideas in front of users early in the process. Often done with pen and paper, low fidelity prototypes are static, non-interactive, and include very basic representations of a design’s structure and functionality.

They’re inexpensive to produce, and changes can be implemented quickly and easily. Their goal is to test early assumptions and help guide the design of the high fidelity prototypes that follow.

A low fidelity prototype example

A low fidelity prototype example (source)

High fidelity prototypes

High fidelity prototypes are meant to look, feel, and behave as much like the final product as possible. The most effective high fidelity prototypes are fully functional, responsive, and include all of the final design assets.

High fidelity prototype testing is the closest you’ll get to testing your final product without actually building it. But some high fidelity prototypes are more effective than others.

A high fidelity prototype example

A high fidelity prototype example (source)

The problem with static high fidelity prototypes

Prototype testing is most valuable when your prototype looks, feels, and behaves like the real thing. But not all high fidelity prototypes are fully functional and interactive. That’s because live prototypes need to be code-based, and many designers don’t have the time, tools, or ability to create them.

No matter how real they look, static prototype tests will be limited by your explanations and your users’ imaginations. You won’t be able to observe how users will actually navigate your final product, and the feedback you receive will lack critical insights.

Imagine, for example, that you’re running a prototype test on a car you’re designing. The car looks like the real thing, but there’s no engine and the steering wheel doesn’t work. How can you gauge a user’s driving experience if they can’t actually drive the car?

How to create prototypes that feel real

By now you understand the value of interactive, code-based prototypes. It’s impossible to create something that behaves like the final product with pixel-based images and transitions alone.

Here are the essential elements of a code-based prototype—and how to create one in your design tool without writing a single line of code.

3 elements of code-based prototypes for user testing

  1. Responsiveness → your prototype should adapt to any device you aim to target
  2.  Interactive components → components should have unique states for every action
    • Buttons (respond to hovering, pressing, clicking, or tapping)
    • Text fields (allow users to enter text from a physical or mobile keyboard)
    • Drop-down menus (menu appears when clicked and options are selectable)
    • Media (display images, videos, and music expands, plays, pauses, etc.)
  3.  User testing tool integration → you should be able to connect your prototype to tools like HotJar and Fullstory (these tools only work with code-based prototypes)

 

Here’s an example of a fully functional code-based prototype built with Anima:

An interactive code-based prototype created with Anima

An interactive code-based prototype created with Anima

How to create a code-based prototype in your own design tool

None of the most popular design tools (Figma, Adobe XD, and Sketch) support live, code-based prototyping. But there are several tools that do. Anima, Invision, and Framer, are some of the biggest players—and all three platforms generate the code for you.

If you prefer working in a familiar design environment, however, Anima is the only option. The Anima plugin allows you to build high fidelity, interactive prototypes in Figma, Adobe XD, and Sketch. Invision and Framer, on the other hand, require you to use their proprietary design tools.

Whichever platform you choose, you’ll end up with a code-based prototype that can be used with powerful, scalable user testing tools like Hotjar and Fullstory.

How to prototype test with Figma, Adobe XD, Anima, and Hotjar

Scale up your user testing with Hotjar and FullStory

Scalable user testing tools like Hotjar and FullStory depend on code to track user behavior remotely. Fortunately for you, Anima automatically converts your prototypes into code. Now you can visualize how users are interacting with your prototype without being present.

What’s more, you can send your prototype to hundreds of people and watch a recording or view heat maps from each user test. Talk about testing at scale!

How to add Hotjar to your Figma or Adobe XD prototypes with Anima

  1. Get started with Anima
  2. Install Anima’s plugin for Figma or Adobe XD
  3. Click “Preview in Browser” on the plugin to run your prototype
  4. Click “Sync” to upload your prototype to Anima’s platformSyncing a prototype to Anima's platform from FigmaSyncing a prototype to Anima's platform from Figma
  5. Click “Share” then click “Prototype link” to generate a public link
  6. Copy your prototype link (i.e my-prototype.animapp.io)Copying a sharable prototype link on Anima's platformCopying a sharable prototype link on Anima's platform
  7. Signup for Hotjar
  8. Paste your prototype link
  9. Click “Add code manually,” then copy the codeGetting a Hotjar tracking code to embed in a prototypeGetting a Hotjar tracking code to embed in a prototype
  10. Go back to Anima’s plugin in your design tool and click “embed codeClicking embed code in Anima's plugin Clicking embed code in Anima's plugin 
  11. Paste the code on the project level, so it applies to all pagesEmbedding Hotjar's tracking code in a code-based prototype with AnimaEmbedding Hotjar's tracking code in a code-based prototype with Anima
  12. Click “sync” to update your prototype

That’s it! Now you can share your animaapp.io link with anyone, then view corresponding screen recordings and heatmaps in Hotjar.

The short version

  • Prototype testing is when you observe how users interact with a preliminary model of your product, then get user feedback
  • Testing high fidelity, fully interactive, code-based prototypes that behave like the final product is the best way to predict post-launch user response
  • Interactive prototype testing limits the possibility of frustrated users, overwhelmed customer success teams, and costly post-launch redesigns
  • Not all high fidelity prototypes are code-based and interactive, but with the right tools you can create live prototypes with automatically generated code
  • Code-based prototypes allow you to integrate powerful user testing tools like Hotjar and Fullstory that help analyze user behavior and perform user tests at scale
  • A larger user sample set combined with more relevant insights per user will help you perfect your product’s UX and identify more opportunities for improvement

Start building live prototypes in your current design tool with Anima

|

Product Manager

A product person by trade and a people person by nature. A student of analytics and human behavior who always asks why. If she's not delivering a new feature at work, she's researching a new gadget on Kickstarter.

Leave a comment

Your email address will not be published. Required fields are marked *