Automation Testing: How it works?
Are you curious how automation testing works?

Automation Testing is in great demand in the industry. Most of the software industry wants to automate their devices.
Devices can be mobile, Web, smart TV, gaming console.
For few platforms open source automation are available but for other devices like TV and gaming console there are no open source automation frameworks are available.
So the idea of this article is to get familiar with automation framework so that you can create your own framework based on requirements.
So the idea is that first there has to be some application that can run some User-interface testing. For instance, to test an iOS application there has to be some application that can execute XC UI Test and this application also acts as a server which exposes some web services.
Now through these web service, you can control the test. You can write some client application in your preferred language and executes test steps.
This is the core principal for various automation framework like appium, selenium.
Now next question comes to mind how to verify various kinds of stuff. There are lots of tools which are already available in the market.
For instance, you can capture image(screenshots) and verify items based on the item present on.
SikuliX, Tesseract can be used to verify images and text respectively.
Knowledge of Webservices is required. Most of the Platforms like TV and gaming console expose some web services in their developer mode.
You can take leverage of their developer mode to control the app under test. And based on that you can write some automation scripts. Most of the devices in developer mode also provide the ability to take screenshots which can be used to verify the expected elements.
I am happy to help if you need any idea about automation framework development.
