Google News
logo
Appium - Quiz(MCQ)

Appium : Appium is used mostly in the field of software test automation.

Appium is an open-source project and ecosystem of related software, designed to facilitate UI automation of many app platforms, including mobile (iOS, Android, Tizen), browser (Chrome, Firefox, Safari), desktop (macOS, Windows), TV (Roku, tvOS, Android TV, Samsung), and more.

A)
Web
B)
Native
C)
Hybrid
D)
All of the above

Correct Answer :   All of the above


Explanation : The Appium framework is used to automate the testing of native, hybrid, and web applications.

A)
Automation
B)
Semi-Automation
C)
Trans-Automation
D)
None of the above

Correct Answer :   Automation


Explanation : In Mobile Automation Testing Technology, Appium is a popular tool for testing mobile applications.

A)
driver.getPowerStatus()
B)
driver.getBatteryStatus()
C)
driver.getDeviceBatteryInfo()
D)
driver.getBatteryInfo()

Correct Answer :   driver.getBatteryStatus()

A)
Using Appium's UI Automator API
B)
Using Appium's touch actions API
C)
Using Appium's mobile: shell command
D)
Using the Appium Inspector to find elements

Correct Answer :   Using Appium's mobile: shell command

A)
JUnit
B)
JMeter
C)
Appium
D)
ETL Testing

Correct Answer :   Appium


Explanation : To test an application, Appium is used, an open-source automation tool.

6 .
A ____ mobile app can be automated with this product which is developed and supported by Sauce Labs.
A)
Native
B)
Hybrid
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)


Explaination : A native and hybrid mobile app can be automated with this product which is developed and supported by Sauce Labs.

7 .
Using Appium, one can run the same test on multiple platforms, which is a ______-platform mobile automation tool.
A)
Cross
B)
Line
C)
Circle
D)
Pyramid

Correct Answer :   Cross


Explaination : Using Appium, one can run the same test on multiple platforms, which is a cross-platform mobile automation tool.

A)
deviceName
B)
platformName
C)
appActivity
D)
appPackage

Correct Answer :   appPackage

A)
automationName
B)
platformName
C)
platformVersion
D)
None of the above

Correct Answer :   automationName

A)
Version
B)
platformVersion
C)
platformVer
D)
None of the above

Correct Answer :   platformVersion

11 .
In Appium, you don't need to worry about the operating system of your mobile device because the Selenium Webdriver commands are converted to Android and iOS ____ commands according to the device type rather than the OS type of your mobile device.
A)
UIAutomator
B)
UIAutomation
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)


Explaination : In Appium, you don't need to worry about the operating system of your mobile device because the Selenium Webdriver commands are converted to Android and iOS UIAutomator and UIAutomation commands according to the device type rather than the OS type of your mobile device.

12 .
There are several Selenium client libraries available for ____, C#, Python, JavaScript with Node.js, and Ruby, along with many others.
A)
Java
B)
PHP
C)
Objective C
D)
All of the above

Correct Answer :   All of the above


Explaination : There are several Selenium client libraries available for Java, PHP, Objective C, C#, Python, JavaScript with Node.js, and Ruby, along with many others.

A)
tap
B)
swipe
C)
three_finger_tap
D)
drag_and_drop

Correct Answer :   three_finger_tap

A)
AppiumJS
B)
JSAppium
C)
JavaScriptium
D)
Appium-JavaScript-Client

Correct Answer :   Appium-JavaScript-Client

A)
Carbon
B)
Selenium
C)
Titanium
D)
None of the above

Correct Answer :   Selenium


Explanation : Appium controls Selenium's functionality for testing through the Selenium backend.

A)
The community at Appium is active and strong.
B)
Source code or libraries are not required for Appium.
C)
There is multiplatform support in Appium, which means that the same test case can be run on multiple platforms at the same time.
D)
All of the above

Correct Answer :   All of the above


Explanation : The features of Appium are :

* Source code or libraries are not required for Appium.
* The community at Appium is active and strong.
* There is multiplatform support in Appium, which means that the same test case can be run on multiple platforms at the same time.

A)
Parallel testing is possible with Appium.
B)
An Appium application does not have to be reinstalled when a small change is made.
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)


Explanation : The following are TRUE about Appium :

* Parallel testing is possible with Appium.
* An Appium application does not have to be reinstalled when a small change is made.

A)
driver.getContext()
B)
driver.switchTo().context()
C)
driver.switchToContext()
D)
driver.getCurrentContext()

Correct Answer :   driver.switchTo().context()

19 .
Which Android only capability in Appium, is used to configure the amount of time to wait for Webview context to become active
A)
autoWebviewTimeout
B)
WebviewTimeout
C)
WebviewAutoTimeout
D)
None of the above

Correct Answer :   autoWebviewTimeout

A)
driver.getSource()
B)
driver.getPageSource()
C)
driver.getAppSource()
D)
driver.getCurrentPageSource()

Correct Answer :   driver.getPageSource()

