Android User Name field Details: content-desc: type: android.widget.EditText text: Username index: 0 enabled: true location: {30, 293} size: {480, 60} checkable: false checked: false focusable: true clickable: true long-clickable: true package: com.senrysa.parkingplace password: false resource-id: com.senrysa.parkingplace:id/LoginUserName scrollable: false selected: false xpath: //android.widget.LinearLayout[1]/android.widget.FrameLayout[1]/android.widget.RelativeLayout[1]/android.widget.ScrollView[1]/android.widget.RelativeLayout[1]/android.widget.LinearLayout[2]/android.widget.EditText[1]
I have created partial xpath with attribute text ... i.e. xpath = "//android.widget.EditText[@text='Username']")
but it has not worked.
how can i test my xpath has identified right element on android/iOS native application?
Aucun commentaire:
Enregistrer un commentaire