BreadcrumbHomeResourcesBlog How To Test Voice Assistant With Automated Conversational UI and Voice Interface Testing May 4, 2018 How to Test Voice Assistant With Automated Conversational UI and Voice Interface TestingAutomationIf you aren’t already talking to your watch, your car, or your smartphone, you will be soon. Users love interacting with services and content on their own devices, at their convenience and on their terms- doing so in a more “human” way frees them inconvenient and tedious text entry. Voice interfaces can make commutes more productive, let you quickly find a TV show, or find great recipes without having to juggle a keyboard and mouse with messy baking hands.Related Resources >> How to Scale Up Your Test Automation Practices As a result of this trend, brands are adopting conversational UI as a key element of their digital strategy, expanding their presence beyond web browsers and native mobile applications. Ally Bank, for example, already offers a set of “Alexa skills,” including balance checking, money transfers, recent transactions, etc. The growth in developing Alexa skills has been remarkable. They are becoming an increasingly ubiquitous tool.Table of ContentsTesting, Testing, 1...2...3How to Test Conversational UITurning the Lights On in Nick's Living RoomBottom LineTable of Contents1 - Testing, Testing, 1...2...32 - How to Test Conversational UI3 - Turning the Lights On in Nick's Living Room4 - Bottom LineBack to topTesting, Testing, 1...2...3When your app is utilizing Google Home, Alexa, etc., the first question to ask is “what do I test?” Well, at least for conversational UI, you should count on hardware manufacturers to offer a unified voice-to-text/text-to-voice interface. One would hope that each bank won’t need to test every Google and Alexa device variant in the market.Instead, brands should focus on the functional and responsiveness testing of the service itself. For example, are bank transactions executed correctly? Can users order the correct product or listen to the right music?Related Resources >> How AI Will Change Test Automation in 2019 & Beyond While testers can leverage simulators and APIs offered by Google and Amazon for these purposes, there is a small twist making unified testing a little trickier: Alexa and Google Assistant on mobile phones. Of course! Why not allow users to access their Amazon retail experience with Alexa when they aren’t home or away from the Alexa device?Back to topHow to Test Conversational UIAmazon recently introduced Alexa applications for Android and iOS. Google also offers access to Google Assistant on these platforms. As a result, a tester can (and in this case must) test these services on mobile devices.Related Resources >> The Importance of 5-Star App Ratings Using Perfecto’s audio testing solution, it’s not only possible to test conversational chatbots, but also Alexa, Google Assistant and Siri. Our solution offers both injection of input from a string (converted to audio and injected to the device), or from a pre-recorded audio file, enabling diverse sets of test conditions, such as background noise, multiple speakers, etc.On the validation path, one can validate the function and responsiveness via:Native or visual object validation, in which case the interface responds both visually and vocallyRecording the audio and converting to textValidating the audio itselfBack to topTurning the Lights On in Nick's Living RoomIn this example, Nick turns on Alexa/Google Home, clicks on the input button and orders it to turn on/off the lights. On Google Assistant, it’s even possible to see the response.Get Ready for Conversational InterfacesConversational interfaces have already proliferated throughout many aspects of our lives: from watches, smartphones, and TV remotes to digital personal assistants - with other devices coming quickly to market - cars, kitchen tools, vacuums. As experiences and services expand, it will be critical to offer repeatable and consistent test automation for these interfaces. Luckily, there’s a way to do that today!Learn more about testing emerging technologies. Check out our article, IoT Testing for BLE Protocol.Back to topBottom LinePerfecto supports many advanced use cases, including biometric authentication, network virtualization, two-factor authentication, and voice recognition. Test advanced use cases with Perfecto on your own or watch a product demo. Free TrialWatch A Demo Related ContentLearn about using tools to secure and optimize processes at scale with Perforce's enterprise automation 101Back to top