XCUITest: Issue with TableViewSection header after scroll

Hi,


I am having a small app with 8 sections and 2 rows per section. I have section header created using viewForHeaderInSection which consists of a UIView and a textlabel. I have enabled accessibility on all the elements.


I was writing a UI test care where a user taps on first section header --> Swipe up the table (section 1 became invisible)--> taps on 2nd section header --> Swipe Down the table(section 1 became visible) --> taps on 1st sesction header again. Here is the last part I am getting an execption saying that the element with the particulr accessibilityId is not found.


In a nutshell, once section header moves up and goes invisible and later comes back, the accessibility Id of the label is not being retained. I am pasting the element tree here, see the bolded lines.


Before I swipe up, my section header has label with statictext element, after swipe down, that element becomes other with all info lost. Is this a bug? Any pointers


Test Suite 'Selected tests' started at 2018-07-30 23:03:52.383

Test Suite 'TableViewTestUITests.xctest' started at 2018-07-30 23:03:52.385

Test Suite 'TableViewTestUITests' started at 2018-07-30 23:03:52.386

Test Case '-[TableViewTestUITests.TableViewTestUITests testExample]' started.

t = 0.00s Start Test at 2018-07-30 23:03:52.389

t = 0.12s Set Up

t = 0.13s Open com.john.TableViewTest

t = 0.23s Launch com.john.TableViewTest

t = 3.37s Wait for com.john.TableViewTest to idle

++++++++++++++++++++++++++BEFORE SWIPE UP+++++++++++++++++++++++

t = 7.53s Snapshot accessibility hierarchy for app with pid 2504

t = 7.63s Snapshot accessibility hierarchy for app with pid 2504

Attributes: Application, 0x60400019c2f0, pid: 2504, {{0.0, 0.0}, {414.0, 736.0}}, label: 'TableViewTest'

Element subtree:

→Application, 0x60400019c2f0, pid: 2504, {{0.0, 0.0}, {414.0, 736.0}}, label: 'TableViewTest'

Window, 0x60400019bee0, Main Window, {{0.0, 0.0}, {414.0, 736.0}}

Other, 0x60400019bd40, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}

Table, 0x60400019bba0, traits: 35192962023424, {{0.0, 32.0}, {414.0, 704.0}}

Other, 0x60400019c150, traits: 8589934592, {{0.0, 32.0}, {414.0, 28.0}}, identifier: 'View_id Section 0)'

