I am using the SenTestingKit to Unit Test, but I get the following message
Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
How can I do this?
I am using the SenTestingKit to Unit Test, but I get the following message
Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
How can I do this?
Logic tests only work on the simulator, you need to switch to the simulator, i.e.
Logic tests require a special unit test launcher which is not installed on actual devices.
If you want to run your tests on an actual device you can convert to application unit tests. These are essentially the same but you application gets launched first (as a 'host') and your tests get run along side them. This means your tests can run on any device that your application supports. The only disadvantage is that your actual app will be running which can interfere with your test, especially if you use a lot of notifications.
You need to have a Host Application
we have to build and test our project in cxode only through webdriverAgrentRunner. select real device : webdriverAgentRuuner>>device name
If you are asking this question for Automation testing then "YES, you have to change the WebDriverAgentRunner to a Real device and run the test again". The error will be disappeared