Search code examples
appium

Can I use appium for testing web apps?


The application I am testing is a web based app. Is it possible to use Appium to test this? On their website it states "Appium is an open source test automation framework for use with native and hybrid mobile apps."

So I am unsure if this will work for my web app as it is not a native app or hybrid app.

Can someone enlighten me?

Thanks!


Solution

  • First of all, you need to know what kind of web application you want to test. According to information from Saucelabs

    there are three types of web application:

    1. Native application
      Yes, you can test it using Appium which is a popular tool for mobile testing.
    2. Hybrid application (Native + webview)
      Yes, you can test it with Appium but with a little trick that you may need to change the context to switch to webview mode. appium.io
    3. Web app (app that is accessible from browser installed on your mobile device, not the one you can download and install)
      Yes, and the details are at appium.io too.

    Besides, there is actually another type of app: hybrid app, but with customized webview.
    I've been struggling with it recently because I have trouble to find and switch to the webview mode.