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