Pages

Sunday, 28 November 2021

Top Mobile Automation Testing Interview questions for QA-SDET-QAE? Basic concepts and setup for Appium? Appium Interview Q&A


How to send email notification with groovy script in Jenkins pipeline?

Pipeline Script Fundamentals

Click Here:   DevOps Related Posts


Training Session for API-Microservice-SDET will start soon, for demo session on 18th DEC please reach out on whatsapp @ 91-9619094122

1. How to install Appium?

Appium can be installed in one of two ways: via NPM or by downloading Appium Desktop.

a. Installation via NPM

If you want to run Appium via an npm install, hack with Appium, or contribute to Appium, you will need Node.js and NPM (use nvmn, or brew install node to install Node.js. Make sure you have not installed Node or Appium with sudo, otherwise you'll run into problems).

npm install -g appium


b. Installation via Desktop App Download

Simply download the latest version of Appium Desktop from the releases page.

*************************************************

To check API related topics and interview tips, check below and keep reading:

Most Asked API Question For SDET
*************************************************

2. How we can verify the Appium installation, what is Appium doctor?


Ans:   To verify that all of Appium's dependencies are met we can use appium-doctor.
Install it with commandnpm install -g appium-doctor, then run the appium-doctor command, supplying the --ios or --android flags to verify that all of the dependencies are set up correctly.


3. What is the default port for Appium?

Ans: 4723 

This port information is important since we will have to direct your test client to make sure to connect to Appium on this port. If we want to change, the port, we can do so by using the -p flag when starting Appium.


4. What are the important Appium Desired Capabilities?

Ans

{

"platformName": "iOS", "platformVersion": "11.0", "deviceName": "iPhone 11", "automationName": "XCUITest", "app": "/path to app" }

5. Mention the Automation engine for android and IOS?

Ans:
Android: UiAutomator2
IOS : XCUITest


6. What are the locators for Appium which supports the Mobile JSON Wire Protocol locator strategies?

Ans
  • -ios predicate string : a string corresponding to a recursive element search using the iOS Predicate (iOS 10.0 and above)
    • -ios uiautomation for iOS 9.3 and below
  • -android uiautomator: a string corresponding to a recursive element search using the UiAutomator Api (Android-only)
  • -android datamatcher: a string corresponding to an Espresso DataMatcher json (Android-only)
  • accessibility id: a string corresponding to a recursive element search using the Id/Name that the native Accessibility options utilize.

*************************************************

Check Selenium-SDET-UIAutomation Questions set 11 to 20:
Qus Set - 11 to 20

Check Selenium-SDET-UIAutomation Questions set 21 to 30:
 
*************************************************

7. What is the use of Touch Action?

AnsTouchAction objects contain a chain of events.

In all the appium client libraries, touch objects are created and are given a chain of events.


8. What are the available events from the Touch Action spec?

Ans:
* press 

* release

 * moveTo 

* tap 

* wait 

* longPress 

* cancel 

* perform

*************************************************

Check Selenium-SDET-UIAutomation Questions set 31 to 40:

 Question Set 31-40  

******************************************************

9.  What are the Locators used for Mobile Automation?

Ans: Click Here For The List Of Locators

10. How to use Find Element to identify Mobile elements?

Ans: 
MobileElement elementOne = (MobileElement) driver.findElementByAccessibilityId("SomeAccessibilityID");

MobileElement elementTwo = (MobileElement) driver.findElementByClassName("SomeClassName");

If you like my work and want to say thank you then spread the word or buy me a coffee :)

🍵🍵🍵🍵 Buy Me A Coffee  🍵🍵🍵🍵


 API Testing Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Rest-API

SeleniumWebdriver Automation Testing Interview Questions:

 
Kubernetes Interview Question Set
https://automationreinvented.blogspot.com/search/label/Kubernetes

 
Docker Interview Question Set
https://automationreinvented.blogspot.com/2020/02/top-18-docker-commands-for-aytomation.html

 
Linux Interview question Set
https://automationreinvented.blogspot.com/search/label/Linux

 
Automation Testing/SDET Framework Design
https://automationreinvented.blogspot.com/search/label/FrameworkDesign


Java Related Interview Question Set

https://automationreinvented.blogspot.com/search/label/Java


GIT Interview Question Set:
https://automationreinvented.blogspot.com/search/label/GIT


Coding Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Coding%20Questions

No comments:

Post a Comment