BreadcrumbHomeResourcesBlog Flutter Automation Testing: Appium & Flutter Testing With Perfecto May 26, 2021 Flutter Automation Testing: Appium & Flutter Testing With PerfectoMobile Application TestingBy Sreevatsa SreerangarajuFlutter 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. Start TrialTable of ContentsAndroid & iOS Devices in the Perfecto Cloud Executing Appium & Flutter Testing With PerfectoBottom LineTable of Contents1 - Android & iOS Devices in the Perfecto Cloud2 - 3 - Executing Appium & Flutter Testing With Perfecto4 - Bottom LineBack to topAndroid & iOS Devices in the Perfecto CloudLet 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 Object Spy for AndroidPerfecto’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. Perfecto Object Spy for iOSFor 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. Back to topExecuting Appium & Flutter Testing With PerfectoFrom 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. Your browser does not support the video tag. Back to topBottom LineTesting 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:Secure, reliable, maintenance-free platform.Scalable, enterprise-grade testing.AI-powered reporting capabilities.Root cause analysis.Insights dashboard.And more!See for yourself why Perfecto is the preferred choice for Flutter automation testing. Try your free 14-day trial today.Start TrialWatch Flutter Application Testing in Action See a demo of testing Flutter apps with Perfecto. Get Demo Back to top
Sreevatsa Sreerangaraju 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.