Question1Replies75Views DineshaN8974 Member since 2019 1 post Melbourne Water Corporation Posted: November 26, 2019Last activity: December 3, 2019 Solved data-test-id for iOS mobile automation using appiumHi,I have to automate an iOS mobile app using Selenium with Appium. We have added data-test-id to refer the elements but still i'm getting error in selenium stating that unable to find the element.Below i have attached the screenshot of the appium inspector view.Below is the HTML file for the target elementBelow is the selenium java code i used,private IOSDriver<MobileElement> driver;URL url = new URL(configFileReader.getAppiumUrl());driver = new IOSDriver<MobileElement>(url, cap);MobileElement enterValueToHeadOnWeir = driver.findElementByXPath("//input[contains(@data-test-id,'HeadOnWeir')]");enterValueToHeadOnWeir.sendKeys(configFileReader.getHeadOnWeirValue());Thanks. Low-Code App Development Testing Applications Mobile ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Accepted Solution Posted: 11 months agogutak PEGA replied to DineshaN8974Hello Dinesh iOS: Appium Desktop CANNOT map the web element's attributes to the native element's attributes. Xpath's are always available for finding the elements and are very much helpful for automation or You can write tests using Appium and Selenium stack, but you have to code theses tests by yourself. Pega provides a Selenium-based UI test framework and sample UI tests that you can leverage to build up a test automation suite for your Pega application. Please ref the below article on the usage of Pega selenium framework https://community1.pega.com/community/pega-support/question/selenium-framework-guide See if this is helpful.