Delivered by FeedBurner

Showing posts with label appium interview questions and answers. Show all posts
Showing posts with label appium interview questions and answers. Show all posts

36. What is command to start appium from command prompt?
Answer : "node appium" command from node_modules folder of appium will start appium server from command prompt. View start appium from command prompt example.

37. Is it possible to start and stop appium server programmatically?
Answer : Yes we can start appium server programmatically too. I have described two different methods on how to start and stop appium server programmatically. You can describe any one from them. View Method 1 and Method 2.

31. : Which method is used to perform scroll down to text in appium.
Answer : You can use scrollTo() method to scroll till text. View scroll down to text example.

32. : Is it possible to perform multi-touch action in appium test?
Answer : Yes, We can perform multi-touch action action in appium automation test using MultiTouchAction and TouchAction class. We can create touch action chain using MultiTouchAction and TouchAction class. View appium multi-touch action example.

26. : Can you tell me usage of findElements() method?
Answer : We can use findElements() method to get the list of elements from page.
Example : Supposing there are 5 buttons on page with same class name. In this case, We can use findElements() method and provide reference of class name in xpath(Example : findElements(By.xpath("//android.widget.Button"))). So it will return list of all button elements. Then we can use get() method and provide reference of button's index to locate specific button(Example : findElements(By.xpath("//android.widget.Button")).get(0)). View findElements() Example.

21. : Which android version is supported by appium?
Answer : Appium support Android 17+ API level versions only. You need to use selendroid if you have older version of android API level. View MORE DETAILS.

22. : How to configure appium project in eclipse?
Answer : Appium project configuration steps are given on THIS PAGE.

16. : Can you tell me few appium limitations?
Answer : Limitations Of Appium are described on THIS PAGE.

17. : Tell me different ways to locate android app elements in appium automation.
Answer : You can locate android app's elements using bellow given different ways.
  1. XPath
  2. ID
  3. Name
  4. className
  5. AccessibilityId
18. : Can you tell me different ways to locate element by XPath?
Answer : You can create XPath in different ways to locate same element. Different XPath examples are given on THIS PAGE.

11. : How to configure android device to run software test using appium in devices?
Answer : In order to run software automation tests using appium in android device, You need to enable USB debugging in your android device. VIEW DETAILS on how to enable USB debugging in android device.

12. : Tell me the command name for windows to verify that android device is connected with PC.
Answer : You can run adb devices command in windows to make sure that device is connected properly with PC to run appium tests on it.

6. : What is Node.js?
Answer : It is cross-platform runtime environment which is used to develop server-side software web applications. It is open-source so you can use it without any cost.

7. : What is Desired Capabilities and how it is used in Appium software testing tool?
Answer : Desired Capabilities is bunch of keys and it's value. Using this set of keys and values we can tell to appium server that what kind of automation session we are going to create. Example : If you set platformName = Android then appium will understand that you wants to create automation session to run test on Android.

1. : What Is Appium?
Answer : Appium is an open source mobile application automation testing tool. Using appium, We can automate native applications, Mobile web applications and mobile hybrid applications on Android and IOS platforms. VIEW MORE DETAIL

2. : What are the prerequisites to install appium in windows?
Answer : You need to install few software before install and use appium in windows. Bellow given software are required to install appium in windows.