I'm currently writing some UITests for an iOS application. When I get to the point in the application where the user can either take a picture or select one from the camera roll. As far as I know I can't take a photo through the simulator therefore for the UITest I would like to select a photo from the camera roll but I can't get my UITest to click the camera roll option (it doesn't appear in the 'tree' command in REPL).
Is there a way in which I can do this? In order to create a test suite for the application I need to get past this screen.
Any help/pointers much appreciated.