Appium automation on Android Hybrid app - using resourceId finding issue

52 views
Skip to first unread message

LACHU LAC

unread,
Aug 17, 2017, 1:13:49 AM8/17/17
to appium-developers
I am facing issue on Appium  Android Hybrid app(HTML page) while take resource Id.

Using resourceId setting value in second field of first row,always getting an error "**element not available**" (what i observe it while selecting second field ,control position is moved first field of row)

**Note: if setting the value with one control with each row always working fine**


This is my code to take the resource Id :   

   

    driver.findElementByAndroidUIAutomator("new UiSelector().resourceId(\"txtSecondName\")").click();
    driver.findElementByAndroidUIAutomator("new UiSelector().resourceId(\"txtSecondName\")").sendKeys("Sam");
    

Please find by Software infos

Appium Version : 1.4.16
OS : Windows 10

**Testing Device**
Android Tablet
OS: Android 5.0.2
Device: Samsung -Galaxy Tab 4 (SM-T531)
UIAutomator viewer (or) Android Device Monitor Version: 25.2.2 (for using to find elements(resourceID)) 

LACHU LAC

unread,
Aug 17, 2017, 8:06:58 AM8/17/17
to appium-developers

I'm facing an issue while selecting a resource id using ui automator viewer with appium(1.4.16) server and eclipse.

I cant get proper position while considered a two field in same form of hybrid apk.

Note: If select the 2nd field of row, it locates first field of row...

appiumversion.png

Jonathan Lipps

unread,
Aug 17, 2017, 7:22:20 PM8/17/17
to appium-d...@googlegroups.com
This mailing list is for the discussion of Appium's development, not for reporting issues. Please go to https://github.com/appium/appium/issues and report it there.

-Jonathan

--
You received this message because you are subscribed to the Google Groups "appium-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-developers+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/appium-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/appium-developers/ee969658-1f83-4936-8e54-03c85c86e857%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages