Hi there!
I am trying to automate a flow which goes through Web → Mobile → Web. To handle this, I used Test Suite Collection. But, it runs perfectly during Web automation, but when it is turn to act on Mobile, it fails to launch Appium server. I tried both Test Suites one by one, without Test Suite Collection, they works well.
As a solution, I added extra delays between web and mobile suite executions, I killed WebDriver before starting Mobilie automation, but it still fails in Test Suite Collection.
Any idea, how can I do this. Our application flow goes like, create user on Web, User can login on mobile app only, user performs some action, Go back to web and validate actions taken by user on mobile.
I tried with sequential mode, 35 seconds delay between both test suites, it still failed. Adding 180 seconds delay within a flow doesn’t look good. Still I’ll try. Thanks.
Checked the logs. Didn’t find any specific difference, but in failed cases, it shows ‘Unable to start Appium Server’. additional. In successessful cases, it showed all steps executed.
Yes. If I even execute Web Test suite, and then Mobile Test suite alone, they both pass. But when I put them in Suite collection Web→Mobile in secquence, Mobile fails.
Update: For now I got one workaround. I need to have appium installed on my system and start Appium server manually. Now, when Katalon fails it’s own appium server launch, it moves to already running Appium server and uses that to complete execution.
This is workaround. I hope, Katalon can fix the issue and documen this.
Are you sure that your Test Suite for Mobile surely closes the currently running Mobile application before it terminates?
I guess, your Test Suite does NOT close the app, so that the Appium server is left running. When you start your Test Suite Collection next time, the call to Mobile.startApplication(...) will fail saying “Unable to start Appium Server” because the IP port #4723 being already in use.
Testing Web and Mobile application flows effectively requires a well-organized Test Suite Collection. This ensures that all features, from video downloads to link handling, work seamlessly across devices. For platforms like Snaptika, having a robust test strategy helps maintain a smooth user experience, making sure users can access and download TikTok or Instagram videos easily, whether on mobile or desktop.