Wednesday, August 22, 2018

Mobile Automation Testing Interview Questions As Well As Answers

| Wednesday, August 22, 2018
26. : Can yous enjoin me usage of findElements() method?
Answer : We tin operate findElements() method to become the listing of elements from page.
Example : Supposing in that place are five buttons on page alongside same shape name. In this case, We tin operate findElements() method in addition to furnish reference of shape refer inward xpath(Example : findElements(By.xpath("//android.widget.Button"))). So it volition render listing of all push clitoris elements. Then nosotros tin operate get() method in addition to furnish reference of button's index to locate specific button(Example : findElements(By.xpath("//android.widget.Button")).get(0)). View findElements() Example.

27. : How to perform drag in addition to driblet activity inward appium?
Answer : We tin operate TouchAction shape of appium to perform drag in addition to driblet activity on whatsoever chemical ingredient of mobile app. View Appium drag in addition to driblet Example inward mobile app.

28. : What is usage TouchAction Class inward Appium?
Answer : TouchAction Class is used to generate actions chain to perform drag in addition to drop, swipe element, etc.. inward appium test.

29. : How to perform swipe activity inward appium?
Answer : You tin operate TouchAction shape in addition to it's methods to generate activity chain of swipe action. View swipe using TouchAction example.

30. : Is in that place whatsoever other means to perform swipe inward appium?
Answer : Yes, We tin operate swipe method to perform swipe action. View swipe using swipe method example.

Related Posts