Skip to main content
Share Your Experience: Take the 2024 Developer Survey
6 votes
Accepted

Is this a good re-testing strategy for Katalon Studio?

It is a common practice, but it should be handled with care. Some things worth thinking about- keep track of how many retries were made, it could represent a real bug and not a transient problem. ...
Rsf's user avatar
  • 7,091
6 votes

Is this a good re-testing strategy for Katalon Studio?

Do the test cases test a functionality representing a flow? If yes, then executing only failed test cases the second times does not test the functionality properly. If the test cases are to test one ...
Rishikesh's user avatar
  • 885
6 votes
Accepted

testing with loops

Whatever the reason - if you check for 400 things in a loop you can only find 1 defect at a time because your test will throw an assertion error. I suggest using something like DataProvider from ...
Moro's user avatar
  • 1,052
4 votes

Actual Steps in Step Definition or Call Test Cases in Step Definition, What's the Best Practice?

Katalon has an example project on github: https://github.com/katalon-studio-samples/katalon-bdd-cucumber-tests Although I find the directory structure hard to navigate the feature example does follow ...
Niels van Reijmersdal's user avatar
4 votes

Actual Steps in Step Definition or Call Test Cases in Step Definition, What's the Best Practice?

I personally divide the logic into three levels: feature file (Cucumber), step definition (Cucumber + Java), page objects (Selenium and Java). Cucumber separates business logic from the ...
Mate Mrše's user avatar
  • 4,119
3 votes

Calling a test suite from another Test Suite/Test Case

You could just split the calling suite into pre and post steps. Then your runner could run Pre Suite The Test Suite you wanted to call Post Suite.
Amias's user avatar
  • 1,202
3 votes

BDD Given - How do you set the starting page?

Given is your setup, it brings the system under test in a state you can start doing the action you want to test. The given part describes the state of the world before you begin the behavior you're ...
Niels van Reijmersdal's user avatar
2 votes
Accepted

How to find an element which doesn't have proper attribute

@FindBy(xpath = "//*[@class='prompt']/..") WebElement choiceHeader; WebDriverWait wait = new WebDriverWait(driver,30); wait.until(ExpectedConditions.visibilityOf(choiceHeader)); ...
Gooner4Life's user avatar
2 votes
Accepted

Using Selenium commands in Katalon

you need to import selenium class in the katalon script window for example: to use "Webdriver" import org.openqa.selenium.WebDriver as WebDriver WebDriver driver = DriverFactory.getWebDriver() ...
Vel Guru's user avatar
  • 526
2 votes
Accepted

Is there a way to check if an external program is running from Katalon Studio?

