Mobile Automation Testing Interview Questions And Answers

26. : Can yous enjoin me usage of findElements() method?
Answer : We tin role findElements() method to function the listing of elements from page.
Example : Supposing at that spot are v buttons on page amongst same shape name. In this case, We tin role findElements() method together with render reference of shape get upward inwards xpath(Example : findElements(By.xpath("//android.widget.Button"))). So it volition render listing of all push elements. Then nosotros tin role get() method together with render 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 together with drib activity inwards appium?
Answer : We tin role TouchAction shape of appium to perform drag together with drib activity on whatsoever chemical ingredient of mobile app. View Appium drag together with drib Example inwards mobile app.

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

29. : How to perform swipe activity inwards appium?
Answer : You tin role TouchAction shape together with it's methods to generate activity chain of swipe action. View swipe using TouchAction example.

30. : Is at that spot whatsoever other agency to perform swipe inwards appium?
Answer : Yes, We tin role swipe method to perform swipe action. View swipe using swipe method example.

More interesting articles here :Generation Enggelmundus Internet Marketing Tool here :Zeageat IM http://www.software-testing-tutorials-automation.com/
Post a Comment (0)
Previous Post Next Post