Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5624] Facing issues in locating the UI element in testing tool(Appium) for Appcelerator application.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2018-03-06T21:32:21.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterPrafulla Bansode
AssigneeShak Hossain
Created2018-02-26T15:36:12.000+0000
Updated2018-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

Comments

  1. Mostafizur Rahman 2018-02-27

    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 .
  2. Mostafizur Rahman 2018-03-05

    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
  3. Prafulla Bansode 2018-03-09

    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
  4. Rob Trueman 2018-03-15

    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?
  5. Prafulla Bansode 2018-03-27

    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.
  6. Rob Trueman 2018-03-27

    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.

JSON Source