Webrecorder : "no such property" when replaying existing script

Hello,
when trying to modify an existing test case with webrecorder, I get stucked because properties are not taken in account.

Any idea on how to make it working ?

Error message in web recorder :

Altough, my variables seem to be well detected by webrecorder ; here is tab variables :

extract of webrecorder log :

2021-12-08 15:58:55.209 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2021-12-08 15:58:55.214 DEBUG testcase.Authentification si besoin - 14: warn_MSG = getText(findTestObject(“Object Repository/Authentification/Page_Reflex - QCSGERFX023/pop_warn_txt_div”))
2021-12-08 15:58:55.527 DEBUG testcase.Authentification si besoin - 15: if (warn_MSG)
2021-12-08 15:58:55.527 INFO c.k.katalon.core.main.TestCaseExecutor - END CALL Test Cases/Common Test Cases/Authentification si besoin
2021-12-08 15:58:55.527 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2021-12-08 15:58:55.539 ERROR c.k.k.core.main.WSVerificationExecutor - ? Verification FAILED.
Reason:
groovy.lang.MissingPropertyException: No such property: loadCode for class: WSVerification1638975510399
at WSVerification1638975510399.run(WSVerification1638975510399:21)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.WSVerificationExecutor.runScript(WSVerificationExecutor.java:178)
at com.kms.katalon.core.main.WSVerificationExecutor.doExecute(WSVerificationExecutor.java:172)
at com.kms.katalon.core.main.WSVerificationExecutor.processExecutionPhase(WSVerificationExecutor.java:155)
at com.kms.katalon.core.main.WSVerificationExecutor.accessMainPhase(WSVerificationExecutor.java:147)
at com.kms.katalon.core.main.WSVerificationExecutor.execute(WSVerificationExecutor.java:129)
at com.kms.katalon.core.main.TestCaseMain.runWSVerificationScript(TestCaseMain.java:151)
at com.kms.katalon.core.main.TestCaseMain$runWSVerificationScript$0.call(Unknown Source)
at TempTestCase1638975508724.run(TempTestCase1638975508724.groovy:25)

2021-12-08 15:58:55.540 INFO c.k.k.core.main.WSVerificationExecutor - END Verification

extract of testcase :

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import static com.kms.katalon.core.testobject.ObjectRepository.findWindowsObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords as Windows
import internal.GlobalVariable as GlobalVariable
import org.openqa.selenium.Keys as Keys

WebUI.callTestCase(findTestCase(‘Common Test Cases/Authentification si besoin’), [:], FailureHandling.STOP_ON_FAILURE)
WebUI.callTestCase(findTestCase(‘Test Cases/Load/HFCG01 - Manage loads’), [(‘loadCode’) : loadCode, (‘loadDate’) : loadDate],
FailureHandling.STOP_ON_FAILURE)

WebUI.rightClick(findTestObject(‘Object Repository/Common Object/table_row_col’, [(‘titleWindow’) : ‘HFCG01’, (‘rowNo’) : ‘1’
, (‘columnNo’) : ‘1’]))

WebUI.click(findTestObject(‘Object Repository/Common Object/menu’, [(‘NomEcran’) : ‘HFCG01’, (‘labelDuMenu’) : ‘Preparation’]))

WebUI.delay(1)

WebUI.click(findTestObject(‘Object Repository/Common Object/menu’, [(‘NomEcran’) : ‘HFCG01’, (‘labelDuMenu’) : ‘Transfer to dock…’]))

WebUI.click(findTestObject(‘Object Repository/Page_Reflex - QCSGERFX022/HFCG35_input_Loading_priority_list’))

WebUI.click(findTestObject(‘Object Repository/Page_Reflex - QCSGERFX022/HFCG35_input_Loading_priority_value_0’))

//WebUI.sendKeys(null, priority)
//WebUI.sendKeys(findTestObject(‘Object Repository/Page_Reflex - QCSGERFX022/HFCG35_input_Loading_priority_list’), Keys.chord(Keys.DOWN))
/*
WebUI.sendKeys(findTestObject(‘Object Repository/Page_Reflex - QCSGERFX022/HFCG35_input_Loading_priority_list_values’), priority)

WebUI.sendKeys(null, Keys.chord(Keys.ENTER))
*/
WebUI.delay(1)

WebUI.click(findTestObject(‘Object Repository/Page_Reflex - QCSGERFX022/HFCG35_div_Confirm’))

No idea of how to avoid this message ??

2022-03-08 18:23:05.574 ERROR c.k.k.core.main.WSVerificationExecutor - ? Verification FAILED.
Reason:
groovy.lang.MissingPropertyException: No such property: sscc for class: WSVerification1646760185417

It is really blocking me to modify existing scripts !

To me, the above error message indicates that something is wrong with the parameters that you have for a method. Either, you have the wrong data type, too many or too few parameters or possibly a misspelling of a variable in the parameter list (groovy is case-sensitive, so an uppercase letter is not the same as a lowercase letter). Do you see anything that has “sscc”?

Hello @grylion54,
sscc in another variable which were declared in variables tab such as loadDate and loadCode in my first example (it was another script with other variables, but same behavior)

hello @Shin, are you able to reproduce my problem or should I help to investigate ?