Hi guys,
recently I've been investigating new UI Testing in Xcode7. There seems to be limited APIs we can call direct in UI test.
Can I include header files and call public API of my tested app in UI Test? so that I can have more flexibility to set my app status before running test.
I intent to call API method "-(void)reloadURL:(NSURL *)url" of my app in UI Test, but test failed with "XCTRunner -[_XCTRunnerAppDelegate myAppDelegateUtils]: unrecoginzed selector sent to instance 0x7cf0a992fe10"
In Unit Test we can call any API of the tested app, does it support in UI Testing too? I'm a start learner of Xcode and its testing...could anyone help to answer this question? Thanks!