Top 18 Appium Interview Questions & Answers

Download PDF

1) Explain what is Appium?

Appium is a freely distributed open source mobile application UI Testing framework.

2) List out the Appium abilities?

Appium abilities are

3) List out the pre-requisite to use APPIUM?

Pre-requisite to use APPIUM is

4) List out the limitations of using Appium?

5) Explain how to find DOM element or xPath in a mobile application?

To find the DOM element use "UIAutomateviewer" to find DOM element for Android application.

6) Explain the design concept of Appium?

7) What language does Appium support?

Appium support any language that support HTTP request like Java, JavaScript with Node.js, Python, Ruby, PHP, Perl, etc.

8) Explain the pros and cons of Appium?

Pros:

Cons:

9) Explain what is APPIUM INSPECTOR?

Similar to Selenium IDE record and Playback tool, Appium has an "Inspector" to record and playback. It records and plays native application behavior by inspecting DOM and generates the test scripts in any desired language. However, Appium Inspector does not support Windows and use UIAutomator viewer in its option.

10) Mention what are the basic requirement for writing Appium tests?

For writing Appium tests you require,

11) Mention what are the possible errors one might encounter using Appium?

The possible errors one might face in Appium includes

12) Do you need a server machine to run tests on Appium?

No, you don't need server machine to run tests on Appium. Appium facilitates a 2-tier architecture where a test machine connects to a test server running Appium and automating the whole thing. You can have Appium running on the same machine where your test runs.

13) Is it possible to interact with my apps using Javascript while I am testing with Appium?

Yes, it is possible to interact with App while using Javascript. When the commands run on Appium, the server will send the script to your app wrapped into an anonymous function to be executed.

14) Mention what are the most difficult scenarios to test with Appium?

The most difficult scenario to test with Appium is data exchange.

15) While using Appium can I run my tests in a multithreaded environment?

Yes, you can run the test in a multithreaded environment but you have to ensure that no more than one test runs at the same time against the same Appium server.

16) In Android, do you need an app's .apk to automate using Appium or you also need app in my workspace?

In Android, you only need .apk file to automate using Appium.

17) Explain what is Appium package master? How to create package?

Appium package master is a set of tools manage and create appium packages. For example to create package you can use the code

# using es7/babe1

Gulp create-package –n <package-name>

#regular es5

Gulp create-package ---nobabe1 –n <package-name>

The package will be generated in the out/<package-name>

18) Explain how test frameworks are supported by Appium?

Appium does not support test framework as such there is no need to support them. Appium can be used with any frameworks you want.

 

YOU MIGHT LIKE: