Currently I am using Appium, Selenium, Java, TestNG for native app. I am doing automation for iOS and Android and both functionality is same but yes element identifier is different in iOS and android. None of element have same name. Let’s say for login button element identifier is in following way
For Android @AndroidFindBy(id = "com.abc.bot:id/home_screen_sign_in_btn") private MobileElement signinbtn; For iOS @FindBy(xpath="//XCUIElementTypeButton[@name='Log In']") private WebElement logInButton;
Apart from that we are using CircleCI and for iOS and Android have different pipeline and different branch too. My question is, should I keep iOS and Android in same repo or different branch. Can someone explain pros and cons please? Should I use same repo?
Hi all, anyone knows which is the best approach to verify if the input field does not accept special characters, e.g: "$#@%%^&*(" , either on Android or iOS?
For example, I have an input field that only accepts numeric characters, any other special characters besides allowed characters are not sent to the field no matter what users pressing on the keyboard itself.
I try to use 'Send Keys' function and then assert the input field's text equals blank (input values are not filled), but Appium can still send the restricted characters successfully.