I am working on iOS native app to automate through appium.
I have table UIATableGroup in which there is UIAStaticText,I want to verify the text written on it but appium is not able to verify by
find_element(:id, my_id).displayed?
just like normal text.I use above syntax to verify UIAStaticText but this time UIAStaticText is inside UIATableGroup.
I want to verify that text employee HISTORY is there,see below for reference,could someone help?
Here is what I see in appium inspector-
for UIATableGroup-
name: employee HISTORY
type: UIATableGroup
value:
label:
enabled: true
visible: false
valid: true
location: {0, 476.5}
size: {375, 44}
xpath: //UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableGroup[11]
for UIAStaticText-
name: employee HISTORY
type: UIAStaticText
value: employee HISTORY
label: employee HISTORY
enabled: true
visible: false
valid: true
location: {16, 492}
size: {143.5, 13.5}
xpath: //UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableGroup[11]/UIAStaticText[1]