BoykaFramework / boyka-framework

🎉 Ultimate test automation framework for automating any application on any platform
https://boykaframework.github.io/boyka-framework/
MIT License
122 stars 42 forks source link

⭐ New feature: Add support for mobile visual testing using Appium Images plugin #858

Closed itkhanz closed 3 weeks ago

itkhanz commented 3 weeks ago

📗 Description of the new feature request?

For mobile test automation using Appium, Appium offers images Plugin which can be used to find elements by image which are otherwise not possible to locate on screen due to many reasons.

Similarly for performing visual validation, we can use this same plugin for comparing images, and validating the presence of provided image on screen.

Native Appium-Java client already provides methods that can be called on AppiumDriver i.e. matchImagesFeatures(), findImageOccurrence(), getImagesSimilarity() for this purpose however if someone is using Boyka framework for their testing purposes, it would be really helpful if Boyka provides a wrapper and simplified layer on top of it to carry out visual testing with Images Plugin.

🚧 Scenario where this would be used?

This is helpful for mobile automation using Appium. Appium Images plugin is also developed and supported natively by Appium and already available on cloud testing services such as BrowserStack. Addition of visual testing capabilities to Boyka will further enhance the user experience and possibility Boyka framework offers.

💁 Supporting information

Detailed documentation on usage of Images-plugin can be found here: https://github.com/appium/appium/tree/master/packages/images-plugin https://github.com/appium/appium/blob/master/packages/images-plugin/docs/image-comparison.md https://github.com/appium/appium/blob/master/packages/images-plugin/docs/find-by-image.md

WasiqB commented 3 weeks ago

Hey @itkhanz ,

Thanks for suggesting this new feature.

This feature we had already put in our roadmap. Since you showed interest in this feature, we will prioritise this feature and plan the same in our upcoming releases.

Since I had explored Appium's image plugin, I did not found the results upto the mark as compared to WDIO's Image comparison service.

We will implement this feature in such a way that it should give reliable results.

I would suggest you to join our Discord server where you can interact with the core team and discuss about any topic related to the framework.

WasiqB commented 3 weeks ago

824 is already there in the project roadmap, please follow that ticket for future updates on this feature progress.

Closing this ticket.