I have an iPhone application that has a search box and UITableView with custom UITableViewCells. This Table Loaded with search results after user enter a search word and tap search. I need to test the search results with MonkeyTalk. (using MonkeyTalk script or JavaScript version of it). I want to retrieve/verify that 2nd Label of first CustomUITableViewCell contains the search text without selecting the cell.
So far I'm able to get number of items of the each table section using
var count = app.table().get("count", "size(sectionNo)"); //java script version
and I'm able to retrieve title or detail text of default UITableViewCells successfully with
var data = app.table().get("data","item(CellNo)"); //java script version
Table * Verify "searchTerm" item(CellNo) #monkey script version
I want to Know How I do the same with custom UITableViewCell ?
MonkeyTalk Table properties reference: