When i am trying to enter number by to text Filed using SedKeys function getting this error(Note : test Field input type is only number)
- resourceIDEle.SendKeys(“987654321”) : always throwing title exception.
- action.SendKeys(“987654321”) : always throwing title exception.
- action.SendKeys(resourceIDEle, “987654321”) not throwing exception and also not entering number into text field.
- driver.getKeyboard().presKey(“987654321”) : some time working fine and its entering number in other text field.
driver.getKeyboard().releaseKey(“987654321”) : some time working fine and its entering number in other text field.
Exception Details :
org.openqa.selenium.InvalidElementStateException: ACTION_SET_PROGRESS has failed on the element 'android.view.accessibility.AccessibilityNodeInfo
Full Exception :
org.openqa.selenium.InvalidElementStateException: ACTION_SET_PROGRESS has failed on the element 'android.view.accessibility.AccessibilityNodeInfo@
4086b; boundsInParent: Rect(0, 0 - 344, 36); boundsInScreen: Rect(89, 1126 - 992, 1221); packageName: com.westernunion.android.mtapp; className: android
.widget.EditText; text: ; error: Invalid entry; maxTextLength: -1; contentDescription: null; tooltipText: null; viewIdResName: confirmAccNum; checkable:
false; checked: false; focusable: true; focused: true; selected: false; clickable: true; longClickable: false; contextClickable: false; enabled: true;
password: false; scrollable: false; importantForAccessibility: false; visible: true; actions: [AccessibilityAction: ACTION_NEXT_HTML_ELEMENT - null, Acc
essibilityAction: ACTION_PREVIOUS_HTML_ELEMENT - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null, AccessibilityAction: ACTION_CONTEXT_CLICK - nu
ll, AccessibilityAction: ACTION_SET_TEXT - null, AccessibilityAction: ACTION_PASTE - null, AccessibilityAction: ACTION_UNKNOWN - null, AccessibilityActi
on: ACTION_CLEAR_FOCUS - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_CLICK - null, AccessibilityAction: AC
TION_SET_PROGRESS - null]’. Did you interact with the correct element? (WARNING: The server did not provide any stacktrace information)