{ "id": "176150", "key": "AC-6690", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": null, "resolutiondate": null, "created": "2021-04-12T23:32:40.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-04-19T01:17:59.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hey,\r\n\r\nWe am using appium to automate the test process for our titanium app. For Android, everything is good and we are running it pretty smoothly. BUT for ios, we cannot view all the elements in the page. To be specific, anything inside or elements created dynamically with JS are shown as single elements without child, so we cannot access the textfield or anything beneath it. Though it was appium issue but looks like titanium while building the ipa. \r\n\r\nMaybe related to this https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html ?\r\n\r\nFor better understanding, here's 2 page \r\n- #1 Login Page, with no or dynamically generated elements => All good , all elements are visible to appium\r\n !Screen Shot 2021-04-13 at 9 (1).jpg|thumbnail! \r\n\r\n- #2 Dashboard Page, with and dynamically generated elements => Cannot select each elements , everything is grouped as one\r\n !Screen Shot 2021-04-13 at 9 (3).jpg|thumbnail! \r\n\r\nLet me know if you need any more information, just for info, tried building app with 9.3.1.GA, same result \r\n", "attachment": [ { "id": "67868", "filename": "Screen Shot 2021-04-13 at 9 (1).jpg", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-04-12T23:30:31.000+0000", "size": 110116, "mimeType": "image/jpeg" }, { "id": "67867", "filename": "Screen Shot 2021-04-13 at 9 (3).jpg", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-04-12T23:31:45.000+0000", "size": 117538, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Unable to view all elements in IOS for APPIUM testing", "creator": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.15.7\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 17179869184\r\n\r\nNode.js\r\n Node.js Version = 10.15.3\r\n npm Version = 6.4.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.2\r\n\r\nTitanium SDK\r\n SDK Version = 8.3.1.GA\r\n SDK Path = .../Titanium/mobilesdk/osx/8.3.1.GA\r\n Target Platform = iphone", "comment": { "comments": [ { "id": "458586", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Are you setting the \"accessibilityLabel\" property on your {{TextField}}?\r\n\r\nFor example, if you set the accessibility label to \"TextField1\", then the XPath to it will be this...\r\n{code}\r\n//XCUIElementTypeTextField[@name=\"TextField1.\"]\r\n{code}\r\n\r\nI haven't used Appium before, but I know we use it internally to test the Titanium SDK and one of our tests accesses a TextField within a TableView.\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-04-14T22:31:37.000+0000", "updated": "2021-04-14T22:31:37.000+0000" }, { "id": "458595", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes we do have accessibilityLabel set, tbh even if we dont set it, you should atleast be able to view individual element (ofcouse without the label). As in the screenshots above, those are shown fine in login page, but if I say wrap those inside a , all the elmeents would then be hidden under 1 elements and we cant do anything.", "updateAuthor": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-04-19T01:17:59.000+0000", "updated": "2021-04-19T01:17:59.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }