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 nvm, n, 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.
*************************************************
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" }Android: UiAutomator2
-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 21 to 30:
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
*************************************************
******************************************************
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");
API Testing Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Rest-API
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