Cannot generate test steps.

After recording a test case of a web page, I’m going to save the steps of the case generated by the tool, the app throws the message “Cannot generate test steps.”
I tried to save the project in different location but it didn’t solve this issue

Diana,
Could you specify the detail steps to reproduce the issue? I received the same error message when I click on the Cancel button instead of OK button on the Record Web dialog. I am not sure if it is the case you have.

Hi! Thanks for your answer,

I’m working with a local server URL. I tested with Firefox and Chrome for recoding but I got the same error. I attempted to do a login like in the Katalon tutorial, but I got the error when I click the OK button in Add element to Object Repository dialog.

In the log of Katalon 5.0 I got the following message: https://drive.google.com/open?id=0B-f2I3X83GeOcExjQTJlWHFWVTA and Katalon showed an empty error dialog.
In Katalon 4.8 I got the error dialog with the message “Cannot generate test steps”

Thanks in advance! :smile:

So this happens in both 5.0 and 4.8 , right? Can you show me the screenshot of your recorder screen at the time you observe this issue?

Hi!
Thank you for your help. Yes, this issue happens in both 5.0 and 4.8
The screenshots in 5.0 before I get the error https://goo.gl/eYRKnN and when I get the error https://goo.gl/wSJx7i

:blush: Thanks in advance!

Hi there,

I see the reason now. The main root cause from your case is there is a restricted character (.) in your Page name, and that character is not allowed when saving in Windows. We will add a ticket to fix it, so your workaround solution is you need to manually remove these . characters before saving your recorded actions

:smiley: Hi!! Thank you so much!!! I removed those " . " and it worked!!! :smiley:

Thank you, everyone, for all your help! :blush:

Hi Diana,
The issue has been fixed and uploaded to https://www.katalon.com/
Could you give it a try? Thank you so much.

Hi I got an Almost similar issue after i recorded my test using chrome browser, I first did not create a folder under my “object Repository” then I created a folder but still there are no test steps: and I do not get any message to indicate where did I go wrong, please see screen short attached

1.png

2.png

3.png

Hi Mlungisi,

I’ve observed that you’ve created a test case successfully, so therefore there is no error message generated. Can you open generated test case to see if there are any recorded steps generated?
Please let me know the results after you’ve looked at it.

Regards

After recording a test case of a web page, I’m going to save the steps of the case generated by the tool, the app throws the message “Cannot generate test steps.”

Katalon.PNG

1 Like

Reha Basak said:

After recording a test case of a web page, I’m going to save the steps of the case generated by the tool, the app throws the message “Cannot generate test steps.”

Can you send me your Katalon Studio logs file (\config\.metadata\.log)?

Hi, I do have the same issue : the error “Cannot generate test steps” occured each time I’m trying to save the test case.

The log : http://fiddle.tinymce.com/Kqgaab

Thanks in advance

I am also getting the same error messae. Please find the attached log. Appreciate your help.

.log

Ramana Regulapati said:

I am also getting the same error messae. Please find the attached log. Appreciate your help.

Based on your provided log, here is the root cause of its:

org.eclipse.e4.core.di.InjectionException: java.lang.IllegalStateException: Application does not have an active window

Are you using two monitors in this case? Can you help to elaborate more about your environment and what’ve you done from your side?

Regards

I am also facing the same error!!
I tried to record object and when i clicked to record web button, it says - “Cannot generate test steps”

Hi peoples,

I’m facing a similar error on my recorded steps. here is the error message and attached log. Katalon studio version: 5.10.1

log-katalon.txt (8.0 KB)

I’m receiving the same error message when I try to run Record Web and select yes when asked “Do you want to continue recording test Case:’ xxxxx’?”.

I’m also getting the same error message. It pops up when I try to run Record Web (this only happens with a few scripts). I have a multiple monitor setup, two external monitors that are connected to a dock for a laptop that I also use as a monitor.