StaticText, 0x60400019c490, traits: 8590000192, {{10.0, 32.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 0', label: 'Section Heading'

Cell, 0x60400019c630, traits: 8589934592, {{0.0, 60.0}, {414.0, 44.0}}

StaticText, 0x60400019c700, traits: 8589934656, {{20.0, 60.0}, {374.0, 43.7}}, label: 'Cell 0 - 0'

Other, 0x60400019c7d0, traits: 8589934592, {{15.0, 103.5}, {360.0, 0.5}}

Other, 0x60400019c8a0, traits: 8589934592, {{20.0, 103.7}, {394.0, 0.3}}

Cell, 0x60400019c970, traits: 8589934592, {{0.0, 104.0}, {414.0, 44.0}}

StaticText, 0x60400019ca40, traits: 8589934656, {{20.0, 104.0}, {374.0, 43.7}}, label: 'Cell 0 - 1'

Other, 0x60400019cb10, traits: 8589934592, {{15.0, 147.5}, {360.0, 0.5}}

Other, 0x60400019cbe0, traits: 8589934592, {{0.0, 147.7}, {414.0, 0.3}}

Other, 0x60400019ccb0, traits: 8589934592, {{0.0, 148.0}, {414.0, 28.0}}, identifier: 'View_id Section 1)'

StaticText, 0x60400019cd80, traits: 8590000192, {{10.0, 148.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 1', label: 'Section Heading'

Cell, 0x60400019ce50, traits: 8589934592, {{0.0, 176.0}, {414.0, 44.0}}

StaticText, 0x60400019cf20, traits: 8589934656, {{20.0, 176.0}, {374.0, 43.7}}, label: 'Cell 1 - 0'

Other, 0x60400019cff0, traits: 8589934592, {{15.0, 219.5}, {360.0, 0.5}}

Other, 0x60400019d0c0, traits: 8589934592, {{20.0, 219.7}, {394.0, 0.3}}

Cell, 0x60400019d190, traits: 8589934592, {{0.0, 220.0}, {414.0, 44.0}}

StaticText, 0x60400019d260, traits: 8589934656, {{20.0, 220.0}, {374.0, 43.7}}, label: 'Cell 1 - 1'

Other, 0x60400019d330, traits: 8589934592, {{15.0, 263.5}, {360.0, 0.5}}

Other, 0x60400019d400, traits: 8589934592, {{0.0, 263.7}, {414.0, 0.3}}

Other, 0x60400019d4d0, traits: 8589934592, {{0.0, 264.0}, {414.0, 28.0}}, identifier: 'View_id Section 2)'

StaticText, 0x60400019d5a0, traits: 8590000192, {{10.0, 264.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 2', label: 'Section Heading'

Cell, 0x60400019d670, traits: 8589934592, {{0.0, 292.0}, {414.0, 44.0}}

StaticText, 0x60400019d740, traits: 8589934656, {{20.0, 292.0}, {374.0, 43.7}}, label: 'Cell 2 - 0'

Other, 0x60400019d810, traits: 8589934592, {{15.0, 335.5}, {360.0, 0.5}}

Other, 0x60400019d8e0, traits: 8589934592, {{20.0, 335.7}, {394.0, 0.3}}

Cell, 0x60400019d9b0, traits: 8589934592, {{0.0, 336.0}, {414.0, 44.0}}

StaticText, 0x60400019da80, traits: 8589934656, {{20.0, 336.0}, {374.0, 43.7}}, label: 'Cell 2 - 1'

Other, 0x60400019db50, traits: 8589934592, {{15.0, 379.5}, {360.0, 0.5}}

Other, 0x60400019dc20, traits: 8589934592, {{0.0, 379.7}, {414.0, 0.3}}

Other, 0x60400019dcf0, traits: 8589934592, {{0.0, 380.0}, {414.0, 28.0}}, identifier: 'View_id Section 3)'

StaticText, 0x60400019ddc0, traits: 8590000192, {{10.0, 380.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 3', label: 'Section Heading'

Cell, 0x60400019de90, traits: 8589934592, {{0.0, 408.0}, {414.0, 44.0}}

StaticText, 0x60400019df60, traits: 8589934656, {{20.0, 408.0}, {374.0, 43.7}}, label: 'Cell 3 - 0'

Other, 0x60400019e030, traits: 8589934592, {{15.0, 451.5}, {360.0, 0.5}}

Other, 0x60400019e100, traits: 8589934592, {{20.0, 451.7}, {394.0, 0.3}}

Cell, 0x60400019e1d0, traits: 8589934592, {{0.0, 452.0}, {414.0, 44.0}}

StaticText, 0x60400019e2a0, traits: 8589934656, {{20.0, 452.0}, {374.0, 43.7}}, label: 'Cell 3 - 1'

Other, 0x60400019e370, traits: 8589934592, {{15.0, 495.5}, {360.0, 0.5}}

Other, 0x60400019e440, traits: 8589934592, {{0.0, 495.7}, {414.0, 0.3}}

Other, 0x60400019e510, traits: 8589934592, {{0.0, 496.0}, {414.0, 28.0}}, identifier: 'View_id Section 4)'

StaticText, 0x60400019e5e0, traits: 8590000192, {{10.0, 496.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 4', label: 'Section Heading'

Cell, 0x60400019e6b0, traits: 8589934592, {{0.0, 524.0}, {414.0, 44.0}}

StaticText, 0x60400019e780, traits: 8589934656, {{20.0, 524.0}, {374.0, 43.7}}, label: 'Cell 4 - 0'

Other, 0x60400019e850, traits: 8589934592, {{15.0, 567.5}, {360.0, 0.5}}

Other, 0x60400019e920, traits: 8589934592, {{20.0, 567.7}, {394.0, 0.3}}

Cell, 0x60400019e9f0, traits: 8589934592, {{0.0, 568.0}, {414.0, 44.0}}

StaticText, 0x60400019eac0, traits: 8589934656, {{20.0, 568.0}, {374.0, 43.7}}, label: 'Cell 4 - 1'

Other, 0x60400019eb90, traits: 8589934592, {{15.0, 611.5}, {360.0, 0.5}}

Other, 0x60400019ec60, traits: 8589934592, {{0.0, 611.7}, {414.0, 0.3}}

Other, 0x60400019ed30, traits: 8589934592, {{0.0, 612.0}, {414.0, 28.0}}, identifier: 'View_id Section 5)'

StaticText, 0x60400019ee00, traits: 8590000192, {{10.0, 612.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 5', label: 'Section Heading'

Cell, 0x60400019eed0, traits: 8589934592, {{0.0, 640.0}, {414.0, 44.0}}

StaticText, 0x60400019efa0, traits: 8589934656, {{20.0, 640.0}, {374.0, 43.7}}, label: 'Cell 5 - 0'

Other, 0x60400019f070, traits: 8589934592, {{15.0, 683.5}, {360.0, 0.5}}

Other, 0x60400019f140, traits: 8589934592, {{20.0, 683.7}, {394.0, 0.3}}

Cell, 0x60400019f2e0, traits: 8589934592, {{0.0, 684.0}, {414.0, 44.0}}

StaticText, 0x60400019f3b0, traits: 8589934656, {{20.0, 684.0}, {374.0, 43.7}}, label: 'Cell 5 - 1'

Other, 0x60400019f480, traits: 8589934592, {{15.0, 727.5}, {360.0, 0.5}}

Other, 0x60400019f550, traits: 8589934592, {{0.0, 727.7}, {414.0, 0.3}}

Other, 0x60400019f620, traits: 8589934592, {{0.0, 728.0}, {414.0, 28.0}}, identifier: 'View_id Section 6)'

StaticText, 0x60400019f6f0, traits: 8590000192, {{10.0, 728.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 6', label: 'Section Heading'

Cell, 0x60400019f7c0, traits: 8589934592, {{0.0, 756.0}, {414.0, 44.0}}

Other, 0x60400019f890, traits: 8589934592, {{0.0, 32.0}, {360.0, 0.5}}

Other, 0x60400019f960, traits: 8589934592, {{0.0, 32.0}, {394.0, 0.3}}

StaticText, 0x60400019fa30, traits: 8589934656, {{0.0, 32.0}, {374.0, 43.7}}, label: 'Cell 6 - 0'

Cell, 0x60400019fb00, traits: 8589934592, {{0.0, 800.0}, {414.0, 44.0}}

Other, 0x60400019fbd0, traits: 8589934592, {{0.0, 32.0}, {360.0, 0.5}}

Other, 0x60400019fca0, traits: 8589934592, {{0.0, 32.0}, {414.0, 0.3}}

StaticText, 0x60400019fd70, traits: 8589934656, {{0.0, 32.0}, {374.0, 43.7}}, label: 'Cell 6 - 1'

Other, 0x60400019fe40, traits: 8589934592, {{0.0, 844.0}, {414.0, 28.0}}, identifier: 'View_id Section 7)'

Other, 0x60400019ff10, traits: 8589934592, {{0.0, 844.0}, {414.0, 28.0}}, identifier: 'Accessibility_label_id Section - 7'

Cell, 0x604000380000, traits: 8589934592, {{0.0, 872.0}, {414.0, 44.0}}

Other, 0x6040003800d0, traits: 8589934592, {{0.0, 32.0}, {360.0, 0.5}}

Other, 0x600000184d30, traits: 8589934592, {{0.0, 32.0}, {394.0, 0.3}}

StaticText, 0x600000185e40, traits: 8589934656, {{0.0, 32.0}, {374.0, 43.7}}, label: 'Cell 7 - 0'

Cell, 0x600000185a30, traits: 8589934592, {{0.0, 916.0}, {414.0, 44.0}}

Other, 0x600000185b00, traits: 8589934592, {{0.0, 32.0}, {360.0, 0.5}}

Other, 0x600000187f90, traits: 8589934592, {{0.0, 32.0}, {394.0, 0.3}}

StaticText, 0x600000187df0, traits: 8589934656, {{0.0, 32.0}, {374.0, 43.7}}, label: 'Cell 7 - 1'

Window, 0x600000187c50, {{0.0, 0.0}, {414.0, 736.0}}

StatusBar, 0x600000187b80, {{0.0, 0.0}, {414.0, 20.0}}

Other, 0x600000187ab0, {{0.0, 0.0}, {414.0, 20.0}}

Other, 0x6000001879e0, {{0.0, 0.0}, {414.0, 20.0}}

Other, 0x600000187910, traits: 8388608, {{6.0, 0.0}, {39.0, 20.0}}

Other, 0x600000187840, traits: 8388608, {{50.0, 0.0}, {14.0, 20.0}}, label: '3 of 3 Wi-Fi bars', value: SSID

Other, 0x600000187770, traits: 8389120, {{182.0, 0.0}, {54.0, 20.0}}, label: '11:03 PM'

Other, 0x6000001876a0, traits: 8388608, {{383.0, 0.0}, {26.0, 20.0}}, label: '39% battery power'

Path to element:

→Application, 0x60400019c2f0, pid: 2504, {{0.0, 0.0}, {414.0, 736.0}}, label: 'TableViewTest'

Query chain:

→Find: Target Application 0x6000002c8490

Output: {

Application, 0x60400019c2f0, pid: 2504, {{0.0, 0.0}, {414.0, 736.0}}, label: 'TableViewTest'

}


t = 7.70s Tap "Accessibility_label_id Section - 0" StaticText

t = 7.70s Wait for com.john.TableViewTest to idle

t = 7.75s Find the "Accessibility_label_id Section - 0" StaticText

t = 7.90s Synthesize event

t = 8.02s Wait for com.john.TableViewTest to idle

t = 8.07s Swipe up Table

t = 8.07s Wait for com.john.TableViewTest to idle

t = 8.13s Find the Table

t = 8.27s Synthesize event

t = 8.54s Wait for com.john.TableViewTest to idle

t = 9.24s Tap "Accessibility_label_id Section - 3" StaticText

t = 9.24s Wait for com.john.TableViewTest to idle

t = 9.49s Find the "Accessibility_label_id Section - 3" StaticText

t = 9.65s Synthesize event

t = 9.75s Wait for com.john.TableViewTest to idle

t = 9.81s Swipe down "Accessibility_label_id Section - 3" StaticText

t = 9.81s Wait for com.john.TableViewTest to idle

t = 9.86s Find the "Accessibility_label_id Section - 3" StaticText

t = 10.00s Synthesize event

t = 10.10s Wait for com.john.TableViewTest to idle

t = 10.15s Swipe down Table

t = 10.15s Wait for com.john.TableViewTest to idle

t = 10.20s Find the Table

t = 10.34s Synthesize event

t = 10.62s Wait for com.john.TableViewTest to idle

++++++++++++++++++++++++++++AFTER SWIPE DOWN++++++++++++++++++++++

t = 11.32s Snapshot accessibility hierarchy for app with pid 2504

t = 11.39s Snapshot accessibility hierarchy for app with pid 2504

Attributes: Application, 0x600000188d60, pid: 2504, {{0.0, 0.0}, {414.0, 736.0}}, label: 'TableViewTest'

Element subtree:

→Application, 0x600000188d60, pid: 2504, {{0.0, 0.0}, {414.0, 736.0}}, label: 'TableViewTest'

Window, 0x6000001875d0, Main Window, {{0.0, 0.0}, {414.0, 736.0}}

Other, 0x600000188c90, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}

Table, 0x600000188e30, traits: 35192962023424, {{0.0, 32.0}, {414.0, 704.0}}

Other, 0x600000188f00, traits: 8589934592, {{0.0, 32.0}, {414.0, 28.0}}, identifier: 'View_id Section 0)'

Other, 0x600000188fd0, traits: 8589934592, {{0.0, 32.0}, {414.0, 28.0}}

Cell, 0x6000001890a0, traits: 8589934592, {{0.0, 60.0}, {414.0, 44.0}}

StaticText, 0x600000189170, traits: 8589934656, {{20.0, 60.0}, {374.0, 43.7}}, label: 'Cell 0 - 0'

Other, 0x600000189240, traits: 8589934592, {{15.0, 103.5}, {360.0, 0.5}}

Other, 0x600000189310, traits: 8589934592, {{20.0, 103.7}, {394.0, 0.3}}

Cell, 0x6000001893e0, traits: 8589934592, {{0.0, 104.0}, {414.0, 44.0}}

StaticText, 0x6000001894b0, traits: 8589934656, {{20.0, 104.0}, {374.0, 43.7}}, label: 'Cell 0 - 1'

Other, 0x600000189580, traits: 8589934592, {{0.0, 147.7}, {414.0, 0.3}}

Other, 0x600000189650, traits: 8589934592, {{15.0, 147.5}, {360.0, 0.5}}

Other, 0x600000189720, traits: 8589934592, {{0.0, 148.0}, {414.0, 28.0}}, identifier: 'View_id Section 1)'

Other, 0x6000001897f0, traits: 8590000128, {{10.0, 148.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 1', label: 'Section Heading'

Cell, 0x6000001898c0, traits: 8589934592, {{0.0, 176.0}, {414.0, 44.0}}

Other, 0x600000189990, traits: 8589934592, {{15.0, 219.5}, {360.0, 0.5}}

StaticText, 0x600000189a60, traits: 8589934656, {{20.0, 176.0}, {374.0, 43.7}}, label: 'Cell 1 - 0'

Other, 0x600000189b30, traits: 8589934592, {{20.0, 219.7}, {394.0, 0.3}}

Cell, 0x600000189c00, traits: 8589934592, {{0.0, 220.0}, {414.0, 44.0}}

Other, 0x600000189cd0, traits: 8589934592, {{0.0, 263.7}, {414.0, 0.3}}

Other, 0x600000189da0, traits: 8589934592, {{15.0, 263.5}, {360.0, 0.5}}

StaticText, 0x600000189e70, traits: 8589934656, {{20.0, 220.0}, {374.0, 43.7}}, label: 'Cell 1 - 1'

Other, 0x600000189f40, traits: 8589934592, {{0.0, 264.0}, {414.0, 28.0}}, identifier: 'View_id Section 2)'

StaticText, 0x60000018a010, traits: 8590000192, {{10.0, 264.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 2', label: 'Section Heading'

Cell, 0x60000018a0e0, traits: 8589934592, {{0.0, 292.0}, {414.0, 44.0}}

Other, 0x60000018a1b0, traits: 8589934592, {{15.0, 335.5}, {360.0, 0.5}}

StaticText, 0x60000018a280, traits: 8589934656, {{20.0, 292.0}, {374.0, 43.7}}, label: 'Cell 2 - 0'

Other, 0x60000018a350, traits: 8589934592, {{20.0, 335.7}, {394.0, 0.3}}

Cell, 0x60000018a420, traits: 8589934592, {{0.0, 336.0}, {414.0, 44.0}}

Other, 0x60000018a4f0, traits: 8589934592, {{0.0, 379.7}, {414.0, 0.3}}

Other, 0x60000018a5c0, traits: 8589934592, {{15.0, 379.5}, {360.0, 0.5}}

StaticText, 0x60000018a690, traits: 8589934656, {{20.0, 336.0}, {374.0, 43.7}}, label: 'Cell 2 - 1'

Other, 0x60000018a760, traits: 8589934592, {{0.0, 380.0}, {414.0, 28.0}}, identifier: 'View_id Section 3)'

StaticText, 0x60000018a830, traits: 8590000192, {{10.0, 380.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 3', label: 'Section Heading'

Cell, 0x60000018a900, traits: 8589934592, {{0.0, 408.0}, {414.0, 44.0}}

Other, 0x60000018a9d0, traits: 8589934592, {{15.0, 451.5}, {360.0, 0.5}}

StaticText, 0x60000018aaa0, traits: 8589934656, {{20.0, 408.0}, {374.0, 43.7}}, label: 'Cell 3 - 0'

Other, 0x60000018ab70, traits: 8589934592, {{20.0, 451.7}, {394.0, 0.3}}

Cell, 0x60000018ac40, traits: 8589934592, {{0.0, 452.0}, {414.0, 44.0}}

Other, 0x60000018ad10, traits: 8589934592, {{0.0, 495.7}, {414.0, 0.3}}

Other, 0x60000018ade0, traits: 8589934592, {{15.0, 495.5}, {360.0, 0.5}}

StaticText, 0x60000018aeb0, traits: 8589934656, {{20.0, 452.0}, {374.0, 43.7}}, label: 'Cell 3 - 1'

Other, 0x60000018af80, traits: 8589934592, {{0.0, 496.0}, {414.0, 28.0}}, identifier: 'View_id Section 4)'

StaticText, 0x60000018b050, traits: 8590000192, {{10.0, 496.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 4', label: 'Section Heading'

Cell, 0x60000018b120, traits: 8589934592, {{0.0, 524.0}, {414.0, 44.0}}

Other, 0x60000018b1f0, traits: 8589934592, {{15.0, 567.5}, {360.0, 0.5}}

StaticText, 0x60000018b2c0, traits: 8589934656, {{20.0, 524.0}, {374.0, 43.7}}, label: 'Cell 4 - 0'

Other, 0x60000018b390, traits: 8589934592, {{20.0, 567.7}, {394.0, 0.3}}

Cell, 0x60000018b460, traits: 8589934592, {{0.0, 568.0}, {414.0, 44.0}}

Other, 0x60000018b530, traits: 8589934592, {{0.0, 611.7}, {414.0, 0.3}}

Other, 0x60000018b600, traits: 8589934592, {{15.0, 611.5}, {360.0, 0.5}}

StaticText, 0x60000018b6d0, traits: 8589934656, {{20.0, 568.0}, {374.0, 43.7}}, label: 'Cell 4 - 1'

Other, 0x60000018b7a0, traits: 8589934592, {{0.0, 612.0}, {414.0, 28.0}}, identifier: 'View_id Section 5)'

StaticText, 0x60000018b870, traits: 8590000192, {{10.0, 612.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 5', label: 'Section Heading'

Cell, 0x60000018b940, traits: 8589934592, {{0.0, 640.0}, {414.0, 44.0}}

Other, 0x60000018ba10, traits: 8589934592, {{15.0, 683.5}, {360.0, 0.5}}

StaticText, 0x60000018bae0, traits: 8589934656, {{20.0, 640.0}, {374.0, 43.7}}, label: 'Cell 5 - 0'

Other, 0x60000018bbb0, traits: 8589934592, {{20.0, 683.7}, {394.0, 0.3}}

Cell, 0x60000018bd50, traits: 8589934592, {{0.0, 684.0}, {414.0, 44.0}}

Other, 0x60000018be20, traits: 8589934592, {{0.0, 727.7}, {414.0, 0.3}}

Other, 0x60000018bef0, traits: 8589934592, {{15.0, 727.5}, {360.0, 0.5}}

StaticText, 0x60000018bfc0, traits: 8589934656, {{20.0, 684.0}, {374.0, 43.7}}, label: 'Cell 5 - 1'

Other, 0x60000018c090, traits: 8589934592, {{0.0, 728.0}, {414.0, 28.0}}, identifier: 'View_id Section 6)'

Other, 0x60000018c160, traits: 8590000128, {{10.0, 728.0}, {314.0, 25.0}}, identifier: 'Accessibility_label_id Section - 6', label: 'Section Heading'

Cell, 0x60000018c230, traits: 8589934592, {{0.0, 756.0}, {414.0, 44.0}}

Other, 0x60000018c300, traits: 8589934592, {{0.0, 32.0}, {360.0, 0.5}}

StaticText, 0x60000018c3d0, traits: 8589934656, {{0.0, 32.0}, {374.0, 43.7}}, label: 'Cell 6 - 0'

Other, 0x60000018c4a0, traits: 8589934592, {{0.0, 32.0}, {394.0, 0.3}}

Cell, 0x60000018c570, traits: 8589934592, {{0.0, 800.0}, {414.0, 44.0}}

Other, 0x60000018c640, traits: 8589934592, {{0.0, 32.0}, {394.0, 0.3}}

Other, 0x60000018c710, traits: 8589934592, {{0.0, 32.0}, {360.0, 0.5}}

StaticText, 0x60000018c7e0, traits: 8589934656, {{0.0, 32.0}, {374.0, 43.7}}, label: 'Cell 6 - 1'

Other, 0x60000018c8b0, traits: 8589934592, {{0.0, 844.0}, {414.0, 28.0}}, identifier: 'View_id Section 7)'

Other, 0x60000018c980, traits: 8589934592, {{0.0, 844.0}, {414.0, 28.0}}

Cell, 0x60000018ca50, traits: 8589934592, {{0.0, 872.0}, {414.0, 44.0}}

Other, 0x60000018cb20, traits: 8589934592, {{0.0, 32.0}, {360.0, 0.5}}

Other, 0x60000018cbf0, traits: 8589934592, {{0.0, 32.0}, {394.0, 0.3}}

StaticText, 0x60000018ccc0, traits: 8589934656, {{0.0, 32.0}, {374.0, 43.7}}, label: 'Cell 6 - 0'

Cell, 0x60000018cd90, traits: 8589934592, {{0.0, 916.0}, {414.0, 44.0}}

Other, 0x60000018ce60, traits: 8589934592, {{0.0, 32.0}, {360.0, 0.5}}

Other, 0x60000018cf30, traits: 8589934592, {{0.0, 32.0}, {394.0, 0.3}}

StaticText, 0x60000018d000, traits: 8589934656, {{0.0, 32.0}, {374.0, 43.7}}, label: 'Cell 6 - 1'

Window, 0x60000018d1a0, {{0.0, 0.0}, {414.0, 736.0}}

Other, 0x60000018d270, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}

Other, 0x60000018d340, traits: 8589934592, {{0.0, 736.0}, {414.0, 226.0}}

Window, 0x60000018d410, {{0.0, 0.0}, {414.0, 736.0}}

StatusBar, 0x60000018d4e0, {{0.0, 0.0}, {414.0, 20.0}}

Other, 0x60000018d5b0, {{0.0, 0.0}, {414.0, 20.0}}

Other, 0x60000018d680, {{0.0, 0.0}, {414.0, 20.0}}

Other, 0x60000018d750, traits: 8388608, {{6.0, 0.0}, {39.0, 20.0}}

Other, 0x60000018d820, traits: 8388608, {{50.0, 0.0}, {14.0, 20.0}}, label: '3 of 3 Wi-Fi bars', value: SSID

Other, 0x60000018d8f0, traits: 8389120, {{182.0, 0.0}, {54.0, 20.0}}, label: '11:04 PM'

Other, 0x60000018d9c0, traits: 8388608, {{383.0, 0.0}, {26.0, 20.0}}, label: '39% battery power'

Path to element:

→Application, 0x600000188d60, pid: 2504, {{0.0, 0.0}, {414.0, 736.0}}, label: 'TableViewTest'

Query chain:

→Find: Target Application 0x6000002c8490

Output: {

Application, 0x600000188d60, pid: 2504, {{0.0, 0.0}, {414.0, 736.0}}, label: 'TableViewTest'

}


(lldb)

Replies

Any pointers?

I know this is old, but I am getting the same issue. I am on XCode 11 and iOS 13.

We're you able to resolve this? If anyone else has any tips, that would be great.