Katalon Studio v5.8 - It's time for the all-new API testing experience
Jacek
Katalon Apprentice
04/23/2018
edited April 23

Cannot run test - Keyword does not exist on platform

Hi,

every time I try to run a simplest test case (like open browser or click on element), I'm getting following message (regardless of browser):

Test Cases/New Test Case FAILED because (of) Keyword 'openBrowser' does not exist on platform 'web'

Test Cases/New Test Case.run:23

I'm using Katalon Studio 5.4.0 and I'm totally blocked.
Can anyone help me with that?

Upvote
Quote

Comments

  • Dragos Birla
    Katalon Apprentice
    05/03/2018
    Hi, I'm having the same issue.
    I've just freshly downloaded latest 5.4.1 Win64 package, opened it, and even the sample web project fails with "Test Cases/Main Test Cases/TC1_Verify Successful Login FAILED because (of) Keyword 'openBrowser' does not exist on platform 'web'"

    Please anyone guide us to solve this issue.
    Thanks!
    Upvote
    Quote
  • Vinh Nguyen
    Katalon Moderator
    05/04/2018
    How do you execute it, can you provide a screenshot showing your issue in this case?
    Upvote
    Quote
  • Dragos Birla
    Katalon Apprentice
    05/04/2018
    How do you execute it, can you provide a screenshot showing your issue in this case?
    Sure, here is the screenshot:

    I'm new to this, I don't know where to check what is the "platform" used - in this case it is stated 'builtin'.
    Please guide me what to configure, or to install in order to succeed using default keywords without errors like this.

    Thanks very much!
    Upvote
    Quote
  • Vinh Nguyen
    Katalon Moderator
    05/04/2018
    Can you also post for me a screenshot showing that test case in Scripting mode?
    Upvote
    Quote
  • Dragos Birla
    Katalon Apprentice
    05/04/2018
    Can you also post for me a screenshot showing that test case in Scripting mode?

    I've only used the Sample Web Testing Project generator from Sample Projects (right next to Getting Started tab)
    Upvote
    Quote
  • Vinh Nguyen
    Katalon Moderator
    05/04/2018
    I can't reproduce it and this is also a rare error. So my suggested workaround solution is to delete this Katalon Studio then re-install a fresh one, otherwise please post Katalon Studio logs which can be grabbed from here: <Katalon Studio folder>\config\.metadata\.log
    Upvote
    Quote
  • Dragos Birla
    Katalon Apprentice
    05/04/2018
    I can't reproduce it and this is also a rare error. So my suggested workaround solution is to delete this Katalon Studio then re-install a fresh one, otherwise please post Katalon Studio logs which can be grabbed from here: <Katalon Studio folder>\config\.metadata\.log
    I've attached the logs, will try to delete and re-install the latest version. Thanks for taking the time to support!

    Like Jacek posted first, it's the same behavior.. any keyword used in a test case will not be recognized by the 'platform' - called either 'web' or 'builtin'..
    .log 94.8K
    Upvote
    Quote
  • Róbert Morovský
    Katalon Apprentice
    05/10/2018
    Hi there, my college has a same issue on her computer. But if I try to run her project on my computer everything is working fine. Browser is opened and test runs. So it is no that rare error. She done fresh install and this "Keyword 'openBrowser' does not exist on platform 'web'" issue is still there. Thanks
    Upvote
    Quote
  • Róbert Morovský
    Katalon Apprentice
    05/15/2018
    Any update here? Thanks
    Upvote
    Quote
  • Dirk Pohle
    Katalon Apprentice
    05/18/2018
    Same issue here, Katlon 5.4.1 64 bit on Windows 10 x64
    Any Update ?
    Upvote
    Quote
  • Róbert Morovský
    Katalon Apprentice
    06/04/2018
    Hi Katalon team, any update is coming? this issue is really critical for us. Thank you
    Upvote
    Quote
  • Dirk Pohle
    Katalon Apprentice
    06/04/2018
    Hi Katalon team, any update is coming? this issue is really critical for us. Thank you
    Well maybe an idea .. i re installed catalon and did not change the path where the tests shall resist. in my first installation i changed the given path from USERDIR to the katalon folder itself. im my second installation i did not changed and then it worked fine !
    Upvote
    Quote
  • Róbert Morovský
    Katalon Apprentice
    06/26/2018
    we tried to reinstall to katalon 5.4.2 and moved a tests and didnt work out. Any update about fix for this issue? Or does anybody know what is the root cause of it? Many thanks
    Upvote
    Quote
  • Róbert Morovský
    Katalon Apprentice
    07/13/2018

    Hi Katalon,
    please help us here, one of my team member stil have this issue. And we dont know how to fix it. 

    What this error means? 
    Keyword "openBrowser" does not exist on platform 'web'

    Thank you.
    R.
    Upvote
    Quote
  • Aleksander Kovač
    Katalon Apprentice
    08/02/2018
    Hi,
    I had a similar problem:
    WebUI.executeJavaScript("window.open(arguments[0]);", Arrays.asList(fullyQualifiedURL),FailureHandling.STOP_ON_FAILURE);
    Keyword 'executeJavascript' does not exist on platform 'web'

    The solution was to remove the failure handling argument:
    WebUI.executeJavaScript("window.open(arguments[0]);", Arrays.asList(fullyQualifiedURL));

    So this seems a bug.
    Upvote
    Quote
  • kazurayam
    Katalon Evangelist
    08/03/2018
  • Aleksander Kovač
    Katalon Apprentice
    08/06/2018
    Hi,

    I rechecked - it is not copy paste - the issue is in Katalon. Version: 5.5.0
    Upvote
    Quote
  • kazurayam
    Katalon Evangelist
    08/06/2018
    edited August 6
    'executeJavascript' and 'executeJavaScript' --- why you have this inconsistency? Possibly your latest source code is not yet compiled by Groovy compiler in Katalon Studio.

    I would suggest to you to

    (1) stop Katalon Studio
    (2) delete the <your project>/bin directory and files underneath
    (3) restart Katalon Studio; open your project 
    (4) try running you test case

    I mean, you should ensure your source codes are compiled from scratch. 
    Upvote
    Quote
  • Aleksander Kovač
    Katalon Apprentice
    08/10/2018
    The issue is in Katalon code...
    Upvote
    Quote
  • kazurayam
    Katalon Evangelist
    08/10/2018
    edited August 10
    Aleksander,

    If you are sure you have encountered a bug in Katalon, then you should initiate another post in the "Bug Reports" category. You should follow the format of Bug Reports as described at:
    https://forum.katalon.com/discussion/4405/read-this-first-before-reporting-an-issue-bug

    You should provide enough detail of your case (code, log, html etc) so that the Katalon team could reproduce your problem their side.
    Upvote
    Quote
  • Aleksander Kovač
    Katalon Apprentice
    08/10/2018
    Thanks.
    Upvote
    Quote
  • Róbert Morovský
    Katalon Apprentice
    08/13/2018
    Hi Aleksander, please provide a link to reported bug about this issue. I would like to see a comments or action needed to fix this issue. Many thanks

    BTW, I tried what kazurayam said: 
    'executeJavascript' and 'executeJavaScript' --- why you have this inconsistency? Possibly your latest source code is not yet compiled by Groovy compiler in Katalon Studio.

    I would suggest to you to

    (1) stop Katalon Studio
    (2) delete the <your project>/bin directory and files underneath
    (3) restart Katalon Studio; open your project 
    (4) try running you test case

    I mean, you should ensure your source codes are compiled from scratch. 
    But it did NOT help. Stil same issue: Keyword "openBrowser" does not exist on platform 'web'
    Thanks
    Upvote
    Quote
  • Aleksander Kovač
    Katalon Apprentice
    08/16/2018
Sign In or Register to comment.