Katalon Studio 7 - How to create Test in SCRIPT mode

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • How to create Test in SCRIPT mode
    ---------------------------------------------------------
    Today we will learn:
    1. What is script mode
    2. How to create test in script mode
    3. Run and validate
    Test Case Creation modes in Katalon Studio :
    1. Record & Playback
    2. Manual mode
    3. Script mode
    Script Mode in Katalon Studio :
    Create Test with Scripts
    Use keywords (built-in/custom) to create scripts
    Java | Groovy
    We will automate this test...
    1. Open Browser
    2. Goto url: lifecharger.org/
    3. Perform actions : click | text | checkpoints
    4. Close Browser
    How are we going to automate this...
    Step 1 - Capture Objects to be used in the test
    Step 2 - Create a new test case - goto script editor
    Step 3 - Create test in script mode
    Step 4 - Run and validate
    _________________________________________
    How to skip steps in test run
    Add annotation not_run: to exclude the step in script mode
    In manual mode
    right click - disable
    will do the same thing
    Excluded steps will be shown in report as Not_Run
    _________________________________________________
    Some useful links:
    Built-in Keywords
    docs.katalon.c...
    _______ ONLINE COURSES TO LEARN _______
    Visit - automationstepb...
    ----------- UI TESTING -----------
    Selenium Beginners - bit.ly/2MGRS8K
    Selenium Java Framework from Scratch - bit.ly/2N9xvR6
    Selenium Python - bit.ly/2oyMp5x
    Selenium Tips - bit.ly/2owxc50
    Selenium Builder - bit.ly/2MKNtlq
    Katalon Studio - bit.ly/2wARFdi
    Robot Framework - bit.ly/2Px6Ue9
    ----------- API TESTING -----------
    Web Services (API) - bit.ly/2MGafL7
    SoapUI - bit.ly/2MGahmd
    Postman - bit.ly/2wz8LrW
    General - bit.ly/2PYdwmV
    ----------- MOBILE TESTING -----------
    Mobile Playlist - bit.ly/2PxpeUv
    ----------- CI | CD | DEVOPS -----------
    Jenkins Beginner - bit.ly/2MIn8EC
    Jenkins Tips & Trick - bit.ly/2LRt6xC
    Docker - bit.ly/2MInnzx
    ----------- VERSION CONTROL SYSTEM -----------
    Git & GitHub - bit.ly/2Q1pagY
    ----------- PERFORMANCE TESTING -----------
    JMeter Beginner - bit.ly/2oBbtIU
    JMeter Intermediate - bit.ly/2oziNVB
    JMeter Advanced - bit.ly/2Q22Y6a
    JMeter Tips & Tricks - bit.ly/2NOfWD2
    Performance Testing - bit.ly/2wEXbLS
    ----------- JAVA -----------
    Java Beginners - bit.ly/2PVUcXs
    Java Tips & Tricks - bit.ly/2CdcDnJ
    ----------- MAVEN -----------
    Maven - bit.ly/2NJdDRS
    ----------- OTHERS -----------
    Redis- bit.ly/2N9jyCG
    Misc - bit.ly/2Q2q5xQ
    Tools & Tips - bit.ly/2oBfwoR
    QnA Friday- bit.ly/2NgwGpw
    Sunday Special - bit.ly/2wB23BO
    Ask Raghav- bit.ly/2CoJGWf
    Interviews - bit.ly/2NIPPxk
    All Playlists - bit.ly/2LSiezA
    ----------- FOLLOW -----------
    Facebook - / automationstepbystep
    Twitter - / automationsbs
    RUclips - / automationstepbystep

