Professional Documents
Culture Documents
Image Injection....................................................... 5
Network Virtualization............................................. 5
Voice Recognition................................................... 8
Geolocation..........................................................10
Two-Factor Authentication...................................... 11
Quality Visibility.....................................................13
Mobile UX Measurements.......................................13
Test Coverage........................................................14
Accessibility .........................................................14
Conclusion............................................................15
Quantum, an open-source BDD framework that already has built-in Perfecto to inject the successful or failed biometric authentication,
Perfecto capabilities, including biometric authentication. users must first prepare their application with “instrumentation,”
Network Virtualization
Image Injection All mobile application developers and testers experience the same
Mobile application capabilities that require camera use are challenge: ensuring the application will respond gracefully and
also continuing to increase, from barcode readers to bank as expected no matter where their mobile applications are being
check scanners. Image injection helps add cases that test these used and under which conditions. Such conditions include airplane
functions into your automated testing suite. mode, no network connectivity, poor network connection and 2G,
3G or 4G network speeds.
Image injection takes an image (in either .jpeg, .jpg, .png, or .bmp
format) that is stored in the Perfecto repository and presents it to If a user is using a banking application and goes into an elevator or
the application as if it was read by the device camera. This allows a subway, does your application handle that scenario gracefully?
you to test different ways that application engages with the camera, By testing real end user conditions, teams can ensure a high-quality
such as different types of focus and image placement. mobile application user experience, advanced test automation
coverage (and ensuring they will test the application before their
Like biometric authentication, image injection requires that you users do).
install the application with sensor instrumentation. Yet in this case,
you will need to add a target image from the Perfecto Repository With Perfecto and Appium, you can simulate all the network
that you would like to inject into the application in order to test. scenarios we have listed above and more. You can use the out-of-
Perfecto provides advanced network virtualization on top of open the necessary parameters to the method that implements the actual
source Appium. Network virtualization plus additional Perfecto lines of code shown in a later snapshot.
for you and ready to use. These enable easily simulating different
cell network speeds from 2G to 4G. After the test has been executed, you will be able to see each line
of code and corresponding action at the test step level within the
Here is a small sample of User Profiles: Perfecto UI. You also have a rich set of artifacts to select from for
testing, such as video recordings, Snapshots, Device Vitals, PCAP
Network to use Latency (ms) Bandwidth-in Bandwidth-out
files, HAR files, Crash logs and other relevant data like page load
2g_gprs_poor 700 30/20 2
time duration. Testers can quickly find the root cause of any issues
3g_umts_average 140 300/50 0 they are investigating with all this data. You can share the data
3.5g_hspa_poor 190 900/20 1 amongst your teammates so they can reproduce any issues quickly.
Retailers and grocery chains are hopping on the voice recognition testing can be achieved, in part, with an open-source automation
bandwagon as well, incorporating major platforms such as Siri, framework such as Appium.
First, you open a device in the Perfecto lab. This example shows
a user selecting a Samsung Galaxy S8.
Then you can incorporate these locators as part of your automation
script. Here is a sample snippet:
Geolocation
Geolocation testing is the testing of a web or mobile
application from IPs of various geographical locations.
You are now ready to execute your automated test in testNG and Some of the use cases include checking notifications,
view your results in the Perfecto dashboard. performance, notifications, and more.
When breaking down the test steps you can see exactly where the GPS navigation apps are not the only apps using geolocation.
audio was injected and that the step passed successfully. Today, routes, locations, and the estimated time of arrival are
implemented into a variety of apps including rideshare, food
delivery, e-commerce, games, social media, and more.
By adding IP geolocation into your web and mobile tests, you can
By adding IP geolocation into your tests, you can validate
validate scenarios like languages, currencies, time zones, and
scenarios like languages, currencies, time zones, and more.
more. These automated tests may be coupled with other testing
These automated tests may be coupled with other testing
paradigms like end-to-end regression to mimic a complete test
paradigms like end-to-end regression to mimic a complete
environment in a single location.
test environment in a single location.
Two-Factor Authentication
Two-factor authentication (2FA) is a commonplace way to
strengthen app security by requiring two means to authenticate
your identity. We see 2FA in our emails, SMS text messages,
banking apps, and many other platforms.
• Device authentication
• Password reset
• Banking transactions
There are so many versions of mobile operating systems, devices, You need to test:
and browsers. And new ones are released all the time. Plus, • Labels — Used by assistive technologies,
foldable phones are on the horizon and new features are coming like VoiceOver or TalkBack.
in Android. You’ll need to ensure proper test coverage across these
• Text contrast — Ratio between text or images
in order to deliver a better mobile UX across all these devices.
and background color.
With Perfecto, you get the only testing platform that covers all
these advanced capabilities. End-to-end testing creates a seamless
experience, so you don’t have to patchwork your tests to get the
result you want. When you only need one source to conduct every
test you need, your testing is simpler, more effective, and the results
will speak for themselves.