iOS: Getting specific attributes from custom TableCellView
Posted: Mon Sep 30, 2013 7:20 am
In our iOS app we have a TableUIView element which display files and folders. The table consists of custom FileTableViewCell-objects (derived from UITableViewCell).
The FileTableViewCell inerhits a FileNode-object which holds all relavant information about the file like creationTime, lastWriteTime, path, parentNodeId, isFolder.
We have the same implementation in an JavaClient-Application and I can get the attributes with the following code example:
When I use ViewSpy at the JavaClient-Application I could see all the attributes in the detailed browser and result view.
I tried to get the attributes from our iOS-App in the same way but i couldn't get them and I couldn't find the attributes with the ViewSpy
Is there a possibility in iOS-testing to get at these attributes?
Thank you.
Regards,
Jörg
The FileTableViewCell inerhits a FileNode-object which holds all relavant information about the file like creationTime, lastWriteTime, path, parentNodeId, isFolder.
We have the same implementation in an JavaClient-Application and I can get the attributes with the following code example:
Code: Select all
Element outElement;
if( Host.Local.Element.TryFindSingle(repo.MyFiles.dynElement.GetPath(), out outElement))
{
if(!Convert.ToBoolean(outElement.GetAttributeValue("isfolder")))
{
Report.Info("The given Element is a folder!");
}
}
I tried to get the attributes from our iOS-App in the same way but i couldn't get them and I couldn't find the attributes with the ViewSpy
Is there a possibility in iOS-testing to get at these attributes?
Thank you.
Regards,
Jörg