I am a newbie in android testing. When I run a robotium test case on testdroid it is giving me view not found error on some devices.It is really annoying. Any help?
junit.framework.AssertionFailedError: RecyclerView is not found!
at junit.framework.Assert.fail(Assert.java:50)
at com.robotium.solo.Clicker.clickInRecyclerView(Clicker.java:570)
at com.robotium.solo.Solo.clickInRecyclerView(Solo.java:1788)
Related
I've spend lots of time solving this problem but it didn't work
When I tried to run android emulator in react native by typing react-native run-android
but it didn't work beacause of this error
detail code for error that happened
so I opened react-native doctor to see the problem. cause I already have Android Studio, and the emulator was already running before I typed react-native run-android.
Finally I found my error saying this.
problem on react-native doctor
Is there anyone who can teach me to solve this problem?
I have no idea why the computer can't recognize Android Studio.
so sad..
I have a react native app & a couple of detox test cases for it. I am trying to run these detox tests on iPad without the simulator. Wanted to know if it is possible, if yes then which version of detox supports this. Otherwise is there any other way to achieve it?
TLDR: No, not yet.
There is an open issue for this, and some users have found a way to do it, find it here: https://github.com/wix/detox/issues/95
This comment explains the details on how to get it to work: https://github.com/wix/Detox/issues/95#issuecomment-448365050
I'm running React Native integration tests using Appium and Mocha.
My question is: is it possible to get a code coverage report from the integration tests?
Android Code coverage is used for android with appium. please refer the link below
android Code coverage
I want to generate the code coverage files for our iOS App.
The problem is that when I build the code with the test coverage settings it builds and then the Simulator launches the App. Now I want to run my UIAutomation functional tests, but as soon as I kick off my tests using the instruments command, the Simulator restarts!
For code coverage files to be generated, the App must not restart.
Has anybody found a way yet to use the already running simulator to execute the UIAutomation tests?
You may be able to find some ideas from this previous question
Is there any way to test the code coverage of UIAutomation tests?
I am trying to run OCUnit tests using my iPad but find that Xcode (version 4.3.3) always
gives the message Test Succeeded even if the test actually failed - i.e. the debug console logs the test as failed. If I run exactly the same tests but using the simulator the tests fail as I would expect.
For example I created a new project with the following test:
- (void)testExample
{
STFail(#"This test should fail");
}
When I ran it on iPad Xcode gave the Test Succeeded message:
When I ran it on the simulator Xcode gave me the Test Failed message:
Is it possible to get a Test Failed message running this on an iOS device?
Thank you!
The SenTesting framework is not complete and it does not guarantee to work with devices, But it does work fine with the simulator. In order to run unit test on your device, I recommend you to use this library,
GHUnit
Im not sure exactly what your asking, but the simulator works exactly the same. So be sure to keep the device plugged in to the computer when you are doing these tests. Yes you really do need to rephrase your question, i will be back when you do so.