The tool supports recording the failed test case, running the error test step for you to analyze and fix the issue directly in the recording mode. It is possible to use the ‘Recording’ feature of Katalon Studio for debugging.
Here are a few options of how you can check the reasons for failure in Katalon Studio:įor complex cases, Katalon Studio offers a debug mechanism that works similarly to the code debug mechanism in the advanced developer IDE.
Try changing the verification text to “ Make another Appointment.” to make the test case fail.
Refer to this doc of how to view execution logs. You can then check the execution results in the Log Viewer. WebUI.verifyElementText(findTestObject('Object Repository/Page_CURA Healthcare Service/h2_Make Appointment'), 'Make Appointment', FailureHandling.STOP_ON_FAILURE)
Note that this kind of script can be done in both Manual and Script mode. You can leverage Katalon Studio’s rich set of verification keywords to work on that requirement.
To get the result of the login process, you need to add the verification script to the test case.Īs the fundamental of scripting in Katalon Studio for the first test case has been explained, we can move on to another test case: “ Make Appointment” header verification.
Test cases in Katalon Studio can be written in pure Selenium format: WebDriver driver = new ChromeDriver() ĭriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS) ĭriver.findElement(By.id("btn-make-appointment")).click() ĭriver.findElement(By.id("txt-username")).clear() ĭriver.findElement(By.id("txt-username")).sendKeys("John Doe") ĭriver.findElement(By.id("txt-password")).clear() ĭriver.findElement(By.id("txt-password")).sendKeys("ThisIsNotAPassword") ĭriver.findElement(By.id("btn-login")).click() To create a test case, right-click Test Cases > New > Test Case
Insert the project’s name, the location to store its data and description (optional). Go to File > New > Project, then select your preference. You can choose to create your new project either from scratch or from one of our project samples here. Make sure you already downloaded Katalon Studio at How to start testing your web with Katalon Studio Step 1. This article will guide you through the basic steps to start testing your web in Katalon Studio. Katalon Studio comes in two versions: the Standard free Katalon Studio and Katalon Studio Enterprise for teams at scale. It makes automated testing easy for those with minimal coding skills, yet inclusive enough to help you work on advanced projects. Katalon Studio is a free and comprehensive test automation tool for web, mobile, API, and desktop projects.
This task requires testers to have sufficient skills and tools to perform an automation project for a website effectively. All newly developed websites need to be tested for its functionality and stability.