I am getting the ‘Could not accept Changes’ modal window on clicking Studio Assist.
Can anybody help me to understand what could be the issue here?
Please refer to the screenshot.
I am getting the ‘Could not accept Changes’ modal window on clicking Studio Assist.
Can anybody help me to understand what could be the issue here?
Please refer to the screenshot.
@xuan.tran can you please take a look?
Hi @Obhi, which KS version are you using? And can you take a screenshot of the StudioAssist Preference? This happens when you click on the StudioAssist icon to open the chat window, right?
I am in 10.4.2
At this moment, I am getting this error for both cases -
1. If I click Studio Assist Icon from the menu.
Is there any way to revert any settings in Studio Assist?
This is what I see now-
(Refer the screenshot)
Pls select Katalon AI Service or any personal key you have. None is similar to disabling StudioAssist, so you cannot use it.
I did not select None and attempted to enter the values. What I’m trying to convey is that regardless of what I choose, the display remains unchanged and I’m unable to reset anything. For every selection, the screen stays the same as if it’s frozen. Your screen appears to be different from mine.
I have entered values after selecting Open-AI compatible provider , clicked apply and close but nothing happened.
@Obhi can you share with us the video and error log for us to troubleshoot? If you can, pls create a support ticket too so that our team can support you faster
The “Could not Accept Changes” modal with the message “The currently displayed page contains invalid values” typically occurs when StudioAssist is trying to accept generated code but encounters validation errors in the form or input fields.
Based on the Katalon documentation, this error is not explicitly documented as a known issue, but it can be caused by several factors related to how StudioAssist processes and validates the generated code.
| Cause | Details |
|---|---|
| Invalid Test Object References | The generated code contains references to test objects that don’t exist or have invalid paths in your Object Repository |
| Undefined Variables | StudioAssist generated code using variables that aren’t defined in your test case |
| Missing Object Repository Setup | Test objects haven’t been properly captured in the Object Repository before accepting changes |
| Project Context Issues | Large number of test objects (200+) causing StudioAssist to timeout or generate invalid references |
| Form Validation Errors | The test case editor is validating the generated code and finding syntax or reference errors |
| Proxy/Network Issues | Connection problems preventing proper validation of the generated code |
Source: Tips for using StudioAssist - FAQ
Before using StudioAssist to generate code:
Example prompt:
Write me a test case with the following steps:
1. Open browser to URL
2. Click the login button
3. Fill in username field
4. Fill in password field
5. Click submit button
Use these test objects:
- Login button: 'Page_Login/btn_Login'
- Username field: 'Page_Login/txt_Username'
- Password field: 'Page_Login/txt_Password'
- Submit button: 'Page_Login/btn_Submit'
Source: Tips for using StudioAssist
Make sure all variables are defined in your test case before accepting StudioAssist changes:
username, password, url)Example:
// Define variables first
String username = 'testuser'
String password = 'testpass'
String url = 'https://example.com'
// Then use StudioAssist to generate code using these variables
If you have a large project with many test objects (200+), this can cause validation issues:
Why: Large projects with many test objects can cause timeouts and invalid references.
If you’ve been using StudioAssist in the same conversation for multiple generations:
Why: Accumulated context from previous questions can cause validation errors.
According to the documentation, StudioAssist requires:
Check your setup:
If StudioAssist continues to fail, manually write the test code instead: