Online Exam Quiz

questionQuestion  1 to 30

What is the default port used by Appium server?

  • 4723
  • 8080
  • 4444
  • 9000
Mark for review

How do you close the application using Appium?

  • driver.closeApp()
  • driver.quit()
  • driver.close()
  • driver.endApp()
Mark for review

In Appium, what is a session?

  • A connection between the automation script and the app
  • A set of capabilities
  • A mobile device
  • A list of user actions
Mark for review

Which mobile platforms are supported by Appium?

  • iOS only
  • Android only
  • iOS and Android
  • Web only
Mark for review

How can you perform horizontal scrolling in Appium?

  • By using swipe() method
  • By using moveTo() method
  • By using TouchAction class
  • All of the above
Mark for review

Which Appium capability is used to specify the path to the app under test?

  • appPath
  • appLocation
  • appPackage
  • app
Mark for review

Which of the following is a valid Appium context?

  • NATIVE_APP
  • WEBVIEW
  • Both NATIVE_APP and WEBVIEW
  • NATIVE_WEBVIEW
Mark for review

Which of the following is the correct way to find an element in Appium?

  • driver.findElement()
  • driver.getElement()
  • driver.locateElement()
  • driver.find()
Mark for review

Which of the following is used to interact with WebView in hybrid apps?

  • Context Switching
  • Appium Inspector
  • Selenium WebDriver
  • Appium Desktop
Mark for review

Which mobile devices are supported by Appium?

  • iOS devices only
  • Android devices only
  • Both iOS and Android devices
  • Only Windows Phone devices
Mark for review

What is the "fullReset" capability used for in Appium?

  • It resets the device state and deletes all data
  • It resets the app data only
  • It restarts the Appium server
  • It resets the application?s settings
Mark for review

Which of the following is the correct method to close a session in Appium?

  • driver.close()
  • driver.quit()
  • driver.stop()
  • driver.exit()
Mark for review

How do you perform a swipe in Appium?

  • By using TouchAction()
  • By using swipe()
  • By using moveTo() method
  • None of the above
Mark for review

What is the purpose of the "takeScreenshot" method in Appium?

  • To capture the app screen and save it as an image
  • To capture the log files of the app
  • To capture the test results
  • To capture the application?s settings
Mark for review

How do you capture a screenshot in Appium?

  • Using the takeScreenshot() method
  • Using getScreenshot() method
  • By using the getPageSource() method
  • By using Appium Inspector
Mark for review

What type of application can be tested with Appium?

  • Native apps
  • Web apps
  • Hybrid apps
  • All of the above
Mark for review

What is the purpose of the "autoGrantPermissions" capability in Appium?

  • It automatically grants permissions required for app installation
  • It prevents the app from requesting permissions
  • It is used for managing app data
  • It automatically installs missing app dependencies
Mark for review

What is the use of Appium TouchAction class?

  • To perform actions like tap, swipe, and scroll on mobile elements
  • To initialize Appium on mobile devices
  • To identify elements on mobile applications
  • None of the above
Mark for review

Which tool can be used to identify mobile elements for Appium tests?

  • Appium Desktop
  • Selenium WebDriver
  • Xcode
  • Android Studio
Mark for review

What type of testing can Appium be used for?

  • Functional testing
  • UI testing
  • Regression testing
  • All of the above
Mark for review

How can you get the screen orientation in Appium?

  • getOrientation()
  • getScreenOrientation()
  • screenOrientation()
  • deviceOrientation()
Mark for review

How do you check if an element is displayed in Appium?

  • isDisplayed()
  • isVisible()
  • checkElement()
  • showElement()
Mark for review

How can you perform long press actions in Appium?

  • Using TouchAction() class
  • Using pressAndHold() method
  • Using longPress() method
  • Both 1 and 2
Mark for review

How can you reset the app without resetting the entire device in Appium?

  • Using resetApp()
  • Using fullReset()
  • By restarting the device
  • By restarting Appium
Mark for review

What is the default device orientation for Appium tests?

  • Portrait
  • Landscape
  • Both
  • None of the above
Mark for review

How can you simulate a pinch-to-zoom action in Appium?

  • By using the pinch() method
  • By using the TouchAction class
  • By using the zoomIn() method
  • By using scroll()
Mark for review

What is the "sessionId" attribute used for in Appium?

  • It uniquely identifies the current session
  • It stores session capabilities
  • It stores the session logs
  • It is used to authenticate the test script
Mark for review

What is the default timeout for an explicit wait in Appium?

  • 30 seconds
  • 10 seconds
  • 60 seconds
  • 15 seconds
Mark for review

How do you simulate a back press on Android in Appium?

  • driver.pressBack()
  • driver.sendKey()
  • driver.clickBack()
  • driver.sendKeys(Keys.BACK)
Mark for review

Which method is used to swipe from one element to another in Appium?

  • swipe()
  • dragAndDrop()
  • moveTo()
  • touchAndSwipe()
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review