Katalon Studio Testing
БесплатноБез исполняемых скриптовНе проверенComprehensive testing patterns for Katalon Studio including codeless record-and-playback, Groovy scripted testing, custom keywords, data-driven testing…
от PramodDutta★ 253 звезды на GitHubОб этом скилле
Katalon Studio Testing Skill
You are an expert in Katalon Studio test automation. When the user asks you to create test automation with Katalon, build hybrid codeless and scripted test suites, integrate with Katalon TestOps, or optimize Katalon test execution, follow these detailed instructions.
Core Principles
- Hybrid approach -- Use codeless record-and-playback for simple flows and Groovy scripting for complex logic. Neither approach alone covers all testing needs.
- Object repository management -- Maintain a centralized, well-organized Object Repository with meaningful names and multiple locator strategies for self-healing.
- Custom keyword libraries -- Extract reusable logic into custom keywords to avoid duplication across test cases and improve maintainability.
- Data-driven test design -- Separate test data from test logic using Katalon's built-in data file support, external Excel files, or database connections.
- Profile-based configuration -- Use execution profiles to manage environment-specific settings (URLs, credentials, feature flags) without modifying test code.
- Parallel execution planning -- Design tests to be independent and stateless so they can run in parallel across browsers and devices without interference.
- TestOps integration -- Connect Katalon Studio to TestOps for execution scheduling, result aggregation, defect tracking, and team collaboration.
Project Structure
katalon-project/
Test Cases/
Smoke/
TC_Login_Valid_Credentials
TC_Homepage_Navigation
TC_Search_Basic
Regression/
Auth/
TC_Login_Multiple_Roles
TC_Password_Reset_Flow
TC_Session_Management
Checkout/
TC_Cart_Operations
TC_Payment_Processing
TC_Order_History
API/
TC_API_User_CRUD
TC_API_Authentication
TC_API_Error_Handling
Test Suites/
TS_Smoke_Suite
TS_Regression_Full
TS_API_Suite
TS_Cross_Browser
Object Repository/
Pages/
LoginPage/
input_Email
input_Password
button_Login
label_ErrorMessage
DashboardPage/
heading_Welcome
nav_MainMenu
link_Settings
Test Data/
login_credentials.xlsx
product_catalog.csv
api_payloads.json
Keywords/
com.qa.keywords/
WebUIKeywords.groovy
APIKeywords.groovy
DataKeywords.groovy
AssertionKeywords.groovy
Profiles/
default.glbl
staging.glbl
production.glbl
Reports/
.gitkeep
Custom Keywords Library
// Keywords/com.qa.keywords/WebUIKeywords.groovy
package com.qa.keywords
import com.kms.katalon.core.annotation.Keyword
import com.kms.katalon.core.testobject.TestObject
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.kms.katalon.core.util.KeywordUtil
import org.openqa.selenium.WebDriver
import com.kms.katalon.core.webui.driver.DriverFactory
public class WebUIKeywords {
@Keyword
def loginWithCredentials(String email, String password) {
TestObject emailField = findTestObject('Pages/LoginPage/input_Email')
TestObject passwordField = findTestObject('Pages/LoginPage/input_Password')
TestObject loginButton = findTestObject('Pages/LoginPage/button_Login')
WebUI.setText(emailField, email)
WebUI.setEncryptedText(passwordField, password)
WebUI.click(loginButton)
WebUI.waitForPageLoad(30)
KeywordUtil.logInfo("Login attempted with email: ${email}")
}
@Keyword
def verifyElementTextContains(TestObject testObject, String expectedText) {
String actualText = WebUI.getText(testObject)
if (!actualText.contains(expectedText)) {
KeywordUtil.markFailed("Expected text '${expectedText}' not found in '${actualText}'")
}
KeywordUtil.logInfo("Text verification passed: found '${expectedText}'")
}
@Keyword
def waitForElementAndClick(TestObject testObject, int timeout = 30) {
WebUI.waitForElementClickable(testObject, timeout)
WebUI.click(testObject)
KeywordUtil.logInfo("Clicked element after waiting: ${testObject.getObjectId()}")
}
@Keyword
def takeScreenshotOnFailure(String testCaseName) {
String screenshotPath = "Reports/Screenshots/${testCaseName}_${System.currentTimeMillis()}.png"
WebUI.takeScreenshot(screenshotPath)
KeywordUtil.logInfo("Screenshot saved: ${screenshotPath}")
}
@Keyword
def switchToNewWindow() {
WebDriver driver = DriverFactory.getWebDriver()
String originalHandle = driver.getWindowHandle()
Set<String> allHandles = driver.getWindowHandles()
for (String handle : allHandles) {
if (!handle.equals(originalHandle)) {
driver.switchTo().window(handle)
KeywordUtil.logInfo("Switched to new window")
return
}
}
KeywordUtil.ma
Установить Katalon Studio Testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Katalon Studio Testing?
Comprehensive testing patterns for Katalon Studio including codeless record-and-playback, Groovy scripted testing, custom keywords, data-driven testing, cross-browser execution, and CI/CD integration with Katalon TestOps.
Как установить скилл Katalon Studio Testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Katalon Studio Testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic