Migrating Selenium Scripts to Katalon Studio

Hello, I am new to Katalon. I am trying to migrate Selenium scripts to Katalon. However I am facing few issues
image
image

1 Like

Are you paid user of katalon?

Have you followed our documentation? Selenium/TestNG/JUnit Migration to Katalon Studio | Katalon Docs

Tried as per the documentation still getting the below errors while building gradle
"* What went wrong:
Plugin [id: ‘com.katalon.gradle-plugin’, version: ‘0.0.7’] was not found in any of the following sources:

  • Gradle Core Plugins (plugin is not in ‘org.gradle’ namespace)
  • Included Builds (No included builds contain this plugin)
  • Plugin Repositories (could not resolve plugin artifact ‘com.katalon.gradle-plugin:com.katalon.gradle-plugin.gradle.plugin:0.0.7’)
    Searched in the following repositories:
    Gradle Central Plugin Repository"
    Tried with all available versions as well, still getting the same error, any quick help would be appreciated

Yes i am a paid user

Can you raise a ticket with katalon enterprise support and they should fast track your issue with fix

Change the build.gradle as:

plugins {
  id("com.katalon.gradle-plugin") version "0.1.2"
}

As Gradle - Plugin: com.katalon.gradle-plugin shows, the current version is 0.1.2.

This artifact id looks wrong. I do not see why you got this wrong artifact id on your machine.

In order to resolve this situation, you may want to clear out the cache of Gradle plugins on your machine so that you can force Gradle to download all plugins you need fresh.

On *nix systems (Linux, macOS, …), you can execute this command:

rm -rf $HOME/.gradle/caches/

After doing this, you might also need to kill the running Gradle Daemon:

./gradlew --stop 

or just stop and restart your PC.

We have tried with below plugin version. I am facing the same issue.
plugins {
id(“com.katalon.gradle-plugin”) version “0.1.2”
}

Could you please provide windows command for clearing out cache of Gradle plugins.

CS team will reach out and assist you with this matter.

Hi Madipadaga,

Could you please help to drop an email to support@katalon.com and summarize your issues so our Support Agent can assist you asap?

1 Like

Let me assume that you use a Windows user name “madipadaga” on your Windows PC.

  1. Open Windows Explorer
  2. open the folder C:\Users\madipadaga
  3. In the folder, you will find a folder C:\Users\madipadaga\.gradle\caches
  4. right-click the caches folder, choose delete
  5. then the caches folder will be removed.

When you execute the "gradle katalonCopyDependencies" command, the caches folder will be silently recreated with newly downloaded plugins.

1 Like