A)
Using log files
B)
Using node.js
C)
Using system tools
D)
Using proxy component

Correct Answer :   Using proxy component

A)
Open-source software, such as Appium, is available for free.
B)
Web, native, and hybrid applications can all be tested automatically with it.
C)
Appium can be used with automated testing without the need for additional agents.
D)
All of the above

Correct Answer :   All of the above


Explanation : The advantages of Appium are :

* Open-source software, such as Appium, is available for free.
* Web, native, and hybrid applications can all be tested automatically with it.
* Appium can be used with automated testing without the need for additional agents.

A)
Free
B)
Cross-platform
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)


Explanation : Mobile testing is made possible with Appium, a free, cross-platform testing tool.

A)
Reports are not detailed enough.
B)
Due to the remote web driver's dependency, the tests take a while.
C)
Each Mac OS device can only run one instance of iOS script (iOS Script), so one test can be executed simultaneously.
D)
All of the above

Correct Answer :   All of the above


Explanation : The disadvantages of Appium are :

* Reports are not detailed enough.
* Due to the remote web driver's dependency, the tests take a while.
* Each Mac OS device can only run one instance of iOS script (iOS Script), so one test can be executed simultaneously.

25 .
There is one limitation, which is that Appium runs tests using Selendroid for older APIs versus UIAutomator for API>=__.
A)
17
B)
14
C)
10
D)
8

Correct Answer :   17


Explaination : There is one limitation, which is that Appium runs tests using Selendroid for older APIs versus UIAutomator for API>=17.

26 .
There is no requirement for source code or libraries in ____, whereas ____ requires source code or libraries in the application.
A)
Appium, Kobiton
B)
Appium, Selendroid
C)
Kobiton, Appium
D)
Selendroid, Appium

Correct Answer :   Appium, Selendroid


Explaination : There is no requirement for source code or libraries in Appium, whereas Selendroid requires source code or libraries in the application.

27 .
Selendroid is a test automation framework that only supports ____, while Appium is an open-source tool that supports both iOS and Android.
A)
iOS
B)
Android
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Android


Explaination : Selendroid is a test automation framework that only supports Android, while Appium is an open-source tool that supports both iOS and Android.

28 .
Robotium code requires a ____ rebuild for a small change, whereas Appium does not require reinstalling the application.
A)
Half
B)
Non-complete
C)
Complete
D)
None of the above

Correct Answer :   Complete


Explaination : Robotium code requires a complete rebuild for a small change, whereas Appium does not require reinstalling the application.

A)
C
B)
JS
C)
PHP
D)
Node.js

Correct Answer :   Node.js


Explanation : An application server written in Node.js, Appium, is used to serve HTTP requests.

30 .
It creates a server and listens to proxied commands from the main Appium server when it finds a '____' on a device.
A)
Test case
B)
Use case
C)
User case
D)
Testimonial case

Correct Answer :   Test case


Explaination : It creates a server and listens to proxied commands from the main Appium server when it finds a "test case" on a device.

A)
Compatible
B)
Incompetent
C)
Incompatible
D)
None of the above

Correct Answer :   Incompatible


Explanation : The Robotium framework is incompatible with Selenium, while Appium supports many frameworks like Selenium.

A)
HTTP responses are returned by it.
B)
During the installation of Appium, a server exposing a REST API is also installed on our machine.
C)
Android and iOS devices receive commands and connection requests from the client and execute those commands.
D)
All of the above

Correct Answer :   All of the above


Explanation : The following are TRUE about how Appium works :

* HTTP responses are returned by it.
* During the installation of Appium, a server exposing a REST API is also installed on our machine.
* Android and iOS devices receive commands and connection requests from the client and execute those commands.

A)
Robotium only supports Java programming language, whereas Appium supports a variety of languages.
B)
Android-only Robotium is the only tool to support both iOS and Android. Appium is cross-platform, supporting both iOS and Android.
C)
A set of source codes or a library is not necessary to run the Appium tool, but a set of source codes or libraries is required for the Robotium tool.
D)
All of the above

Correct Answer :   All of the above


Explanation : The differences between Appium and Robotium are :

* Robotium only supports Java programming language, whereas Appium supports a variety of languages.
* Android-only Robotium is the only tool to support both iOS and Android. Appium is cross-platform, supporting both iOS and Android.
* A set of source codes or a library is not necessary to run the Appium tool, but a set of source codes or libraries is required for the Robotium tool.

A)
UIAuto
B)
UIAutomator
C)
UIAutotune
D)
UIAutomation

Correct Answer :   UIAutomator


Explanation : UIAutomator is a script that runs on Android devices that proxy Appium commands.

35 .
By using the command line, you can run ____ test cases directly into the device using the native automation framework of Android, UIAutomator.
A)
JUnit
B)
JMeter
C)
Appium
D)
ETL Testing

Correct Answer :   JUnit


Explaination : By using the command line, you can run Junit test cases directly into the device using the native automation framework of Android, UIAutomator.

A)
Instrument
B)
Intranet
C)
Internet
D)
Individual

