We now look at which tools can be used to support the creation of automated test cases.
For executing test cases on a frontend, the created code actions must be converted to be executed on the frontend and mapped to user actions.
Existing tools support the creation of automated test cases by (i) providing such a mapping and (ii) allowing high-level support for adapting this mapping as well as (iii) high-level queries for frontend components. The following tools are usually used for the respective types of frontends:
Mobile Applications: Selendroid (http://selendroid.io/) allows to execute test case code that uses Selenium libraries to be executed for mobile applications. However, Selendroid is limited to applications that are written for the Android operating system. For running automated test cases on various operating systems, Appium (http://appium.io/) can be used. It supports applications written for Android, iOS or windows mobile.
Desktop Applications: For running test cases created with the Selenium framework, WinAppDriver (https://github.com/Microsoft/WinAppDriver) or Winium (https://github.com/2gis/Winium) can be used. Although both of the above-mentioned frameworks allow test code to be executed on various kinds of Windows applications, supported applications are still limited to one operating system, namely Windows. For executing test cases on different operating systems, tools such as TestArchitect (https://www.testarchitect.com/) or Ranorex (https://www.ranorex.com/de/gui-testautomatisierungstools/) can be used. The keyword-driven testing technique implemented by both of these tools also allows to create frontend tests via a graphical user interface, without the need to write any code.
written by Daniel Lehner
(1) Article „12 Best Automation Tools for Desktop Apps in 2020“ https://www.logigear.com/blog/test-automation/12-best-automation-tools-for-desktop-apps-in-2020/
(2) Tutorial https://www.testing-board.com/selenium-webdriver-tutorial-1-grundlagen-testautomatisierung-wordpress-und-basis-testframework/
(3) Tutorial “Selenium Webdriver Tutorial 1: Grundlagen Testautomatisierung WordPress und Basis Testframework” https://www.selenium.dev/documentation/en/webdriver/driver_requirements/
When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. Control your personal Cookie Services here.