This is the first one and then I can add actions.tap with the ElementOption.element(), pass lists and then perform().Īgain, I need to cast lists to be an AndroidElement instead of WebElement. Then, I need to add another element with AndroidElement which is lists = driver.findElementByAccessibilityId() and in this case, it will be "Lists" because we are using the accessibility ID "Lists". First, we need to start an Appium server. Now that we understand how Robot Framework and Appium work, it’s time to put them together and create our test cases. So here, I will call the scrollDown method. Mobile Automation with Robot Framework and Appium. ![]() In the scroll_test(), after I tap on "Views", I need to scroll down until I find "Lists".
0 Comments
Leave a Reply. |