Correct Answer :   Instrument


Explanation : In addition to building and profiling iOS apps, Apple also provides this application "instrument".

A)
2
B)
3
C)
4
D)
5

Correct Answer :   3


Explanation : There are 3 types of mobile applications.

38 .
The App Stores, such as the Google Play Store and Apple's App Store, are places where ____ apps can be downloaded and installed.
A)
Web
B)
Hybrid
C)
Native
D)
None of the above

Correct Answer :   Native


Explaination : The App Stores, such as the Google Play Store and Apple's App Store, are places where native apps can be downloaded and installed.

A)
driver.setConnection()
B)
driver.setNetworkConnection()
C)
driver.setDeviceConnection()
D)
driver.setAirplaneMode()

Correct Answer :   driver.setAirplaneMode()

A)
driver.closeKeyboard()
B)
driver.keyboardHide()
C)
driver.hideKeyboard()
D)
driver.dismissKeyboard()

Correct Answer :   driver.hideKeyboard()

A)
A real
B)
Not a real
C)
Not a rare
D)
Not a right

Correct Answer :   Not a real


Explanation : A web application is not a real application, but rather a website that runs on a browser.

A)
Skype
B)
Snapchat
C)
Pinterest
D)
All of the above

Correct Answer :   All of the above


Explanation : The following are examples of native applications :

* Pinterest
* Skype
* Snapchat

A)
CSS
B)
HTML
C)
JavaScript
D)
All of the above

Correct Answer :   All of the above


Explanation : HTML, CSS, and JavaScript are used to build web applications at a very affordable cost.

A)
Data
B)
Checker
C)
Doctor
D)
Modifier

Correct Answer :   Doctor


Explanation : Appium-doctor verifies the Appium installation using an application tool.

A)
driver.closeApp()
B)
driver.startActivity()
C)
driver.removeApp()
D)
driver.installApp()

Correct Answer :   driver.closeApp()

A)
Espresso
B)
Selenium WebDriver
C)
UI Automator
D)
None of the above

Correct Answer :   Selenium WebDriver

A)
Appium Inspector cannot be run on Microsoft Windows.
B)
Android versions below 4.2 are not supported by Appium.
C)
Hybrid applications are only partially supported by Appium.
D)
All of the above

Correct Answer :   All of the above


Explanation : The limitations of Appium are :

* Appium Inspector cannot be run on Microsoft Windows.
* Android versions below 4.2 are not supported by Appium.
* Hybrid applications are only partially supported by Appium.

A)
OLA
B)
Basecamp
C)
Instagram
D)
All of the above

Correct Answer :   All of the above


Explanation : The examples of hybrid applications are :

* OLA
* Basecamp
* Instagram

A)
driver.shake()
B)
driver.do_shake()
C)
driver.shake_device()
D)
driver.perform_shake()

Correct Answer :   driver.shake_device()

A)
pressBack
B)
pressKey
C)
pressKeyCode
D)
sendKeyEvent

Correct Answer :   pressBack

51 .
Identify the correct Android only capability in Appium which is used to configure the timeout in milliseconds to wait for adb command execution
A)
ExecTimeout
B)
adbExecTimeout
C)
ExecTimeoutadb
D)
None of the above

Correct Answer :   adbExecTimeout

A)
Twitter
B)
Flipkart
C)
Ali Express
D)
All of the above

Correct Answer :   All of the above


Explanation : The examples of Web Applications are :

* Twitter
* Flipkart
* Ali Express

A)
driver.type()
B)
driver.sendKeys()
C)
driver.sendText()
D)
driver.enterText()

Correct Answer :   driver.sendKeys()

A)
Only PORTRAIT
B)
Only LANDSCAPE
C)
Either PORTRAIT or LANDSCAPE
D)
None of the above

Correct Answer :   Either PORTRAIT or LANDSCAPE

A)
Records and plays native application behavior by inspecting DOM.
B)
Records and plays native application behavior by inspecting COM.
C)
Records and plays web application behavior by inspecting DOM.
D)
Records and plays native application behavior by inspecting DOM and generates the test scripts in any desired language.

Correct Answer :   Records and plays native application behavior by inspecting DOM and generates the test scripts in any desired language.

A)
Developer Settings
B)
General Settings
C)
Android Settings
D)
About

Correct Answer :   Developer Settings

A)
XML file
B)
XHTML file
C)
HTML file
D)
JSON file

Correct Answer :   XML file

A)
driver.switchTo().frame()
B)
driver.context()
C)
driver.switchTo().window()
D)
driver.getContextHandles()

Correct Answer :   driver.context()

A)
driver.long_press()
B)
driver.long_touch()
C)
driver.press_and_hold()
D)
driver.touch_and_hold()

Correct Answer :   driver.press_and_hold()

A)
used for Configuring in Appium
B)
used for Configuring in Sauce Labs
C)
used for Configuring the project in MAVEN
D)
None of the above

Correct Answer :   used for Configuring the project in MAVEN