Test passed but it didn't execute

Hello,

I am trying to run automation test on native app on IOS using Appium Studio. I use real iPhone attached to my computer. I recorded my really simply test using Appium Studio and I run this test. It is not my first test and I know that I should see how the test is executing on my iPhone. But I was really surprise when all steps passed even though nothing happened on my device. If someone had similar experience?

Beata

Hi @Beata

I’m not sure I understand the issue here. Are you saying that the test passed, all steps marked as successful, but the device itself didn’t respond to the commands?

What did you see in the HTML report that Appium Studio generated at the end of the test? Were the steps listed in it?

Did you try to disconnect the device and then connect it again?

Hey @nivi,

The test passed and I had html rapport from Appium Studio that test passed (all steps passed) But I didn’t see on the device that this test did something.

Device was connected in proper way, I saw previous test performed on this device and it was ok. And after this I run different test on the same device and also was ok (test passed but and saw how it performed). And all my tests I run on the same native app, so I am guessing this app is installed in proper way.

Test is simply as possible, it just clicks 4x button Next. My code:
driver.findElement(By.xpath("//*[@class=‘UIButton’]")).click();

Do you know what I can check else to see any error?

Thank you,
Beata

Yes, I also experienced this. Test is performed in background, application that I run tests on was not loaded and visible in the screen.

Hi @beata and @Rada

Sorry for getting back to you only now.

Are you still experiencing issues with tests that are marked as completed although nothing happens on the phone itself? Is it happening only in iOS or in Android as well?

@Rada, you said that the test is performed in the background, what do you see on the screen? Is it the home screen or the lock screen?

Hi Nivi,

Yes, It still happens. I am working on app dedicate for iOS now, so I don’t know how it is in Android.

Hi @Beata

What is the version of your Appium Studio? Did you try to download and install the latest version?

If you are working with the latest version, did you start experiencing this issue after upgrading Appium Studio?

Before running test, open the log folder (Help → Open Logs Folder). Look at the logs to see if you can identify the root cause of this issue.