javascript - UIAutomation, UITableView inside UITableViewCell -


i have horribly coded set of controllers unable refactor @ time. need bring them under automated testing, have run issue uiautomation tool.

these controllers dynamically generated. there many ways decided best if made tableview containing cells each contain more tableviews, containing cells user see , interact with.

a simple example of 1 of these controllers follows:

enter image description here

i need press 1 of table view cells automagically.

after struggling view hierarchy issues, managed logelementtree see of cells, correct accessibility identifiers. here result:

enter image description here

now test can press 1 of buttons script...

help

nope. can't seem drill down elements though logtree shows exist , visible.

any ideas welcome. i'm not experienced javascript missing obvious. thanks!

to answer own question , helpful engineer @ wwdc:

target.frontmostapp().mainwindow().tableviews()[0].cells()[0].tableviews()[0].cells()["open"].tap(); 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -