Test Cases/test2 FAILED because (of) Unable to start the app at: ‘bs://’ (Root cause: java.lang.IllegalArgumentException: The mobile device is missing. Please select the mobile device to be executed and try again.)
It looks like Katalon is not able to point the App uploaded in browser stack. The same test is working brilliantly in the local emulators.
How do you start that test case? Can you show me your configurations ? Please note that currently BS is supported through only ‘Remote’ execution, so that error message indicates misleading desired capabilities somehow.
As I have said before, you can only execute test cases using ‘Remote’ option for BS, so the only way to ‘handle’ it is passing desired capabilities such as application id.
I’ve found an example here:
So based on this example, you need to use:
1. Use desired capabilities in ‘Remote’ settings from BS
2. Add a key called ‘app’ using provided BS application URL as a value.
3. Execute your test case using ‘Remote’ settings
Hi Vinh, Thanks for the mail. I did try the same steps but not working. From Browserstack a lead engineer is talking to me about this ticket and suggesting few things to try. Also, he confirmed that a new feature should be requested from Browserstack to Katalon to make it work seamlessly.
Could you please talk to Browserstack team on this and Meantime, if you could find me a workaround for this would be a great help.
I spoke to Browser stack on this issue, they have investigated the issue and suggesting that to get a new feature added in Katalon that to support Remote Android and iOS drivers.
Is this something to take a URGENT request to develop a new feature to support this please. It has stopped our work at the moment. We really do not want to go for other tool to develop app automation suite for our project as we are seeing Katalon as a strategic tools for both web and mobile apps automation in our organisation.
I hope you can take this up.
Also, if required you can connect me to your next levels for any more discuss if we want opt for premium support from KMS team on this. I am open for the discussion.
@Hari: I can see that Katalon does not support for integrating with Browserstack at this time.
If you would like to use app automation in BrowserStack via Katalon, you might write the raw text script of Appium or Selenium with supported language as Java, Groovy…
I try with this below guideline and run it by Katalon then it works. But as I said, we have to use the original script of appium/selenium. https://www.browserstack.com/app-automate/appium-java
I did try that as you said writing the original scripts of Appium and running through Katalon. It worked fine. But, it is not that user-friendly as how we write using Kataon API. I still request a new feature to support this.
I have discussed this request with the team. After much thought and consideration, BrowserStack is not our top priority at the moment as only a small number of users requested this. However, the ticket is in the backlog and will be considered for future implementation. In the meantime, please leverage the workaround for this.
Next release of Katalon Studio will be in the next couple of weeks. Stay tuned!