Katalon Studio 20 - How to do Mobile (android) Testing on Windows with Katalon Studio | 8 STEPS

  Рет қаралды 135,246

Automation Step by Step

Automation Step by Step

Күн бұрын

Пікірлер: 451
@novanotama
@novanotama 4 жыл бұрын
Thank you Raghav, You're the best teacher in my opinion
@RaghavPal
@RaghavPal 4 жыл бұрын
So humbled to see your message Novanto
@sukanyast.2231
@sukanyast.2231 5 жыл бұрын
The way he explained all the err on the way of each installed just excellent
@RaghavPal
@RaghavPal 5 жыл бұрын
Happy to know Sukanya
@mirostack
@mirostack 4 жыл бұрын
This is a really good tutorial !!! Everything is so clear (and a lot of important details) thank you very much !!!
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Adriana, so happy to see this message
@nungkinugroho-z7c
@nungkinugroho-z7c 9 ай бұрын
thank you! I was trying to apply job that required katalon as main tools, this tutorial help me a lot!
@RaghavPal
@RaghavPal 9 ай бұрын
Glad it helped!
@heiaheiaheiahei
@heiaheiaheiahei 6 ай бұрын
solid content, especially the last section, explained all components, a very good learning material for beginner
@RaghavPal
@RaghavPal 6 ай бұрын
Glad it helped Alex
@urmaddy
@urmaddy 2 жыл бұрын
Step by Step clarity... Thank You sir ji
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome
@sreereshmap.s1350
@sreereshmap.s1350 Жыл бұрын
Super video. I automated my flutter and kotlin app using this video. It's really helpful. Thanks for the video
@RaghavPal
@RaghavPal Жыл бұрын
Great to know this
@heroiheroi1812
@heroiheroi1812 6 ай бұрын
Hey bro! Thanks for your awesome video but unfortunately I'm am stuck in an error which is happening every time I try to start mobile recorder the error says: "Unable to create a new remote session. Please check the server log for more details. original error: Could not find a driver for automationName 'uiautomator2' and platformName 'android'. Have you installed a driver that supports those capabilities? Run 'appium driver list --installed' to see. (Lower-level error: Could not find installed driver to support given caps)" I can't able to solve this problem kindly help me regarding this problem.
@RaghavPal
@RaghavPal 6 ай бұрын
This error typically occurs when the Appium server can't create a new session because it can't find a driver that supports the automationName 'uiautomator2' and platformName 'android'. Here are a few steps you can try to resolve this issue: 1. Upgrade Appium: Make sure you have the latest version of Appium installed. You can upgrade Appium using npm (Node Package Manager) with the command `npm install -g appium` 2. Check Installed Drivers: Run the command `appium driver list --installed` as suggested in the error message. This will list all the drivers that are currently installed. Make sure that a driver for 'uiautomator2' and 'android' is installed 3. Appium Server Restart: Try restarting the Appium server. Sometimes, a simple restart can resolve the issue 4. Session Override: If you're starting Appium as a node process, you can give the option '--session-override true'. This would avoid this problem 5. Katalon Studio and Appium Version Compatibility: Ensure that the versions of Katalon Studio and Appium you're using are compatible. Some users have reported that using Katalon version 6.1.x and Appium version 1.8.0 works 6. SDK Tools: Download the SDK tools from the Android developer site and put the downloaded file to `C/user/.katalon/tools/sdk-tools` Remember to replace the paths and versions with your actual paths and versions. If the problem persists, please check the server logs for more details as suggested in the error message. The logs might contain more information about what's causing the issue. I hope this helps ---
@anjalibhamre4931
@anjalibhamre4931 3 жыл бұрын
Hello , I don't have java installed on my system , could you please help me if any specific version of java would be required ? also javac would come default if I just install java & Thanks for such a useful session , yet so clear and easy to understand for anyone
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Anjali, any ver 8 and above should work for java. If you get JDK javac should come, but don't worry on that, just install JDK and then start Java on Windows - kzbin.info/www/bejne/fKLTnntugruCbKM Java on Mac - kzbin.info/www/bejne/hITZpZypZ8t6oqM
@anjalibhamre4931
@anjalibhamre4931 3 жыл бұрын
Sure ,not a problem ,I have completed my setup yesterday itself & executed the sample project , will start exploring using new Apk's today Thanks a lot :)
@makoirazon2141
@makoirazon2141 3 жыл бұрын
hi, new in using katalon studio and appium, I get the error as 'Unable to start the remote session. Unable to start the application' on my 2nd and succeeding runs. What might be the issue? npm 6.14.13 appium 1.21.0 node.js 14.7.0 jdk 16.0.1 please advise
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Makoi, can be device or application issue, just try using diff ones
@edwardn231
@edwardn231 5 жыл бұрын
Amazing tutorial! Thanks for all the explanations.
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Eduardo
@thizirikabyle528
@thizirikabyle528 5 жыл бұрын
Hi Raghav I don't know how to do to fin option (about phone) on my Iphon, and how to connect it with Vysor? can do a video for this please thanks a lot
@RaghavPal
@RaghavPal 5 жыл бұрын
I will try to add a session on that.
@pallishreesenapati7452
@pallishreesenapati7452 2 жыл бұрын
Very useful and very easily explained by you.
@RaghavPal
@RaghavPal 2 жыл бұрын
Thanks Pallishree
@mallihealth6582
@mallihealth6582 3 жыл бұрын
Wow!! Incredible bro. Amazing video and very informative. Thanks a lot. Ur, absolutely a Teacher by Passion. Keep up the good work.
@RaghavPal
@RaghavPal 3 жыл бұрын
So nice of you
@chubbyman2564
@chubbyman2564 5 жыл бұрын
Dude can you make video about how to make a test case etc for the mobile apps? i appreciate the video but im very hard time how to test an app from the playstore
@RaghavPal
@RaghavPal 5 жыл бұрын
I will try on that Axel
@joaofmeneses
@joaofmeneses 3 жыл бұрын
Fantastic tuturials in general. Thanks in advance. Did you have any example of how to simulate camera intent with file image on Katalon, for example over adb command?
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi João, no idea on this
@discoverkatalon8109
@discoverkatalon8109 6 жыл бұрын
Hi Rahul ... excellent start up guide for beginners. But this is too basic. Don't know how to proceed further :-( Please add more videos to Android app testing using Katalon. Create a new playlist for Appium as well.
@RaghavPal
@RaghavPal 6 жыл бұрын
I will add more videos in some time
@rubicadiona6484
@rubicadiona6484 3 жыл бұрын
Thanks for this! Very informative!
@RaghavPal
@RaghavPal 3 жыл бұрын
Glad it was helpful Rubica
@charanae
@charanae 3 жыл бұрын
This was really helpful. Thank you!!
@RaghavPal
@RaghavPal 3 жыл бұрын
Most welcome Charana
@akankshasrivastava4884
@akankshasrivastava4884 Жыл бұрын
Hello sir, Can you please explain me how I get my full mobile screen device in device view in katalon studio
@RaghavPal
@RaghavPal Жыл бұрын
Hi Akanksha, Sure! Here are the steps to get your full mobile screen device in device view in Katalon Studio: Open Katalon Studio and create a new mobile testing project. Click on the "Mobile" tab at the top of the screen, then click on "Device Viewer". In the Device Viewer window, select your device from the dropdown list. In the bottom-right corner of the Device Viewer window, click on the "Maximize" button. This will expand the Device Viewer to fill your entire screen. If your device is not displayed in full screen mode, click on the "Fit to Screen" button in the top-right corner of the Device Viewer window. You can also adjust the orientation of your device by clicking on the "Rotate" button. That's it! You should now have your full mobile screen device in device view in Katalon Studio. You can use this view to interact with your device and record test scripts.
@keshavdwivedi5192
@keshavdwivedi5192 6 жыл бұрын
Glad to get the first view on this video Raghav it is a very useful and informative video, I would request you to please create a new playlist on appium as there are very few tutorials on Appium
@RaghavPal
@RaghavPal 6 жыл бұрын
Thanks for watching Keshav, I will definitely do that soon
@keshavdwivedi5192
@keshavdwivedi5192 6 жыл бұрын
Raghav I am waiting for it because I want to learn Appium from you only thanks for your support and encouragement
@RaghavPal
@RaghavPal 6 жыл бұрын
Will soon start on it
@jksprasad
@jksprasad 3 жыл бұрын
Hey Raghav I stuck in a functionality for Katalon Mobile app testing. In my app when I am Enter the Integer value app automatically displays the $ symbol. So when I am entering the integer value with "Set Text" option it returns error message as "Invalid name! A file name must start with English letters or numbers, and can mixup with Space or any of the following characters..." So please suggest what is the solution for that.
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi, I saw some discussion over this here forum.katalon.com/t/rename-file-invalid-name-a-file-name-must-start-with-english-letter-or-numbers-and-can-mix-up-with-space-or-any-of-the-following-characters/45075 github.com/katalon-studio/katalon-studio/issues/382 May have to check more for a proper solution
@mohideenhanifa8179
@mohideenhanifa8179 4 жыл бұрын
Hi Raghav - Nice explanation, is there any video to generate *.apk keys? because i don't have an option to run sample project and need to do native apps testing for my app on real device... Thanks in advance
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Mohideen, you can find some apps on PlayStore that can help
@MsCutestOne
@MsCutestOne 2 жыл бұрын
thank you, this is reaaally helpful :)
@elsasilalahi6675
@elsasilalahi6675 8 ай бұрын
Halo Raghav,, i just watched your video and stuck in minute 19.50. there is nothing happen in my device and how to connect our device to vysor, and vysor to katalon. Please Help!!
@RaghavPal
@RaghavPal 8 ай бұрын
Elsa I used Vysor only to show my mobile screen on desktop.. you may not need it.. can work without Vysor
@TheCxnine
@TheCxnine 4 жыл бұрын
Thank you! Very informative and clear.
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome
@ayeshakhanam1973
@ayeshakhanam1973 4 жыл бұрын
Hey!! how to use the swipe operation ,can you please give an example
@RaghavPal
@RaghavPal 4 жыл бұрын
I will plan to add a session on this
@baonguyen8573
@baonguyen8573 4 жыл бұрын
Thanks for this videos but i have a question: If I have an application already on my device, how do I open it?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Bảo You can provide appPackage and appActivity of the application in Desired Capabilities. Check this - forum.katalon.com/t/how-to-launch-an-installed-app-using-katalon-studio/15468/4 docs.katalon.com/katalon-studio/docs/mobile-start-application.html
@malikfaheemawan
@malikfaheemawan 5 жыл бұрын
pretty much interesting and i appreciate your way of explaination
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks for watching Faheem
@ncsics6994
@ncsics6994 5 жыл бұрын
Niz & very useful video..Thanks for making tutorials......Plese, do more......
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome. I will do
@karthikeyanjd3122
@karthikeyanjd3122 3 жыл бұрын
Hi Raghav, Using Katalon can i combine Desktop/API with Mobile app Automation steps in an single test case.
@RaghavPal
@RaghavPal 3 жыл бұрын
Yes, you can
@erickgusmannasir9434
@erickgusmannasir9434 5 жыл бұрын
Thx for information.. im from Indonesia try learn with your youtube.
@RaghavPal
@RaghavPal 5 жыл бұрын
Glad to know this Erick. Keep learning.
@renukakolagani491
@renukakolagani491 8 ай бұрын
How to resolve unable to create new remote session in katalon studio mobile testing. Can you please help to resolve the issue
@RaghavPal
@RaghavPal 8 ай бұрын
Renuka To resolve the "unable to create new remote session" error in Katalon Studio for mobile testing, you can try the following steps: 1. Upgrade Appium Server Version: Ensure you are using a compatible version of Appium with Katalon Studio. Upgrading to the latest version might resolve compatibility issues. 2. Remove Outdated Server Tests: Remove the outdated server tests from your device using the following commands: ```shell adb uninstall io.appium.uiautomator2.server.test adb uninstall appium.uiautomator2.server ``` 3. Delete and Re-download Android SDK: Delete the existing Android SDK folder located at `C:\Users\\.katalon\tools\android_sdk` and allow Katalon to download it again upon the next execution. 4. Check SDK Tools: Download the SDK tools from the official Android developer site and place the downloaded file in the `C:\user\.katalon\tools\sdk-tools` directory. Make sure to back up the old folder before making changes. 5. Appium Version Compatibility: Switch to a different version of Appium if the current one is not working. Versions 1.8.0 or 1.8.1 are suggested as they have been reported to work well. 6. Katalon Studio Version: Use a compatible version of Katalon Studio. Versions 6.0.x or 6.1.x are recommended. 7. Check WebDriverAgentRunner: If you're testing on an iOS device, ensure that the WebDriverAgentRunner is installed and trusted on your device. You may need to remove the current WebDriverAgentRunner and reinstall it. 8. Review Server Logs: Check the server logs for more details on the error. The logs might provide specific information about what is causing the session creation to fail.
@RakeshKumar-jr5hf
@RakeshKumar-jr5hf 3 жыл бұрын
Sir thanks for previous reply An important thing i want to ask sir Issue is i recorded a test case a week back android. But when i play today so it fails and gives no specific error in log. Can you please help...
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Rakesh, not sure if logs do not give any information, Check the setup
@shreyaacharya7210
@shreyaacharya7210 2 жыл бұрын
Really a great video, highly recommended, sir iam eagerly waiting for emulator video for same. if u could explain on how that changes and how to set up it through android studio in katalon. pleassssse sir make that video early as possible. or can u pls explain it here since iam need it urgently, have searched in so many sources, didnt helped.
@RaghavPal
@RaghavPal 2 жыл бұрын
I will check on this Shreya
@AlfinEriaSeptiady
@AlfinEriaSeptiady Жыл бұрын
Sir, I had a problem so I followed your steps and downloaded the latest version and I also setup Katalon, but when I run it, the error message appeared "com.kms.katalon.core.appium.exception.Appium Start Exception: Fail to start Appium server in 30 seconds" I've tried everything on the media but it doesn't work. I wonder if you can help me? version my setUp: - node -v : v18.17.1 - node --version : v18.17.1 - java -version : java version "1.8.0_381" Java(TM) SE Runtime Environment (build 1.8.0_381-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.381-b09, mixed mode) - appium -v : 2.1.3
@RaghavPal
@RaghavPal Жыл бұрын
Alfin Here are few points to help you troubleshoot the error message "com.kms.katalon.core.appium.exception.AppiumStartException: Fail to start Appium server in 30 seconds". Here are some things you can try: 1. *Make sure that Appium is running.* You can do this by opening a terminal window and running the command `appium`. If Appium is running successfully, you should see a message like this: ``` Appium server started successfully on localhost:4723 ``` 2. *Make sure that Katalon Studio is configured to use the correct Appium server address.* You can check this by going to *Project* > *Settings* > *Execution* > *Mobile*. Under *Appium Server*, make sure that the *Host* and *Port* fields are set to the correct values. 3. *Try restarting Appium and Katalon Studio.* This can sometimes fix minor glitches. 4. *Increase the Appium server start timeout.* You can do this by going to *Project* > *Settings* > *Execution* > *Mobile*. Under *Appium Server*, increase the value of the *Default wait for Appium server timeout (in seconds)* field. 5. *Check the Appium server logs for errors.* The Appium server logs are located at `.appium/logs/appium.log` on your computer. If you see any errors in the logs, you can try to fix them or search online for a solution. If you have tried all of the above and you are still getting the error message, please provide me with more information about your setup, such as the operating system you are using and the specific steps you are taking to start Appium and Katalon Studio. Here are some additional tips for troubleshooting Appium server startup problems: * Make sure that you have the latest version of Node.js and Java installed. * Make sure that you have the Appium server installed in the correct location. * Make sure that you have the necessary ports open. The default Appium server port is 4723. * Make sure that you are not running any other programs that are using the same port as the Appium server. * Try restarting your computer. If you are still having trouble, please post a question on the Katalon Studio forum or the Appium community forum.
@tariqhashim9262
@tariqhashim9262 4 жыл бұрын
Thank you Sir for all your efforts.
@RaghavPal
@RaghavPal 4 жыл бұрын
Welcome Tariq
@rajeshbe2234
@rajeshbe2234 5 жыл бұрын
Hi Raghav, if we can do Mobile testing in KS then y we need to do seperately in programming languages? Could you clear this doubt?
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Rajesh, there are multiple platforms that support mobile testing, Some of them are free, open-source, commercial etc. and they provide diff features. So this depends on your needs, budget, preferences etc. You can do mobile testing by creating a custom framework from scratch or can use platforms like katalon studio to avoid doing all the setup and framework creation.
@rajeshbe2234
@rajeshbe2234 5 жыл бұрын
@@RaghavPal ok Raghav. Now I am in one confusion please say your suggestions as soon as possible. Currently am working in startup company and only 2persons for testing including me and doing manual and automation testing. Automation in RPA Uipath tool now the thing is I want to do Mobile testing for our mobile app I am the only person already knew java selenium my colleague doesn't know about selenium who he is basically penetration tester so which tool to select to do Mobile testing and my company is not interested to purchase any paid tool only open source tool so please suggest me Raghav am waiting for your valuable reply...
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Rajesh, for free tools you have option Appium and Katalon Studio. With Appium you will need to create and setup your own framework, and will have complete conrol over it. I am currently creating Appium playlist. kzbin.info/aero/PLhW3qG5bs-L8npSSZD6aWdYFQ96OEduhk You can also check with katalon. You should do a POC first and then decide
@vodacom8883
@vodacom8883 4 жыл бұрын
Any videos for configuration of a emulator device like android studio to katalon
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, not yet, will do it soon
@plummelon446
@plummelon446 4 жыл бұрын
Hi, thank you for cool guide! But I have a problem with recording flutter app. When I try to set text into the EditText i get the error messege "com.kms.katalon.composer.mobile.recorder.exceptions.MobileRecordException: org.openqa.selenium.InvalidElementStateException: Cannot set the element to '8888888'. Did you interact with the correct element?". Is there any solutions?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, I have not exactly tried on a flutter application, however there have been several new features to handle StaleElementException, we have smart wait, auto-healing etc. I will suggest to have some wait time and also enable auto-healing - m.kzbin.info/www/bejne/Z3fcZJ2LYr16o5Y Also check with the Katalon team or support forum
@mariamahmed33
@mariamahmed33 Жыл бұрын
javac -version 'javac' is not recognized as an internal or external command, operable program or batch file. will it be a problem?
@RaghavPal
@RaghavPal Жыл бұрын
Hi Mariam The error message "javac is not recognized as an internal or external command, operable program or batch file" means that the javac command is not available on your computer. This can be a problem if you are trying to compile Java code. There are a few reasons why the javac command might not be available on your computer. One possibility is that you do not have the Java Development Kit (JDK) installed. The JDK is a software development kit that includes the javac compiler. Another possibility is that the javac command is not in your computer's path environment variable. The path environment variable tells your computer where to find executable files. If the javac command is not in your path environment variable, you will not be able to run it from the command line. To fix the error message "javac is not recognized as an internal or external command, operable program or batch file", you need to install the JDK and add the javac command to your path environment variable. Here are the steps on how to install the JDK: 1. Go to the Oracle Java SE Development Kit website and download the latest version of the JDK for your operating system. 2. Run the installer and follow the instructions. 3. Once the JDK is installed, you need to add the javac command to your path environment variable. Here are the steps on how to add the javac command to your path environment variable: 1. Open the Windows Control Panel. 2. Click on "System and Security". 3. Click on "System". 4. Click on "Advanced system settings". 5. Click on the "Environment Variables" button. 6. In the "System variables" section, double-click on the "Path" variable. 7. In the "Edit environment variable" dialog box, add the path to the JDK bin directory to the end of the "Value" field. For example, if the JDK is installed in the "C:\Program Files\Java\jdk1.8.0_201" directory, you would add the following path to the "Value" field: ``` C:\Program Files\Java\jdk1.8.0_201\bin; ``` 8. Click on "OK" to save your changes. Once you have added the javac command to your path environment variable, you should be able to run it from the command line without any errors.
@koteswarimcajasti8307
@koteswarimcajasti8307 Жыл бұрын
Hello sir, your videos are really impressive.Recently I started to learn katalon Studio.when I am starting the mobile testing it is showing some warning.it is showing an unknown server side error occurred while processing the command. Please give solution.
@RaghavPal
@RaghavPal Жыл бұрын
Hi, will need to see the detailed logs, Pls also check other similar comments on this video, you may get some inputs
@localtest194
@localtest194 4 жыл бұрын
Hi Raghav, Thanks a lot for this wonderful video. Is there any video of yours with testing on mobile emulator?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, I have used simulators for iOS, but not yet for android
@amruthas5919
@amruthas5919 4 жыл бұрын
Hi Sir, should we download the Api Demos application in our mobile?
@RaghavPal
@RaghavPal 4 жыл бұрын
You can download or just use from your system, as shown in the video
@yunusyuwono2619
@yunusyuwono2619 6 жыл бұрын
Hi Raghav. Your channel is very usefull dan very helpfull. Clearly step by step. Anyways, I have issue in appium directory in katalon. What should be put in katalon preferences if i installed appium via gui because its not creating any file/folder under folder npm.
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Yunus, if you installed through GUI, still there will be some location where it's stored. Of course not under npm. On windows cmd try running command : where appium Or search online for : appium installation directory on windows
@zouinaamghar3954
@zouinaamghar3954 5 жыл бұрын
Hi raghav, Actually I use to test mobile applications and I can't find videos that you did for Appium before, can you please provide us some videos training of Appium for application mobile thanks a lot.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Zouina, I am yet to do on Appium, will do soon
@RakeshKumar-jr5hf
@RakeshKumar-jr5hf 3 жыл бұрын
It record successfully all steps but when play than in mobile the app intiate from very starting .set user enter mobile no. And test failed .what to do
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Rakesh, check what the logs say
@pageb8833
@pageb8833 2 жыл бұрын
Hi there, I liked this tutorial. But there is one issue which is being coming when I am navigating to Katalon->Run-> Android. Any idea as to how we can resolve it: "It appears that you dont have node js installed or set up correctly". Please note that every thing is being perfectly installed on my system. Kindly help if you can. THanks in advance.
@RaghavPal
@RaghavPal 2 жыл бұрын
Most probably you may not have installed node at the default location, where katalon is trying to find it, you can add the location of node js in your Path env variables and try again
@TheFlashmark
@TheFlashmark 5 жыл бұрын
How do we validate the values which display in the mobile App (Actual) against the expected values which stored in the database?
@RaghavPal
@RaghavPal 5 жыл бұрын
You can store the values from app in a variable and also do the same from database. In katalon there is option to get data from database in Data Files folder. You can then compare both variable values
@hamidayub5253
@hamidayub5253 6 жыл бұрын
Hi, very informative video but i have one issue i am not able to select/set value for date picker any clues?
@RaghavPal
@RaghavPal 6 жыл бұрын
Will have to check the logs, errors Hamid
@duraimurugankalyanasundara5800
@duraimurugankalyanasundara5800 7 ай бұрын
How to enter OTP in sigin-in scenario when OTP field having individual text boxes for each element?
@RaghavPal
@RaghavPal 7 ай бұрын
Duraimurugan Entering an OTP in a sign-in scenario where each digit of the OTP is in an individual text box can be handled in Katalon Studio by using the `setText` method for each field. Here's a step-by-step approach: 1. Capture the OTP: First, you need to capture the OTP from the source. If it's sent via email or SMS, you'll need to write a method to retrieve it. 2. Split the OTP into Individual Digits: Once you have the OTP, split it into individual digits. You can use Groovy's `split()` function for this⁵. 3. Enter the Digits into the Text Boxes: Use the `setText` method to enter each digit into the corresponding text box. You'll need to identify each text box with its unique selector. Here's a sample code snippet that demonstrates this process: ```groovy // Assume otpString is the OTP you've retrieved as a String String otpString = "1234" // Replace with the actual OTP retrieval method String[] otpDigits = otpString.split("") // Set text for each OTP digit WebUI.setText(findTestObject('path/to/first/otp/box'), otpDigits[0]) WebUI.setText(findTestObject('path/to/second/otp/box'), otpDigits[1]) WebUI.setText(findTestObject('path/to/third/otp/box'), otpDigits[2]) WebUI.setText(findTestObject('path/to/fourth/otp/box'), otpDigits[3]) ``` Make sure to replace `'path/to/.../otp/box'` with the actual object paths to the OTP input fields in your test. This approach should allow you to handle the OTP input scenario in Katalon Studio effectively. Remember to handle any potential synchronization issues, such as waiting for the OTP to be received before attempting to enter it.
@duraimurugankalyanasundara5800
@duraimurugankalyanasundara5800 7 ай бұрын
@@RaghavPal Thanks for your quick reply. I have one more doubt. the method of handling otp is same for mobile app also?
@RaghavPal
@RaghavPal 7 ай бұрын
it can be used there too if it fits in your scenario
@drishyainnocent1046
@drishyainnocent1046 4 жыл бұрын
Hello I have installed all the prerequisite files and started the recording. But I get the error as 'Unable to start the remote session. Unable to start the application'. What might be the issue? node.js v12.18.4
@malus6744
@malus6744 4 жыл бұрын
I am also facing the same issue
@drishyainnocent1046
@drishyainnocent1046 4 жыл бұрын
I have changed the appium version to an older one and used application Id instead on apk file and its working fine. Thank you
@RaghavPal
@RaghavPal 4 жыл бұрын
So happy to know Drishya
@filzatariq710
@filzatariq710 6 жыл бұрын
I have installed appium latest version and it get installed but when I checked whether it is installed or not using command prompt it shows me "'appium' is not recognized as an internal or external command, operable program or batch file." message.
@RaghavPal
@RaghavPal 6 жыл бұрын
Looks like you need to setup environment variables. Try to see some appium installation tutorial online. You will get it.
@ayeshakhanam1973
@ayeshakhanam1973 4 жыл бұрын
I am unable to open the browser at all after installing the katalon,nodejs,npm and appium. Everything looks fine. But when I am trying to execute a test case from existing project . It is not opening the browser. Any leads would be appreciated
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Ayesha, will need to check logs to troubleshoot
@ayeshakhanam1973
@ayeshakhanam1973 4 жыл бұрын
@@RaghavPal Hi Raghav, Sent you the logs in an email also posted the question in the katalon community . Could you please have a look into it. forum.katalon.com/t/unable-to-find-executable-for-cmd-exe-java-lang-runtimeexception-java-lang-nullpointerexception-unable-to-find-executable-for-cmd-exe/43907
@oscarwilson-jt3ru
@oscarwilson-jt3ru 2 жыл бұрын
I am pretty new on Mobile testing. and I am using Katalon. When I enter username and password there is no button to click enter. So how can I perform enter function ,after putting the credentials when there is no enter or go button ?
@RaghavPal
@RaghavPal 2 жыл бұрын
Can simulate keyboard enter press
@nguyetu5239
@nguyetu5239 3 жыл бұрын
Hi, Raghav. How to share projects with member of team and work in sync? Thank you very much!
@RaghavPal
@RaghavPal 3 жыл бұрын
You can use Git, its in-built in Katalon Studio - docs.katalon.com/katalon-studio/videos/git-integration.html
@nguyetu5239
@nguyetu5239 3 жыл бұрын
@@RaghavPal Thank you very much!
@indrawannirmala6885
@indrawannirmala6885 5 жыл бұрын
how to scroll application sir? at "available actions" button there is no scroll button please help
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi, you can use Scroll to text docs.katalon.com/katalon-studio/docs/scroll_element_mobile_automation.html#manual-mode
@bot_rc
@bot_rc 5 жыл бұрын
hi Raghav, in my katalon studio there is no report option so i can't see the TS_regressionTest. can you help me to showing that option
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi, what ver are you using, You can goto your project folder and see if there is Reports folder
@astiwijaya849
@astiwijaya849 5 жыл бұрын
Hi, Raghav, Thanks for your tutorial video. Actually, I can't found directory .katalon\tools\platform-tools , I found the folder .katalon but it doesn't contain any folder tools like you mention in this video, any guide will be very helpful
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Asti, we basically need adb application to check the devices connected. You can also get it separately online.www.xda-developers.com/install-adb-windows-macos-linux/
@ThiagoMorais
@ThiagoMorais 6 жыл бұрын
Excellent content, thank you for share with us.
@RaghavPal
@RaghavPal 6 жыл бұрын
You're welcome Thiago
@prakashchandra1103
@prakashchandra1103 3 жыл бұрын
Can we automate mobile web present under gigafox which is a paid environment using katalon studio
@RaghavPal
@RaghavPal 3 жыл бұрын
I will need to explore on this Prakash
@mohana901
@mohana901 4 жыл бұрын
Hi Raghav I am unable to join since in the payament part I have used multiple debit card but it is not taking and giving error as "correct this card info or change the card" so help me in joining ur forum
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Mohan, you can try getting support from KZbin or check here - support.google.com/youtube/answer/6304294
@CamsQuimera
@CamsQuimera Жыл бұрын
Hi Raghav, i can't seem to find the vysor extension, is there other similar and safe extension to simulate this?
@RaghavPal
@RaghavPal Жыл бұрын
You will not need Vysor, I used it only to show my mobile screen on desktop for the viewers
@tses5830
@tses5830 4 жыл бұрын
Hi your video is really good but im getting this error (Appium directory is invalid: Cannot find appium executable) i dont know what to do
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, pls check if the appium folder location is added properly in Katalon Studio forum.katalon.com/t/appium-directory-is-invalid-cannot-find-appium-executable/8772
@jacksonsanchez7706
@jacksonsanchez7706 2 жыл бұрын
Good afternoon, I did all the steps and it reaches the part where appium is executed but when it opens it does not click, I would like to show you what happens to me, I need your help.
@jacksonsanchez7706
@jacksonsanchez7706 2 жыл бұрын
When I run the test case "Verify Correct Alarm Message" it only reaches step 6 and in step 6 an error is displayed
@RaghavPal
@RaghavPal 2 жыл бұрын
will need to check the logs and setup
@jacksonsanchez7706
@jacksonsanchez7706 2 жыл бұрын
@@RaghavPal I did everything exactly like the video, but it doesn't work for me, appium runs on the cell phone but at step 6 of the test case "Verify Correct Alarm Message" an error is displayed, and when I try to record to start automating the application it opens the one I want to automate but it won't let me save the objects. 
@jacksonsanchez7706
@jacksonsanchez7706 2 жыл бұрын
@@RaghavPal I already managed to solve it thanks!
@ariusgalileo4841
@ariusgalileo4841 2 жыл бұрын
@@jacksonsanchez7706 hi jackson, i have this problems as well. how did you manage to solve it?
@manishanand3276
@manishanand3276 6 жыл бұрын
Hi, I need a help, Can you please let me know that how to start app which is already present in the emulator/device? Mobile.startApplication() -> What path shall i give i my app is already there in the mobile?
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Manish, I have not tried, but it should work the same way on the emulator, You can try providing apk
@anjalibhamre4931
@anjalibhamre4931 3 жыл бұрын
Hi , I was trying to get the next videos in this series in which we have to test using actual apk file,I want to test on android device using KAtalon studio using an APK file , I have done the setup in this video , Now I am stuck for getting apk's and how it works with android studio
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Anjali, i will plan to add more sessions on this, for now check online help and can check more videos on katalon here - automationstepbystep.com/
@TheUkr1244
@TheUkr1244 5 жыл бұрын
Hi Raghav, facing error like this c.k.k.core.keyword.internal.KeywordMain - ❌ Unable to start app at: 'C:\Users\VSCBS\Katalon Studio\UKR_Sample.prj\androidapp\APIDemos.apk' (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output. Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z' Please help me
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Uday, you can try with a diff ver of appium
@davihabibie7414
@davihabibie7414 2 жыл бұрын
excuse me sir. when i launch the test, i get java.lang.reflect.invocationtargetexception in the StartApllication phase of the script. do you know how to fix this?
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi Davi, 1 Try to add capability cap.setCapability("automationName", "UiAutomator2"); 2 Try updating the chrome driver the default location will be - C:\Program Files(x86)\Appium ode_modules\appium ode_modules\appium-chromedriver\chromedriver\win\ You can get the chromedriver as per the ver of chrome on your device Also can check these for more help discuss.appium.io/t/native-app-and-browser-is-not-launching/15206/2 discuss.appium.io/t/chrome-browser-is-not-being-launched-in-android-device/15745
@oktabolt970
@oktabolt970 5 жыл бұрын
thank you for sharing sir, i love this channel so education
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks a lot for watching Okta
@RealOrji
@RealOrji 5 жыл бұрын
Hi Raghav, I got this exception when I tried running my mobile test: start app at: 'C:\Users\hp\Katalon Studio\MobileTestProject.prj\androidapp\APIDemos.apk' (Root cause: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output. Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: 'ORJI-PC', ip: '192.168.137.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181' Driver info: driver.version: SwipeableAndroidDriver remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.
@RealOrji
@RealOrji 5 жыл бұрын
Kindly help.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Orji, Pls try to use a diff ver of appium.
@RealOrji
@RealOrji 5 жыл бұрын
@@RaghavPal please version can I download?
@RaghavPal
@RaghavPal 5 жыл бұрын
Windows Appium: 1.12.1 onwards. Android: 6.x onwards (official releases). Mac Appium: 1.12.1 onwards Android: 6.x onwards iOS: 9.x onwards Pls check here - docs.katalon.com/katalon-studio/docs/mobile-on-windows.html#katalon-studio-supported-environment-on-windows docs.katalon.com/katalon-studio/docs/mobile-on-macos.html
@AkhilKumar-hy5mf
@AkhilKumar-hy5mf 3 жыл бұрын
Sir, When I am executing the sample mobile application at 4th step start application (app path, false) it was failing error is unable to create a new remote session. Please check the server log for more details. Can you please help me?
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Akhil, did you find anything in the logs
@AkhilKumar-hy5mf
@AkhilKumar-hy5mf 3 жыл бұрын
@@RaghavPal sorry sir, Where can I see the logs on server side?
@RaghavPal
@RaghavPal 3 жыл бұрын
In Katalon Studio, you might have got detailed logs, with some more information like Caused by
@AkhilKumar-hy5mf
@AkhilKumar-hy5mf 3 жыл бұрын
@@RaghavPal Test Cases/Verify Correct Alarm Message FAILED. Reason: com.kms.katalon.core.exception.StepFailedException: Unable to start app at: 'C:\Users\pavan\Katalon Studio\mobile-botique-2\androidapp\APIDemos.apk' (Root cause: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\\Users\\pavan\\.katalon\\tools\\android_sdk\\platform-tools\\adb.exe -P 5037 -s aa7bcc56 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' exited with code 255'; Stderr: 'Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
@RaghavPal
@RaghavPal 3 жыл бұрын
Okay, this can happen due to 1. Appium ver and app os not compatible 2. APK file corrupted or not compatible 3. Device You can get some discussions on this in katalon forum, pls check forum.katalon.com/discussions
4 жыл бұрын
Hi Raghav, when I start to record, I have an issue: Cannot find zipalign.exe, although it is exited. How to fix this issue? Thank you so much.
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Ánh, this is from a user comment - issue got resolved when I started appium with appium desktop client and added zipallign.exe in tools folder.
4 жыл бұрын
Hi Raghav, Thank you so much. I missed the folder that includes zipalign file.
@supriyasubramani4979
@supriyasubramani4979 4 жыл бұрын
Hi Raghav , can you please help us in letting know How to do Mobile (IOS) Testing on Windows with Katalon Studio ? Kindly let us know what all prerequisites needed to do this testing please.
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Supriya, direct testing of iOS on windows is tricky, you may need to have agents setup. There are platforms like TestProject and AppiumStudio that can do that.
@supriyasubramani4979
@supriyasubramani4979 4 жыл бұрын
@@RaghavPal Hi Raghav , yes i have that in my system i downloaded it , the thing is need to know how the initial set ups to be performed , and how to link Test project with appium studio. Is that possible for you to show that as you did for andriod please.
@RaghavPal
@RaghavPal 4 жыл бұрын
I don't think you can link the tools directly, If you feel TestProject or Appium Studio can work for you , can try those
@sreereshmap.s1350
@sreereshmap.s1350 9 ай бұрын
Hi sir 6 months ago I could automate without any issue . I got an error "Unable to start application reason fail to start appium server in 60 seconds "If I start mobile recorder . I installed latest appium version.i couldn't get a way to resolve this.plz help me sir.
@RaghavPal
@RaghavPal 9 ай бұрын
What is your Appium version. Please check this docs.katalon.com/docs/katalon-studio/manage-projects/set-up-projects/mobile-testing/execute-mobile-tests-with-appium-2.x
@sreereshmap.s1350
@sreereshmap.s1350 9 ай бұрын
2.5.1 is the appium version
@RaghavPal
@RaghavPal 8 ай бұрын
okay,, so you can follow the doc above
@Lovvdeep
@Lovvdeep Жыл бұрын
Is there any possibility to use proxies for web testing in katalon???
@RaghavPal
@RaghavPal Жыл бұрын
Yes, we can give proxy preferences in Global Settings - docs.katalon.com/docs/legacy/katalon-studio-enterprise/set-up-katalon-studio/preferences/proxy-preferences
@kethamaheshwar6190
@kethamaheshwar6190 2 жыл бұрын
Hi Raghav, Thanks for the video. I have a doubt, Can we automate iOS mobiles on Windows pc
@RaghavPal
@RaghavPal 2 жыл бұрын
if you are using remote cloud devices, then you can, for using local, physical devices, you cannot as of now
@kethamaheshwar6190
@kethamaheshwar6190 2 жыл бұрын
@@RaghavPal Okay I get it Thanks for the reply 🙂
@Skirmizz6000
@Skirmizz6000 5 жыл бұрын
father of automation is here guys
@RaghavPal
@RaghavPal 5 жыл бұрын
Humbled by your message Yosua
@stefanomeola6666
@stefanomeola6666 4 жыл бұрын
Excellent tutorial
@RaghavPal
@RaghavPal 4 жыл бұрын
Glad you liked it Stefano
@achmadfardhony5965
@achmadfardhony5965 4 жыл бұрын
raghav I have a problem when starting the application in record mode the error says it failed to start the appium server in 60 seconds, can you help me?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, pls check if appium server is running, you can also change the port if required. My appium series can help you automationstepbystep.com/
@achmadfardhony5965
@achmadfardhony5965 4 жыл бұрын
@@RaghavPal wow, thank you, raghav, the problem has been resolved
@aliseada7810
@aliseada7810 4 жыл бұрын
i have an issue , "unable to start application , Reason : unable to create a new remote session " what is the solution please !!
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Ali, check if this helps - forum.katalon.com/t/unable-to-start-application-on-this-device-unable-to-create-a-new-remote-session-error-occurs-when-selecting-start-on-mobile-recorder-or-mobile-objects-spy/31501
@bahtiar5297
@bahtiar5297 5 жыл бұрын
Hi Raghav Pal, I have a problem when I click "Start" after I choose the apk to record the test case. "Unable to start application" with Reason "Unable to create a new remote session" error appears. Do you have a solution about this?
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Budi, you can check with diff ver of appium and can also check with a diff device
@bahtiar5297
@bahtiar5297 5 жыл бұрын
@@RaghavPal I have tried and succeeded, but I have another problem. When I try several APKs, each one displays a different error. Is there a special APK version to avoid an error?
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Budi, are you using your own apk, Its difficult to say and have to try out
@mpremchand99
@mpremchand99 Жыл бұрын
Hi Raghav, I have one question. Suppose I have recorded mobile test on physical device and want to run it using KRE / TestOps so in that case Script will run on which device. Please guide me
@RaghavPal
@RaghavPal Жыл бұрын
Hi Prem When you record a mobile test on a physical device using Katalon Studio and want to run it using Katalon Runtime Engine (KRE) or Katalon TestOps, the script will run on the same device on which you recorded the test The recorded test script captures the interactions and actions performed on the specific device during the recording. When you execute the script using KRE or TestOps, it will be executed on the designated device that was used during the recording It's important to ensure that the device is connected and available for execution when running the script. You can specify the device details, such as device ID or UDID, in the execution configuration to ensure that the script runs on the intended device If you want to execute the test on multiple devices, you would need to create separate test executions for each device or use test orchestration tools provided by Katalon TestOps to distribute and execute the test across multiple devices simultaneously
@mpremchand99
@mpremchand99 Жыл бұрын
@@RaghavPal Thank you
@liafernanda6696
@liafernanda6696 5 ай бұрын
Hi Raghav, thank you for your tutorial, it has been incredibly helpful. I do have a couple of questions though: 1. In the step where you install Appium and check its location, you mentioned it should be inside the Roaming folder. However, on my system, it isn't located there. Is this okay, or should I move it to the same folder as yours? 2. I encountered an error that seems to be related to a driver not being installed. Could you please help me resolve this issue? Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Could not find a driver for automationName 'uiautomator2' and platformName 'android'. Have you installed a driver that supports those capabilities? Run 'appium driver list --installed' to see. (Lower-level error: Could not find installed driver to support given caps) Thank you so much!
@RaghavPal
@RaghavPal 5 ай бұрын
Lia Let's address your questions: 1. Appium Installation Location: - The default installation location for Appium may vary based on your system and how you installed it. - In Katalon Studio, you can manually set the Appium directory by following these steps: 1. Open Katalon Studio. 2. Go to Windows > Katalon Studio Preferences > Katalon > Mobile settings. 3. Set the Appium Directory to the folder where Appium is installed. - By default, Appium is usually installed at `C:\Users\{your_login_account}\AppData\Roaming pm ode_modules\appium` on Windows². - If your installation location is different, that's okay. Just make sure to specify the correct path in Katalon Studio. 2. Driver Issue: - The error message you encountered indicates that the required driver for `uiautomator2` and `android` is missing. - For Appium 2.x and above, you need to install the drivers separately (such as XCUITest, UIAutomator2, and espresso). - To resolve this issue: 1. Ensure you have installed the necessary drivers (especially for Android) using Appium's command line: ``` npm install -g appium ``` 2. Verify that the Appium Directory in Katalon Studio points to the correct location where the drivers are installed. - If you're still facing issues, consider checking the server logs for more details and running `appium driver list --installed` to verify the installed drivers -
@liafernanda6696
@liafernanda6696 5 ай бұрын
@@RaghavPal Thanks a lot, your suggestions solved the issue. Thanks!!!
@rammsteiniano477
@rammsteiniano477 6 жыл бұрын
so nice and useful!
@RaghavPal
@RaghavPal 6 жыл бұрын
Thanks for your message
@BrunoUthman
@BrunoUthman 4 жыл бұрын
I got some issues trying to recognize the android in my laptop. trying the cmd command "adb devices" the list was always empty *this is the fix for it:* Download Google USB Driver - developer.android.com/studio/run/win-usb Connect your device with Android Debugging enabled to your PC Open Device Manager of Windows from System Properties. Your device should appear under 'Other devices' listed as something like 'Android ADB Interface' or 'Android Phone' or similar. Right click that and click on 'Update Driver Software...' Select 'Browse my computer for driver software' Select 'Let me pick from a list of device drivers on my computer' Double-click 'Show all devices' Press the 'Have disk' button Browse and navigate to [wherever your SDK has been installed]\google-usb_driver and select android_winusb.inf Select 'Android ADB Interface' from the list of device types. Press the 'Yes' button Press the 'Install' button Press the 'Close' button Now you've got the ADB driver set up correctly. Reconnect your device if it doesn't recognize it already. ============================= solution from here > stackoverflow.com/questions/41792867/adb-device-list-is-empty
@BrunoUthman
@BrunoUthman 4 жыл бұрын
another detail: you have to install Android Studio in order to install Android SDK
@BrunoUthman
@BrunoUthman 4 жыл бұрын
you have double check your USB cable (usb cable just for charge will be not recognized by the laptop). It should be bether to use the original cable from cel phone
@RaghavPal
@RaghavPal 4 жыл бұрын
Thanks a lot for adding all this info, Will help many
@TheUkr1244
@TheUkr1244 6 жыл бұрын
Wonderful Explanation
@RaghavPal
@RaghavPal 6 жыл бұрын
Thanks for watching Uday
@GaneshTimande-b6l
@GaneshTimande-b6l Жыл бұрын
Unable to start application fail to start appium server in 60 seconds, I m getting this error
@RaghavPal
@RaghavPal Жыл бұрын
Hi Ganesh The error message "Unable to start application, fail to start Appium server in 60 seconds" typically indicates that the Appium server failed to start within the specified timeout period. This can happen due to various reasons. Let's go through some common solutions to resolve this issue: 1. **Check Appium Server Installation**: Ensure that you have installed the Appium server correctly on your machine. You can verify this by running the Appium server from the command line or terminal and confirming that it starts without any errors. 2. **Check Appium Version**: Make sure you are using a compatible version of Appium with your testing framework and other dependencies. Sometimes, compatibility issues can cause the server to fail to start. 3. **Check Port Availability**: Ensure that the port used by the Appium server (default is 4723) is not blocked or used by another process. If the port is occupied, Appium will not be able to start the server. 4. **Check Java Installation**: Appium requires Java to run. Make sure you have Java installed on your machine and that the JAVA_HOME environment variable is set correctly. 5. **Check Appium Doctor**: Use Appium Doctor (a command-line tool provided by Appium) to check if all the dependencies required for running Appium are installed and configured properly. 6. **Check Appium Log**: Review the Appium server logs to identify any specific errors or issues that might be preventing the server from starting. 7. **Restart Machine**: Sometimes, a simple restart of your machine can help resolve issues related to Appium server startup. 8. **Update Appium and Dependencies**: Ensure that you are using the latest versions of Appium and its dependencies. Outdated versions can sometimes cause conflicts and errors. 9. **Check Desired Capabilities**: If you are using Appium with a testing framework like Selenium or WebDriverIO, double-check the desired capabilities and configurations to make sure they are set correctly. 10. **Try Different Devices/Emulators**: If you are testing on real devices or emulators, try using different devices or emulators to see if the issue persists with a specific device.
@kiransk6762
@kiransk6762 5 жыл бұрын
How to do application background and then foreground using Katalon Studio ?
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Kiran, pls check this. Will have to check on this. You can ask this on katalon forum - forum.katalon.com/
@nozehobby
@nozehobby 3 жыл бұрын
so, have u made the new video about katalon mobile testing? i still can't found it
@RaghavPal
@RaghavPal 3 жыл бұрын
hi, there is a new Udemy course - automationstepbystep.com/udemy-discounts/
@nozehobby
@nozehobby 3 жыл бұрын
@@RaghavPal Hi, i want ask, is there test katalon using loop statement? if so, can u share the link to me? thank you.
@RaghavPal
@RaghavPal 3 жыл бұрын
you can use loops in katalon, I have not created any video on that
@amrutaselmokar1126
@amrutaselmokar1126 5 жыл бұрын
Hi Raghav Thank you for This but i am not getting videos for different apk and simulator can u plz help me with this? Thanks in advance
@amrutaselmokar1126
@amrutaselmokar1126 5 жыл бұрын
This video is very helpful.
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Amruta, you can watch appium series to get more info on mobile testing - automationstepbystep.com/online-courses/
@tses5830
@tses5830 4 жыл бұрын
thanks for getting my problem solved. now when i execute the test case i get this error (Failed to tap on element 'Object Repository/android.widget.ImageView' (Root cause: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters).
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, Ensure you are on the page where the element is, You can add some wait time or have step to waitForElementPresent with some time out. Also ensure the locators are correct
@tses5830
@tses5830 4 жыл бұрын
@@RaghavPal Hi , Is it possible if you can make a video on this procedure please. Alot of katalon users are having the same issue
@RaghavPal
@RaghavPal 4 жыл бұрын
I will plan
@tses5830
@tses5830 4 жыл бұрын
@@RaghavPal please if you can do it urgently that would be great sir ! .desperately waiting for that video
@toniadias
@toniadias 6 жыл бұрын
Please, I need help in this case. I executed this process, but when I run the test, the following error occurred: [FAILED] - Failed to check for element 'Object Repository/Application/android.widget.TextView - App' exist (Root cause: java.lang.ClassCastException: java.util.HashMap cannot be cast to org.openqa.selenium.WebElement) Can you please help me?
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Tonia, need some details, what step did you get this. Did you try any troubleshooting here. If the issue is locating a particular element, you can try with other locators.
@toniadias
@toniadias 6 жыл бұрын
Hello, thanks for your feedback. When I executed the step 6, the Test Suite objects couldn't be found. I couldn't execute the command "tap", because the elements couldn't be found. I don't understand what is happening. The appium version used is 1.9.0 and katalon version 5.7.7. Do you have any other clue for me? Thanks again for your help. Best regards
@toniadias
@toniadias 6 жыл бұрын
Sorry about the version katalon. It is 5.7.1. And I found the problem. The version 1.9.0 is not supported. I uninstalled appium 1.9.0 and installed appium 1.8.0. It is working now. Thanks for your time.
@RaghavPal
@RaghavPal 6 жыл бұрын
Glad to know this Tonia
@toniadias
@toniadias 6 жыл бұрын
Hi! I have another problem. My smartphone is android 7.1.1 api level 25 and when I download sdk on katalon, the version downloaded is api level 28 for android 8.1. I'm not able to run my entire project. Can you please help me?
@indusahu8589
@indusahu8589 6 жыл бұрын
Hello Raghav, Could you please help me out on the problem which is coming at the time of tapping an element of an Android application. The error is: " org.openqa.selenium.InvalidSelectorException: java.xml.transform.TransformerException: Extra illegal tokens: '$', 'Tab', '[', '4', ']' " element id is: android.support.v7.app.ActionBar$Tab4 Console: Failed to tap on element 'Object Repository/projectname/xpath. Please provide me a solution for this error.
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Indu, try recording the action and then integrate in your test.
@indusahu8589
@indusahu8589 6 жыл бұрын
OK fine, and I have one more doubt that why the katalon is not able to install apk in android 7. It is working fine for others. The error is : 07-11-2018 10:37:23 AM - [FAILED] - Unable to start app at: 'E:\apk\
@RaghavPal
@RaghavPal 6 жыл бұрын
This is strange, you can let katalon team know by creating an issue and also post in katalon studio forum
@indusahu8589
@indusahu8589 6 жыл бұрын
Okay I'll, Thanks Raghav for your valuable reply. :-)
@kunalnegi8038
@kunalnegi8038 5 жыл бұрын
Hello Sir, Thanks for making this kind of videos actually I am trying the same and I am getting this error "The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output."
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi K Negi, pls check this forum.katalon.com/t/cannot-spy-record-application/19565
@sabithaabdulla4256
@sabithaabdulla4256 6 жыл бұрын
Hi Raghav, Your videos are really helping a lot..I have just started testing an app. There are 2 objects with same name : android.view.View8 -for login button & an item in an list(which is inside another view) . After capturing objects, i changed the object name android.view.View8(of login button) to android.view.Login and moved to object repository. I set tap action for the renamed login button,and started android test. The test got successful, but instead of tapping LOGIN button it is tapping on the item in the list(which was having the same name).What to do?
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Sabitha, you will have to use some unique property or a custom xpath. Have you tried recording the scenario and check what is the object locator used in generated scripts
@sabithaabdulla4256
@sabithaabdulla4256 6 жыл бұрын
@@RaghavPal Thanks Raghav.
@NavneetMishra-q3k
@NavneetMishra-q3k 6 ай бұрын
Do we use 'wireless debugging' instead of USB debugging? @navneet
@RaghavPal
@RaghavPal 6 ай бұрын
Navneet When setting up a real device for automation testing, you have the option to choose between wireless debugging and USB debugging. Let me explain both options: 1. USB Debugging: - USB debugging allows Android devices to communicate with the Android SDK via a USB connection. - To set up USB debugging: - On your Android device, open the Settings app. - Search for "debug" and tap on "USB debugging". - Enable USB debugging. - Connect your device to your computer using a USB cable. - In Android Studio, click "Run" to build and run your app on the connected device. - USB debugging is a common choice and works well for most scenarios. 2. Wireless Debugging: - Wireless debugging eliminates the need for a physical USB cable. - You can debug your applications over Wi-Fi, making it more convenient and reducing wear on your phone's battery. - Here's how to enable wireless debugging: - On your Android device, go to Settings and search for "debug". - Tap on "Wireless debugging", then again in the "Wireless debugging" option (tap the entire item to enter the details page). - Check the "Use wireless debugging" toggle. - In the "Allow Wireless debugging on this network" popup, select "Always allow on this network" and tap "Allow". - Note down the IP Address and Port info (the port number can vary depending on the device). - Connect your device to your computer over USB initially. - In Visual Studio Code (VSCode), press Ctrl+Shift+P, search for "ADB: Connect to device IP", and enter the IP Address and Port number. - You'll see a toast message indicating that you're "Connected to:" the device. - Now you can disconnect the USB cable. - Wireless debugging is especially useful when you want to avoid dealing with USB connection issues. Remember that the IP Address may change based on the network you're connected to, and the port number could also vary. Always test your app on a real device before releasing it to users --
@NavneetMishra-q3k
@NavneetMishra-q3k 6 ай бұрын
@@RaghavPal Thanks for your response. Do we use wireless debugging in 'Katalon' application for android apps testing.
@RaghavPal
@RaghavPal 6 ай бұрын
I have not tried it, but if you are able to connect your device with your system in any ways.. it should be detected and available in Katalon Studio
@priyankabhosale143
@priyankabhosale143 4 жыл бұрын
While creating sample mobile test case it shows enable error "unable to create remote session. Please check server log for more " How to reslove this @AutomationStepByStep
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Priyanka, this can help - forum.katalon.com/search?q=unable%20to%20create%20remote%20session%20category%3A7
@priyankabhosale143
@priyankabhosale143 4 жыл бұрын
@@RaghavPal Can you please make a video on in depth how to mobile testing for Functional, system testing using katalon studio tool
@RaghavPal
@RaghavPal 4 жыл бұрын
Sure Priyanka, I will plan
@tanvirahmmed3360
@tanvirahmmed3360 2 жыл бұрын
how I test real app on an android device on katalon... Please reply
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi Tanver, the same steps will work, you will need to get the apk or app file of your application
@zouinaamghar3954
@zouinaamghar3954 5 жыл бұрын
Hi Raghav, I want to tests an application on several devices in the same time with diffrents browsers how can we proceed? Thanks a lot.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Zouina, after you setup your test cases, you can add your tests in test suite and then create a test suite collection and add your test suites here. Here you can select device for every test suite. You can also add same test suite multiple times and then select different devices. Can see a sample video here - kzbin.info/www/bejne/d2mupnSJoNp8bLc
@zouinaamghar3954
@zouinaamghar3954 5 жыл бұрын
​@@RaghavPal Thanks a lot for the answer you are the best! have you a vidéo explaining how connect Katalon to devices, I didn't understand how you did it with Vysor it would be nice to understand this part in a video (phisical and non phisical connection)
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Zouina, Vysor I just used to show the mobile screen on desktop. Its not required for testing. Moreover you can also use emulators or cloud devices like kobiton. I will make more videos on that
Katalon Studio 21 - How to do Mobile (android) Testing on Mac OS | 7 STEPS
27:13
Automation Step by Step
Рет қаралды 29 М.
Katalon Studio for Complete Beginners | Step by Step Masterclass Part 1
1:58:03
Automation Step by Step
Рет қаралды 132 М.
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 6 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 62 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,2 МЛН
Katalon Automation Lesson 14 - Mobile (Android) Automation |Appium| Mobile Automation Test| NodeJS
24:21
Katalon Studio | How To Get Data From Excel
18:19
Automation Step by Step
Рет қаралды 70 М.
Katalon Automation Lesson 03 - First Automation Test | Record & Replay (2022)
16:35
Ravikanth FicusRoot - Tech Videos
Рет қаралды 15 М.
Katalon Studio for Complete Beginners | Step by Step Masterclass Part 3
1:38:54
Automation Step by Step
Рет қаралды 17 М.
Automating Windows Applications with Katalon Studio 7
21:41
Execute Automation
Рет қаралды 14 М.
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 6 МЛН