What about checking if the process is running by using a CustomKeyword ? In your Keyword: @Keyword boolean processIsRunning(String processName) { def sout = new StringBuilder(), serr = new ...
Marsso's user avatar
  • 101
2 votes

I Wanted to know if we can use Katalon for Cucumber BDD frame work but, with Java and not Groovy scripts?

According to the documentation BDD steps can also be implemented in Java: Step Definitions can be written in any Cucumber-supported programming languages including Groovy and Java. https://...
Niels van Reijmersdal's user avatar
2 votes
Accepted

How can I check if a text box is empty using Katalon Studio (or Selenium)?

Try this, get the value inside the input box and compare. WebElement A = driver.findElementById("locator"); String text = A.getAttribute("value"); if(text.isEmpty()){ System.Out.Println("...
Prasanna venkatesh's user avatar
2 votes

Getting different results using selenium and iFrames on Firefox 63, Chrome 69 and Chrome 70

Have you updated chrome driver as well? – Alexey R. Oct 30 '18 at 16:13 Resolved ! Upgrading to Chromedriver 2.43 did the trick. Latest Release: ChromeDriver 2.43 Supports Chrome v69-71 Changes ...
fgrossin's user avatar
2 votes

API Management Tool Recommendation

For functional API testing you can consider using SoapUI, it provides unlimited workspaces/projects and immense features list even for open-source free version including assertions, mocks, scripting, ...
Dmitri T's user avatar
  • 13.5k
1 vote

Katalon - sharing a project - how bad?

Because I think tests should be versioned against the application code. So that if you fork, or run multiple versions of your applications (e.g. v1 and v2) for different clients you can still run the ...
Niels van Reijmersdal's user avatar
1 vote

Is anybody using Katalon tool for automation?

Katalon is a GUI which uses Selenium framework. Definitely you will need to get to know some selenium code basics to adequately use the tool. There is no magical tool for test automation where you can ...
Prome's user avatar
  • 1,015
1 vote

Katalon Studio 6.2.2 by default generates scripts in groovy language, is there a setting using which scripts can be generated by default in Java?

Yes!! you can export scripts in JAVA, by using a chrome browser plugin Katalon Recorder Follow this link for steps: https://stackoverflow.com/a/50322028/1976848
Himanil Gupta's user avatar
1 vote

Are there best practices for archiving test output reports?

Today's storage is incredibly cheap, so instead of agonizing over how long to keep stuff, just zip it and back it up. Or even just back it up. Save for 10 years. Done. You have several options. ...
Michael Durrant's user avatar
1 vote

Unable to run application on IE while testing with Katalon

Configure the IE browser like given in the link and try. Make sure your IE version is more than 7. In Katalon - go to Project -> Settings -> Execution -> Default -> IE – click on Add and add ...
Prasanna venkatesh's user avatar
1 vote

What is a faster alternative to maintaining an automation testing suite using codeception & php?

I don't believe recorders will be faster in the short, nor the long run. Recorded tests need to be re-recorded, are harder to debug. Unless it is easier to get a lot of non-technical people who can ...
Niels van Reijmersdal's user avatar
1 vote

Katalon Studio integration with Squash TA

Short answer : no. Squash TA currently provides connectors out of the box to Selenium Sahi SOAP UI Databases/filesystem. There is some paid plugins available, provided by the editor : Ranorex UFT ...
Florent's user avatar
  • 11
1 vote
Accepted

Screenshot with Katalon and Chrome headless mode

After looking through https://docs.oracle.com/javase/tutorial/2d/images/saveimage.html https://stackoverflow.com/questions/19871955/java-io-filenotfoundexception-the-system-cannot-find-the-file-...
Mate Mrše's user avatar
  • 4,119
1 vote

Katalon/Selenium test failing with IE - "Cannot find the current window; Selenium IE driver connection lost"

The answer will depend on the version of Katalon you are using and the script. So if you are running a test and the script closes the browser, then the next script needs to open it. If however the ...
Bob Small's user avatar
1 vote

Is this a good re-testing strategy for Katalon Studio?

I suggest you identify the elements under test which you know lead to flakiness and test those separately from other tests. If the said tests repeatedly fail, then it's up to the business whether or ...
Will P's user avatar
  • 111
1 vote

Is this a good re-testing strategy for Katalon Studio?

My best advice is to find the route cause of all failures, being random or not and fix them once and for all. I remember a case where a tiny bit of information on a web page was retrieved from an ...
Pieter A's user avatar
  • 323
1 vote

Using Selenium commands in Katalon

How to import Selenium IDE test cases into Katalon Studio In the Katalon Selenium IDE, select the test case that you want to export. Select File > Save test case as. We need to save the test case as ...
Nic Endo's user avatar
  • 151
1 vote
Accepted

Test breaks with FailureHandling set to OPTIONAL with WebUI.verifyElementPresent

Your element seems to be present, but unreachable. Use verifyElementClickable(...) instead of verifyElementPresent(...) Documentation: Reference Document
Marsso's user avatar
  • 101
1 vote
Accepted

Test flakiness in Katalon Studio

You have to use: Wait For Element Not Visible For this element <div class="ui-widget-overlay ui-front"></div> It appears on the front-end most probably when there is some back end ...
chesthar's user avatar
  • 185
1 vote

How to modify the katalon Reports

You can also change the template of the email that will be sent after a test suite is executed. Project-Settings-Email-Template
rakesh kumar's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible