I'm sorry to bump this thread. We're stuck with the same issue on iOS.
I'm inspecting a screen with table rows just like the original author postulated.
Expected: The table rows (in this case) with course information is shown.
Actual: No table row information is shown. Only a count (like rows 1 to 4 of 11) where 5-11 are offscreen. See screen shot below.
Appium Version: 1.3.4
Notes:
1. I'm also attaching the JSON that occurs when doing arc
2. It looks like the UIATableCells are set to invisible.
3. Also according to the inspector logs, it seems like the overarching UIATableView is also invisible.
4. When Inquiring this to our development team, the response was:
"in iOS UITableView, cell view is reused, that means only visible cell is useful, all invisible cell could be in incorrect state. You cannot use the data in invisible cell."
Any particulars of objective C setaccessibilityIdentifier logic would be wonderful. Not sure of others have encountered this.
Thanks in advance!
Eric
JSON:
"name":"Document Viewing 101",
"type":"UIATableCell",
"label":null,
"value":"",
"rect":{
"origin":{
"x":0,
"y":182
},
"size":{
"width":320,
"height":86
}
},
"dom":null,
"enabled":true,
"valid":true,
"visible":false,
"children":[
{
"name":"Document Viewing 101",
"type":"UIAStaticText",
"label":"Document Viewing 101",
"value":"Document Viewing 101",
"rect":{
"origin":{
"x":66.5,
"y":196.5
},
"size":{
"width":226.5,
"height":18
}
},
"dom":null,
"enabled":true,
"valid":true,
"visible":false,
"children":[
],
"hint":null
},
Image:
