[AC-5624] Facing issues in locating the UI element in testing tool(Appium) for Appcelerator application.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2018-03-06T21:32:21.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Prafulla Bansode |
Assignee | Shak Hossain |
Created | 2018-02-26T15:36:12.000+0000 |
Updated | 2018-03-27T13:23:34.000+0000 |
Description
We are using Appium tool in our test automation process.
In Appium, we only get the "Absolute xPath" but it changes frequently.
So, we need "relative xPath" (eg. name, content-desc or resource-id) to locate the UI elements on the screen.
*Steps to reproduce:*
1. Create an Appcelerator application.
2. Create a view and assign Id to that view.
3. Inspect that view using Appium test automation tool.
*Actual result*
Not getting the name or content-desc in Appium
*Expected result*
We need to get the name, content-desc or resource-id property
index.xml
Hello [~pbansode], Thanks for sharing with us. Can you please try using the latest SDK 7.0.2.GA and let us know if the issue occurs in the latest SDK .
Hello [~pbansode], Just passing a followup here.Are you able to get that sorted out? Please let us know if you need more help with this issue. Regards Axway Appcelerator Support
Hi Mostafizur, I used the SDK 7.0.2.GA to create an application, but this issue is still there in SDK 7.0.2.GA
Did this ever work? We're just starting out with Appium and looking for the same fields to automate our testing. Was this implemented in another SDK?
We have created application using titanium SDK 5.4.0.GA, 6.3.0.GA and 7.0.2.GA. But, it didn't work on any of these SDK.
We're very new to Appium, and struggled with finding the controls as well. We are using accessibilityLabel and, while not perfect, gives my QA staff enough to get to a control.