Class CommoniOSPage

  • All Implemented Interfaces:
    com.codeborne.selenide.WebDriverProvider

    public class CommoniOSPage
    extends IosDriverProvider
    • Constructor Summary

      Constructors 
      Constructor Description
      CommoniOSPage()  
      CommoniOSPage​(io.appium.java_client.ios.IOSDriver _driver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clickWithAccessibilityId​(java.lang.String name, java.lang.String accessibilityId)  
      void clickWithText​(java.lang.String text)  
      void closeApp()  
      void fillFieldWithId​(java.lang.String fieldName, java.lang.String fieldId, java.lang.String value)
      The method will search for the element with Accessibility Id and will fill the value
      void fillFieldWithText​(java.lang.String fieldName, java.lang.String fieldText, java.lang.String value)
      The method will search for the element with xpath and will fill the value.Use this for password fields
      int get_longTimeout()  
      void openiOSApp()  
      void openiOSAppNoReset()  
      void seeText​(java.lang.String text)  
      void set_longTimeout​(int _longTimeout)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommoniOSPage

        public CommoniOSPage()
      • CommoniOSPage

        public CommoniOSPage​(io.appium.java_client.ios.IOSDriver _driver)
    • Method Detail

      • get_longTimeout

        public int get_longTimeout()
      • set_longTimeout

        public void set_longTimeout​(int _longTimeout)
      • openiOSApp

        public void openiOSApp()
      • closeApp

        public void closeApp()
      • openiOSAppNoReset

        public void openiOSAppNoReset()
      • clickWithAccessibilityId

        public void clickWithAccessibilityId​(java.lang.String name,
                                             java.lang.String accessibilityId)
                                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • clickWithText

        public void clickWithText​(java.lang.String text)
      • fillFieldWithId

        public void fillFieldWithId​(java.lang.String fieldName,
                                    java.lang.String fieldId,
                                    java.lang.String value)
        The method will search for the element with Accessibility Id and will fill the value
        Parameters:
        fieldName -
        fieldId -
        value -
      • fillFieldWithText

        public void fillFieldWithText​(java.lang.String fieldName,
                                      java.lang.String fieldText,
                                      java.lang.String value)
        The method will search for the element with xpath and will fill the value.Use this for password fields
        Parameters:
        fieldName -
        fieldText -
        value -
      • seeText

        public void seeText​(java.lang.String text)