Комментарии • 193

  • @mahmmadmustafamulla9725
    @mahmmadmustafamulla9725 4 года назад

    Thank you so much Raghav sir .
    All your videos are very helpful .
    You are an awesome Trainer🥰.
    Thank a lot once again....🤝

    • @RaghavPal
      @RaghavPal  4 года назад

      Always welcome Mahmmad

  • @virginiazambudio3606
    @virginiazambudio3606 4 года назад

    Very useful video to start testing with scripting mode with Katalon. Thanks for sharing!

    • @RaghavPal
      @RaghavPal  4 года назад

      Glad it was helpful Virginia

  • @mahmmadmustafamulla9725
    @mahmmadmustafamulla9725 3 года назад +1

    Hi Raghav, it was a quiet useful video, thank a bunch for all your support for us.
    I have one query as we have seen we have manual mode and script mode.
    What makes a difference in between these two modes as our work can be done through manual mode.
    I mean is there any efficiency by using script mode...?

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi, Once you get used to it, Script mode is very fast for updates and editing, Ideally you may want to use Record mode and use Manual and Script mode to make any changes/updates if required

  • @gregloin3658
    @gregloin3658 4 дня назад

    good explanations. very educational. thank you

  • @calamitygamingindo
    @calamitygamingindo 4 года назад +1

    Thank you so much, this tutorial help me as beginner to start learn katalon studio
    Maybe you can add some english subtitle

  • @meetamalhotra1976
    @meetamalhotra1976 6 лет назад

    Hi Raghav,
    Great video.Thanks for uploading. This really helped me to know about Script mode in Katalon Studio.
    Will follow your videos and learn how to automate through this new tool. :)

    • @RaghavPal
      @RaghavPal  6 лет назад

      Great to know this Meeta. Keep learning.

  • @muthuvel2390
    @muthuvel2390 5 лет назад

    Hi Raghav, Thank you for this video.pls keep posting katalon related videos in detailed.

  • @liviulupei860
    @liviulupei860 6 лет назад +2

    I would recommend that you use Endtest instead of Katalon Studio, it's much better.

    • @GiveAndItShallBeGivenBack
      @GiveAndItShallBeGivenBack 6 лет назад +1

      $650/per year for EndTest! Do you work for EndTest? Could you please share a comparison for your claim? EndTest vs Katalon.

    • @liviulupei860
      @liviulupei860 6 лет назад +1

      There is no point in comparing a primitive solution like Katalon Studio with a modern cloud platform such as Endtest, you can check both solutions by yourself.
      The only reason you heard about Katalon is because they have a very aggressive spamming strategy.

    • @lserranov
      @lserranov 5 лет назад

      Typical person in internet, criticizing but giving not value. Why you think that tool is better?

  • @nehapathak4215
    @nehapathak4215 3 года назад +1

    Hi raghav can you give more videos on script method(which includes different types of script method and to add xpaths in katlon)?

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi Neha, you can check xpath tutorial here - automationstepbystep.com/
      There is a Katalon Training on udemy - automationstepbystep.com/udemy-discounts/

  • @zalakbarot141
    @zalakbarot141 4 года назад

    Hello Sir. Thank you so much for such knowledgable videos. There is one query over here. Kindly let me know the use of 3different type of modes. Thank You in advance.

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Zalak,
      This was a demo to show all modes, so we have knowledge on all 3. In general, you can do a Recording and when and if required and do any changes using manual mode or script mode.
      Script mode is particularly useful when you have to do copy paste or add any custom functions

    • @zalakbarot141
      @zalakbarot141 4 года назад

      @@RaghavPal Ohk got it. Thank you so much!

  • @preethimarineni
    @preethimarineni 3 года назад +1

    Hi, it was really nice video. It really helped to start up on kalalonstudio. I have one question. Can you please explain how to handle dynamic security question on login. Say ex I have entered login and pad and I have 3 security question and for every login it ask me dynamic question among the three how to handle this case in script. Please explain. I am getting hold in my project on this case

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi Preethi, check the box where you need to add answer, now most probably you may not find some unique property of the text box by which you can identify that the answer box is for some specific question. In this case, you will have to first anchor the question, using text or any other property if available and then find the immediate next text box, Like this you will know what answer to add, Will need to add a conditional script

    • @preethimarineni
      @preethimarineni 3 года назад

      @@RaghavPal Thank you. I will try this and update the results

    • @preethimarineni
      @preethimarineni 3 года назад

      @@RaghavPal Hi Raghav, I tried the steps given by you, but I am not able to get text of the dynamic security question on the ui to compare with string

    • @preethimarineni
      @preethimarineni 3 года назад

      @@RaghavPal if you are ok with, can you give me your email id so I can send the code written, so you can view and let me know what is the issue

    • @RaghavPal
      @RaghavPal  3 года назад

      If I find something online will update here

  • @viktoriyakalachigin3567
    @viktoriyakalachigin3567 5 лет назад +1

    Hi Raghav. I just started to learn the tool. I can not figure out how to run tests together so that each test does not start from login ...

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi, you can refer the tests - Check this - ruclips.net/video/FU7XmeFH1u4/видео.html
      You can see all playlists here - automationstepbystep.com/909-2/online-courses/

  • @rarshad4397
    @rarshad4397 3 года назад

    Thank you for sharing these videos. These are nice videos. One question if you can answer please. What framework does this Katalon studio has? Thank you.

    • @RaghavPal
      @RaghavPal  3 года назад +1

      it is build over Eclipse and uses keywords

    • @rarshad4397
      @rarshad4397 3 года назад

      @@RaghavPal do you have any video on this?. If not then are you planning to make any video regarding framework? Thank you again!

    • @RaghavPal
      @RaghavPal  3 года назад +1

      all Katalon Related tutorials can be found here -
      automationstepbystep.com/ and automationstepbystep.com/udemy-discounts/

    • @rarshad4397
      @rarshad4397 3 года назад

      @@RaghavPal Thank you very much.

  • @gokulkrishnann
    @gokulkrishnann 7 лет назад

    Really nice explanation !! please let us know how can we change the programming language preference from groovy to Java.

    • @RaghavPal
      @RaghavPal  7 лет назад +1

      Hi Gokul, i believe by default you should be able to script in any of these. Did you try.

  • @sumitsaha9782
    @sumitsaha9782 4 года назад

    Thanks Raghav for the excellent tutorial.
    Question: Is there any way to switch scripting mode from groovy to Java?
    Reason I'm asking is because I'm well adept in selenium with POM framework and much familiar with Java syntax however client requirement is to use Katalon with new project. I was wondering can i use Java instead of groovy ?

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Sumit, as of now Groovy is the option to use within Katalon Studio, YOu can create a code in java and then export in a jar and then add the jar in Katalon Studio

  • @muaazster
    @muaazster 4 года назад

    Hi , In Katalon can we create POM alike in Webdriver. creating separate objects for each pages which can be maintain easily for modifications

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Muaaz, you can do that easily Muaaz, you just need to keep your objects in a folder and you can create a folder for every page on your application and you can use these objects throughout the project

    • @muaazster
      @muaazster 4 года назад

      @@RaghavPal Thank you for reply . Is there any example can be seen. Because i m pretty new to this tool.

    • @RaghavPal
      @RaghavPal  4 года назад

      Okay, actually with Katalon Studio, you do not need to worry on the structure of the project as it is already taken care, There is a modular structure i.e. there are separate folders for every resource. Moreover, the referencing is in-built e.g. When you store any object in Object Repository and it is referred and used in a Test Case, Now if you change location of the object or test case, It will not matter. The referencing will still work fine.
      Just for your own understanding you can place test cases and objects inside folders based on your application structure. Like folder for login page objects and login tests, etc.

  • @hazimabdoh6303
    @hazimabdoh6303 2 года назад

    Thanks MR Raghav for the excellent tutorial, Question: while editing the scripts the error message appeared declared that i should do disable for groovy template proposals , i did that and then i cant continue editing the script because of the message " no default proposals.

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi Hazim, try to enable and restart Katalon Studio
      support.katalon.com/hc/en-us/articles/4409631490329--No-Default-Proposals-message

  • @nehapathak4215
    @nehapathak4215 3 года назад

    Hi Raghav And can we use XPath there like selenium? if we want to quickly change our script and directly use XPath is there any method available in katlon? or there is only 1 option in the script that drag and drop page object. and one more things what is this method works ?

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi Neha, when you goto any object under Object Repository folder, you can add/edit xpath here

  • @punitb9853
    @punitb9853 6 лет назад

    Hi Raghav,
    Q: In vdo for test3 you've created the separate repository, Can we use the same repository for all Manual, Script mode?

  • @nehapathak4215
    @nehapathak4215 3 года назад +1

    Hi Raghav can we write our own XPath locators in the script on Katlon studio? Do we have any method to call because as per your video we can only drag and drop to page objects.

    • @RaghavPal
      @RaghavPal  3 года назад +1

      Hi Neha, we have foll options
      1. Drag and drop
      2. Double click and select the object
      3. Add in the script tab, Rt click object and Copy ID

    • @nehapathak4215
      @nehapathak4215 3 года назад

      @@RaghavPal And can we use XPath there like selenium? if we want to quickly change our script and directly use XPath is there any method available in katlon? or there is only 1 option in the script that drag and drop page object. and one more things what is this method works ? "webUI.convertwebelementtotestobject" in katlon.

    • @nehapathak4215
      @nehapathak4215 3 года назад

      @@RaghavPal Drag and drop page object what we have captured in the spy web? is these the steps you have mention here? if not can you please elaborate

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi Neha, you can add xpath in the object editor and use them for object location

    • @RaghavPal
      @RaghavPal  3 года назад

      I will plan a session on this, Just in case you like can check my latest course on Katalon Studio on Udemy - automationstepbystep.com/udemy-discounts/

  • @prabuviswanathan9361
    @prabuviswanathan9361 10 месяцев назад

    Hi Ragahav i have installed and using katalon trail version
    I tried small login functionality by record play back manner
    but I'm getting error like
    Selenium webdriverException unknown error : result. Webdrivervalue missing or empty in runtime callfunctionon response

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      Prabu
      The error message "Selenium webdriverException unknown error : result. Webdrivervalue missing or empty in runtime callfunctionon response" indicates that Katalon Studio is unable to get the response from the Selenium WebDriver. This can be caused by a number of factors, such as:
      * The Selenium WebDriver is not running.
      * The Selenium WebDriver is not responding.
      * The Selenium WebDriver is unable to communicate with the browser.
      * There is a network connection problem between Katalon Studio and the Selenium WebDriver.
      * There is a bug in Katalon Studio or the Selenium WebDriver.
      To troubleshoot this error, you can try the following:
      1. Make sure that the Selenium WebDriver is running. You can do this by checking the Task Manager (Windows) or the Activity Monitor (Mac).
      2. Restart the Selenium WebDriver.
      3. Restart Katalon Studio.
      4. Make sure that the Selenium WebDriver is able to communicate with the browser. You can do this by running a simple test, such as opening a web page.
      5. Check your network connection and make sure that there are no problems.
      6. Update Katalon Studio to the latest version.
      7. Update the Selenium WebDriver to the latest version.
      8. If you are still having trouble, post a question on the Katalon Studio forums.
      Here are some additional tips for avoiding this error:
      * Make sure that you are using the correct version of the Selenium WebDriver for your browser.
      * Make sure that you are using the correct capabilities when starting the Selenium WebDriver.
      * Avoid using special characters in your test scripts.
      * Make sure that your test scripts are compatible with the version of Katalon Studio that you are using.
      I hope this helps

  • @kiranmairagipani4053
    @kiranmairagipani4053 2 года назад

    Thanks Raghav,your videos are very useful for my project.can you please make a video on shadow root DOM using katalon studio

  • @kartikbaba
    @kartikbaba 4 года назад

    Are you writing the test scripts in java or groovy? Please tell me

    • @RaghavPal
      @RaghavPal  4 года назад

      Groovy is supported in Katalon

    • @kartikbaba
      @kartikbaba 4 года назад

      @@RaghavPal Thank you sir

  • @Tunewithsk
    @Tunewithsk Год назад

    Hi sir, i have a queries related how to import and where to use java language in katalon studio, as of now I know only groovy language in katalon, can you please help me with that

    • @RaghavPal
      @RaghavPal  Год назад

      Katalon Studio supports two scripting languages: Groovy and Java. You can use either language to create your test scripts.
      To import Java code into Katalon Studio, you can follow these steps:
      1. Open the Katalon Studio project that you want to add the Java code to.
      2. Right-click on the project name and select "New" > "Java Class".
      3. Enter the name of the Java class and click on the "Create" button.
      4. The Java class will be created in the project. You can add your Java code to the class.
      To use Java code in Katalon Studio, you can use the import statement. For example, the following code imports the java.util.List class:
      Code snippet
      import java.util.List;
      Once you have imported the Java class, you can use it in your Katalon Studio test scripts. For example, the following code creates a new List object and adds an element to the list:
      Code snippet
      List list = new ArrayList();
      list.add("Hello");
      Here are some additional things to keep in mind:
      * The Java code that you import into Katalon Studio must be compiled before you can use it.
      * You can use the import statement to import any Java class that you need.
      * You can use the Java code in your Katalon Studio test scripts just like you would use any other scripting language.
      I hope this helps

  • @softwaretester5691
    @softwaretester5691 7 лет назад +1

    Hi, Raghav thanks for this wonderful video, Can we pass paramenterise data and create loops and if statements in scripts?

    • @RaghavPal
      @RaghavPal  7 лет назад

      Yes sure, Katalon Studio has built-in functions and you can also write custom functions. So that means you are able to customise as per your neends.

  • @ankitagopal87
    @ankitagopal87 6 лет назад

    Need help with below issue:
    I am not able to select a value from drop-down.The values in the drop-down do not have any unique properties,it is same for all the values in the drop-down.
    Tried finding by value,label and index.
    Browser:IE 11

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Ankita, Try recording the action and check what options you get.

    • @ankitagopal87
      @ankitagopal87 6 лет назад +1

      Hi Raghav,Spy Web worked for the page in Chrome which helped in identifying the objects.Thanks for help!

    • @ankitagopal87
      @ankitagopal87 6 лет назад

      Facing issue with date picker,xpath and other locator methods not working.
      Do I need to write a custom keyword and how?

    • @RaghavPal
      @RaghavPal  6 лет назад

      first search online for handling such elements with katalon studio. Also check the forum forum.katalon.com/discussions

  • @sidheshlotlikar
    @sidheshlotlikar 6 лет назад

    Hi Raghav, I have downloaded the latest version of Katalon Stuido and in Manual mode every step is showing the red mark i.e. not_run by default. Even when I explicitly disable any step there is no difference between default and disabled step. Can u please tell me what could be the reason?

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Sidhesh, which ver are you using. Does it not grey out the step when disabled.

  • @deveshtapan1
    @deveshtapan1 7 лет назад

    Hi, Raghav thanks for this wonderful video. I have one question, in this video you are opening default browser (firefox), how can I open CHROME?

    • @deveshtapan1
      @deveshtapan1 7 лет назад +1

      i got it.

    • @RaghavPal
      @RaghavPal  7 лет назад +1

      great devesh, do comment your resolution, so it helps everyone. Ideally it default browser can be set from Preferences -> Katalon -> Execution ->

    • @deveshtapan1
      @deveshtapan1 7 лет назад +1

      Automation Step-by-Step - Raghav Pal true..i will keep in mind😀

  • @hemanth0212
    @hemanth0212 6 лет назад

    Hi Raghav... good video tutorials on Katalon studio. I wanted to know if it is possible to launch external applications like vlc player from Katalon studio - if YES, how can it be done. Thanks in advance.

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Hemanth, thanks for watching. As Katalon Studio allows scripting, so i believe if you can write a groovy or java script for your action, you can do it.

  • @nehapathak4215
    @nehapathak4215 3 года назад

    Can you please tell me which course needs to buy on udemy?

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi Neha, Can get this - www.udemy.com/course/katalon-studio-beginners-hands-on-training/learn/?referralCode=8658288E488452F334C2

  • @sathyanarayanansathya1548
    @sathyanarayanansathya1548 5 лет назад

    I have one doubt. Whether katalon will be used in all companies compared to selenium . since katalon has more advanced features than selenium. If not y katalon is not familiar when compared to selenium

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi Sathyanarayanan, Katalon uses Selenium and Appium libraries at the backend. Selenium is very old and is widely used. Katalon is comparatively new but is gaining lot of attraction these days

  • @bahtiar5297
    @bahtiar5297 4 года назад +1

    Hi Raghav,
    My name is Budi from Indonesia,
    I want to ask for help regarding the test script on Katalon for android datepicker like 01 | Jan | 2020 (Scroll to set date)
    How can I set the date I want, because using SetText and SendKeys on the Katalon doesn't work for date selection, so how?
    thank you very much for your video on youtube, very helpful

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Budi, I will have to check on this, Can you send me some example link/website that has this kind of date and I can check.

  • @ivonnedanielacristanchovar5320
    @ivonnedanielacristanchovar5320 5 лет назад

    Can you do me the favor of adding Spanish subtitles option to your Katalon and Selenium videos on RUclips? My English comprehension is not great so having subtitles will greatly benefit me. Thanks in advance!

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi Ivonne
      I will try. If I can get some help to do that, it will be faster

    • @ivonnedanielacristanchovar5320
      @ivonnedanielacristanchovar5320 5 лет назад

      @@RaghavPal You have to enter your list of videos, and update the option of your titles that youtube generates automatically. It's very easy, please I appreciate it

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi Ivonne, I have allowed community contributions on my videos. Now you can add Spanish subtitles as explained in this video - ruclips.net/video/t6bbuDUPIgk/видео.html
      It will help many others

  • @Sumeet2548
    @Sumeet2548 Год назад

    Raghav- Can you please confirm if scripting can be done in Python in Katalon studio?

    • @RaghavPal
      @RaghavPal  Год назад

      Sumeet
      Can check this forum.katalon.com/t/how-to-use-python-in-katalon-studio/16023

  • @bugnay9314
    @bugnay9314 3 года назад

    Hi , how can I verify a downloaded file?
    Example: In a page there's a download button and if you click that 123.xlsx will be downloaded.
    How can I verify this?

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi, some of the part will have to do with custom scripting as it is out of browser. Can check this File Download - forum.katalon.com/t/is-this-possible-to-use-katalon-to-download-a-file/46318/6

  • @ankitagopal87
    @ankitagopal87 6 лет назад

    Hi Raghav,Thanks for such a descriptive video!
    My query is regarding Katalon's execution speed.I have been using the tool for a week now and was able to run all the scripts pretty smoothly and good speed.
    Unexpectedly now all the scripts are executing slow even the previous one's.How to handle this?

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Ankita, hope you have not changed the execution speed settings forum.katalon.com/discussion/4046/speed-of-test
      Also it can be due to your other processes running and taking cpu memory.
      If required you can also ask this in the forum - forum.katalon.com/discussions

    • @ankitagopal87
      @ankitagopal87 6 лет назад

      Automation Step by Step - Raghav Pal I have not disturbed the default Execution settings,as also mentioned in the discussion of the link u mentioned.
      The speed has just reduced tremendously even with no other background processes.
      Pls feel free to respond whenever u encounter a solution to this.

    • @ankitagopal87
      @ankitagopal87 6 лет назад

      Automation Step by Step - Raghav Pal I have not disturbed the default Execution settings,as also mentioned in the discussion of the link u mentioned.
      The speed has just reduced tremendously even with no other background processes.
      Pls feel free to respond whenever u encounter a solution to this.

    • @RaghavPal
      @RaghavPal  6 лет назад

      sure will let you know in case i find something relevant.

  • @sanathkumar5404
    @sanathkumar5404 4 года назад

    Hi Raghav,
    I have finding difficulties in allowing chrome popup (microphone/notification/video)
    I have tried alert.accept()
    Tried to simulate keyboard actions like shift tab and enter
    Nothing worked
    Regards,
    Sanath(Subscriber)

    • @RaghavPal
      @RaghavPal  4 года назад +1

      Hi Sanath, have you tried adding some wait time. Pls check this video - ruclips.net/video/yFgwibcmylg/видео.html

    • @sanathkumar5404
      @sanathkumar5404 4 года назад

      @@RaghavPal Thanks for the help ..it is working

  • @tonnihossaintinni7146
    @tonnihossaintinni7146 5 лет назад

    Hi Raghav. Do you have any tutorials for mobile app automation using katalon Studio

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi Sandy, I have basic videos in this playlist - ruclips.net/p/PLhW3qG5bs-L_D4ZePNNjvmIULuu6mBHbu

  • @pratheepkumar4218
    @pratheepkumar4218 4 года назад

    Hi Raghav, SetText is not working . this is only for login i am passing an email. but email id is not passing into the text field. also Object Repository drag and drop not working.

    • @RaghavPal
      @RaghavPal  4 года назад +1

      Hi Pratheep, I will have to see if there are other keywords that can be used. Have you tried on any other site. Hope the object locators are corrent.

    • @pratheepkumar4218
      @pratheepkumar4218 4 года назад +1

      @@RaghavPal which they captured xpath is not correct. So I manually instert the known xpath then it's working now. Thanks raghav. Drag and drop option is not working what to do for this . My version is 7.3.0

    • @RaghavPal
      @RaghavPal  4 года назад +1

      Just check if you are using the right locators, Not sure on version. If required can check with a diff ver.

  • @shijucan1
    @shijucan1 6 лет назад

    Hi Raghav,
    In my application i have to count the rows of grid, add new item and validate the current row count in is +1 now. I dont know how to do that with Katalon. Your help will be much appreciated. Have been trying to fight this for two days now.

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Shiju, you can take the table rows locator in a list and count the elements. This will need some custom code.

    • @shijucan1
      @shijucan1 6 лет назад

      If it's not too much to ask. Can you post the syntax and I'll try following that.

    • @RaghavPal
      @RaghavPal  6 лет назад

      Shiju, try searching on google with "selenium count number of rows in a table". You should get it.

  • @komalchag
    @komalchag 7 лет назад

    Hi Raghav, Thank you very much for this learning series. Can you guide me as to how can i select a value from date/time picker?

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Komal, see if this helps - forum.katalon.com/questions/how-to-handle-date-pickers-in-katalon/

    • @komalchag
      @komalchag 7 лет назад

      Hi Raghav, thank you for the info
      I got "java.lang.IllegalArgumentException: Argument is of an illegal type: java.lang.Class" error with the solution provided here

  • @STD2580
    @STD2580 7 лет назад

    Hi Raghav, can you please show us how to write a custom method and how do we call that in our studio

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Dasa, will do that in some time.

  • @TheFlashmark
    @TheFlashmark 5 лет назад

    Hi Raghav, How do we change the default scripting language to Java instead of Groovy?

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi Lakmal, there is no settings to change the language, You can try your java code in script view. As per the official information you can use Groovy and can import and use java libraries. Check the faq section here
      docs.katalon.com/faqs/features.html

  • @rajeshnaidu3280
    @rajeshnaidu3280 6 лет назад

    Hi sir how read text using regex(regularly expressions) in katalon studio. I tried but errors coming plz help

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Rajesh, pls let me know what have you already tried with details.

  • @diliniweerasinghe9788
    @diliniweerasinghe9788 7 лет назад

    Hi Raghav, I am getting an error when i am executing the script. It says "The test case has no step to run." hope you can help me

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Dilini, can you check in manual mode. Are you getting any steps there? You can send me your project if still getting the error

    • @diliniweerasinghe9788
      @diliniweerasinghe9788 7 лет назад +1

      Yeah Raghav i checked in that way and it's worked. Thank you very much for support and wish you all the best

  • @houcemdridi96
    @houcemdridi96 5 лет назад

    Hi Raghav,
    Press with Alt+~ dosn't work
    i'm using Katalon 6.3.3
    my keyboard ist qwertz ( language on Wind10 is German)

    • @RaghavPal
      @RaghavPal  5 лет назад +2

      Hi Houcem, you can change the hot key combination from windows > Preferences > Katalon > Object Spy

  • @daniaalkhalil8355
    @daniaalkhalil8355 5 лет назад

    helpful video

  • @lakshmik3527
    @lakshmik3527 2 года назад

    Can we do Descriptive Programming in Script mode?

    • @RaghavPal
      @RaghavPal  2 года назад +1

      Hi Lakshmi, you can do to some extent, I can talk more if I know what exactly you are trying to do
      Can check this - forum.katalon.com/t/katalon-studio-object-repository-and-spy/26670/9

  • @manishagrawal8144
    @manishagrawal8144 7 лет назад

    Can you please tell me how can I inject errors and test them in the same website "lifecharger.org/" using record/manual mode. Like for example if I want to check the function of search button, or any other button, how an I do this ? Please help!

    • @RaghavPal
      @RaghavPal  7 лет назад

      I did not get it. you want to inject errors? or you want to fail a step due to not able to find the element. In 2nd case you can use any wrong locator and check it.

  • @satishpatnaik2926
    @satishpatnaik2926 6 лет назад

    Can u share an example for how to select datepicker(for example date of birth if ) in katalon studio for android applications ??

    • @RaghavPal
      @RaghavPal  6 лет назад

      don't have that handy with me. May be you can search for katalon online resources

  • @farihahossainmuna3395
    @farihahossainmuna3395 3 года назад

    can't capture object repository .I press Alt+~ but it does not work.please help me

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi Fariha, You can try changing the hot keys combination from Window > Katalon Studio Preferences > Katalon > Object Spy

    • @farihahossainmuna3395
      @farihahossainmuna3395 3 года назад

      @@RaghavPal when I want to drag and drop,it can't happen and findTestObject also not found in my code when I use setText.I am using version 7.7.2 and I follow this video and script also but run error

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi Fariha, assuming your earlier issue is resolved. On this one, try to restart Katalon Studio or use a diff ver.

  • @ivonnedanielacristanchovar5320
    @ivonnedanielacristanchovar5320 5 лет назад +1

    Podrías por favor subir los vídeos con la opción de subtitulo

    • @RaghavPal
      @RaghavPal  5 лет назад

      Intentaré. Si puedo conseguir ayuda para hacerlo, será más rápido.

    • @ivonnedanielacristanchovar5320
      @ivonnedanielacristanchovar5320 5 лет назад

      @@RaghavPal You have to enter your list of videos, and update the option of your titles that youtube generates automatically. It's very easy, please I appreciate it

    • @ivonnedanielacristanchovar5320
      @ivonnedanielacristanchovar5320 5 лет назад

      @@RaghavPal You have to enter your list of videos, and update the option of your titles that youtube generates automatically. It's very easy, please I appreciate it

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi Ivonne, I have allowed community contributions on my videos. Now you can add Spanish subtitles as explained in this video - ruclips.net/video/t6bbuDUPIgk/видео.html
      It will help many others

  • @PrettyMelody108
    @PrettyMelody108 5 лет назад

    Hello Sir i have a problem, When I run Spy web and try to capture an object nothing happens. nothing show in captured screen.

    • @RaghavPal
      @RaghavPal  5 лет назад +1

      Hi Ragini, try to click on the object and then press the key combination

    • @PrettyMelody108
      @PrettyMelody108 5 лет назад

      By using captured keyword its working but in every step this keyword we have to press... Is there any other option? To write script automatically in object spy🙄

    • @PrettyMelody108
      @PrettyMelody108 5 лет назад

      I used orangeHRM website for demo when i click on "a Welcome Admin" then i have to logout... My logout step is failed... I write script for these 2 lines:
      //click on welcome admin button
      WebUI. click(findTestobject(Test OR/page_orangeHRM\a_welcome Admin'))
      (this welcome click step is passed but drop-down isn't show on screen )
      //click on welcome admin button
      WebUI. click(findTestobject('object Repository/script/page_orangeHRM/a_Logout'))
      Logout step is failed
      Error show - unable to click on object (step failed exception)

    • @RaghavPal
      @RaghavPal  5 лет назад +1

      For automatic addition of objects, you can do web recording instead of web spy.

    • @PrettyMelody108
      @PrettyMelody108 5 лет назад

      Ok thanks but there is one more question i asked to you but didn't say anything 😅

  • @shivanandaswamy
    @shivanandaswamy 7 лет назад +1

    Can I test the API endpoint using Katalon studio? If yes, how do I do it?

    • @RaghavPal
      @RaghavPal  7 лет назад

      Yes Shivananda, i will create some sessions on that. Please check - docs.katalon.com/display/KD/Web+Services

  • @satishpatnaik2926
    @satishpatnaik2926 6 лет назад

    Unable to click on object 'Object Repository/teamsettings1.OR/Page_/button_ Add User' (Root cause: org.openqa.selenium.WebDriverException: unknown error: Element ... is not clickable at point (614, 231) This issue is coming while running script for web....Please let me know how to handle this error

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Satish, as per the error its not able to find the element. Pls check with other identifiers

    • @satishpatnaik2926
      @satishpatnaik2926 6 лет назад

      So, we can use any other locators like xpath or any which we use in selenium?

    • @satishpatnaik2926
      @satishpatnaik2926 6 лет назад

      Please share the syntax that is how to use locators in katalon which we use in selenium

    • @RaghavPal
      @RaghavPal  6 лет назад

      Yes you should be able to

    • @RaghavPal
      @RaghavPal  6 лет назад

      In the object repository you can give your locators, Try it should work

  • @yourworld4786
    @yourworld4786 4 года назад

    Hello Dear, Very good video kindly let me know what is the convenient time to talk to you?

    • @RaghavPal
      @RaghavPal  4 года назад

      HI Faizan, as informed, I will not be able to take personal call these days.

    • @yourworld4786
      @yourworld4786 4 года назад

      Automation Step by Step - Raghav Pal ok dear any other way dear

    • @yourworld4786
      @yourworld4786 4 года назад

      Automation Step by Step - Raghav Pal I only need few classes and will do payment instantly

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Faizan, as mentioned, I am engaged these days.

  • @chandhinichandran
    @chandhinichandran 7 лет назад

    Hi Raghav, can I run junit scripts in script mode?

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Chandhini, have not tried it but you can give it a try. You can also reach out to katalon studio support team. They reply soon.

  • @indiaonlineproducts2381
    @indiaonlineproducts2381 4 года назад

    Pls tell me how i can solve capcha from katalon with any third party help like 2captcha and anti captcha

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi, I will need to check on that.

  • @mayurkarnik310
    @mayurkarnik310 7 лет назад

    Hi raghav, Can u plz tell me how to create script using java?

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Mayur, i will try to cover this session soon.

    • @mayurkarnik310
      @mayurkarnik310 7 лет назад

      Gr8...thanks in advance

  • @adhongde1
    @adhongde1 7 лет назад

    variable value from one test case to another?

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Abhay, this should help you - forum.katalon.com/discussion/2049/can-we-pass-a-value-generated-in-a-test-case-to-another-test-case-as-a-input

  • @rakeshdangi2757
    @rakeshdangi2757 5 лет назад

    One working to many times Play in one click how to use

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi Rakesh, did you get your issue. Pls explain

  • @Deniz-ss1sv
    @Deniz-ss1sv 3 года назад

    :)

    • @RaghavPal
      @RaghavPal  3 года назад

      Thanks for watching Deniz

  • @mihirkadiya6636
    @mihirkadiya6636 6 лет назад

    Hey Raghav, Thanks! for this video
    Can you show me one example with use of "WebUI.verifyImagePresent()"
    because it is throws an error like beloaw
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See www.slf4j.org/codes.html#StaticLoggerBinder for further details.

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Mihir, will check, do you have more logs.

    • @mihirkadiya6636
      @mihirkadiya6636 6 лет назад

      hey raghav, i have posted question on katalon forum, may be you find something from that forum.katalon.com/discussion/10063/verify-image-present-throws-an-error#latest

    • @RaghavPal
      @RaghavPal  6 лет назад

      greate lets see if we get anything from there

    • @mihirkadiya6636
      @mihirkadiya6636 5 лет назад

      Hey Raghav, is there any update here?

  • @rakeshdangi2757
    @rakeshdangi2757 5 лет назад

    Katalon