View all web browser and mobile devices available in our cloud-based test lab.
Flutter is a free and open-source mobile UI framework created by Google and released in May 2017. The Flutter framework allows users to create native mobile applications for Android and iOS with one programming language and codebase.
Just like other mobile app variations, such as Progressive Web Apps and APKs, Flutter has grown in popularity over the last few years. With many businesses investing a significant amount of time and effort to modernize their application, let’s revisit what is needed to run automated tests for Flutter apps effectively.
With Perfecto, testing Flutter apps is possible through our integration with Appium.
This blog post will give a detailed overview of Perfecto’s support of Flutter apps for Android and iOS automation with Appium.
Interested in experiencing Flutter automation testing with Perfecto? Try our FREE 14-day trial to get started.
Let us delve into Flutter testing with Perfecto by starting with a side-by-side view of the eBay Motors app.
Both applications were created using Flutter in the Perfecto cloud, one on a Samsung Galaxy S9 and the other on an Apple iPhone 12 Mini.
Perfecto’s “Object Spy” feature can show the application’s object properties, which can be used in Appium scripts. The following image shows the Object Spy for a Flutter app on a Samsung Galaxy S9.
For iOS, you need to configure some settings on the device to expose the object properties needed to work with Appium.On your iPhone device, go into Settings App -> Accessibility -> Spoken Content.
Then swipe to enable the “Speak Selection” and “Speak Screen” capabilities.
Here is a side-by-side view of Perfecto Object Spy before and after changing these settings on an iPhone-12 Mini.
From a scripting perspective, testing Flutter apps does not require any changes in writing Appium tests. Here is a sample of automation code.
In the following video, you will see how quickly you can execute parallel Appium Flutter tests on Android and iOS devices.
Testing Flutter apps with Perfecto is easier than ever through our integration with Appium. By configuring a few settings to expose object properties correctly, you can test on iOS and Android devices in no time.
With Perfecto and Appium, organizations can rest assured that they can release high-quality Flutter applications quickly while experiencing the following benefits:
See for yourself why Perfecto is the preferred choice for Flutter automation testing. Try your free 14-day trial today.
See a demo of testing Flutter apps with Perfecto.
Partners Senior Manager & Continuous Testing Evangelist, Perfecto by Perforce
Sree works in Perfecto’s pre-sales and has over 15 years of experience in automation testing out of his total 17 years in the IT Industry. He constantly guides customers towards continuous testing and encourages clients to do more end-user like testing with Perfecto cloud. He ensures clients are getting value by implementing proper CI/CD processes.