Testing Automation The XCTest UI is pretty powerful stuff until you need to test the part of the user interface, which presents some data differently. For example, our application stores data in the Documents folder. Setting up this data programmatically in the test is quite painful.
I know that we do not have access to the Documents application folder from the test UI application. I am looking for ideas on how to configure an application to test the user interface. Currently, we have a startup parameter parameter that substantially flushes the contents of the Documents folder. I would like to do this and copy specific files.
It seems to me that this can be done as part of the user interface creation phase, but I'm not sure how to target the simulator selected in the diagram.
source share