i’m trying to get better Messages from Katalon into Teams. Thne data from the plugin is not setisfying for me. I like to integrate Testnames and Date Time tohether with logos into the Teams messages.
I found Microsoft Adaptive Cards, which are working good from clean Selenium, but i got errors in Katalon. Anybody tried this, and/or can give some examples.
i try to send a adaptive Card via post request to Teams. I have a static http body, whichis received by Teams. Thats the working part. I like to include variables in the cards, to infor about f.e. testname, timestamp or test result. here is the http body code:
Reason:
groovy.lang.MissingPropertyException: No such property: schema for class: Script1724330535729
at orderInternetO2Cable250Fb6660.run(orderInternetO2Cable250Fb6660:213)
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.TestCaseExecutor.runScript(TestCaseExecutor.java:448)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:439)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:418)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:410)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:285)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:137)
at TempTestCase1724335197763.run(TempTestCase1724335197763.groovy:25)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
It is great to hear from you after a while. Thank you for sharing your concern.
At this moment, Katalon has not yet provided much support for Teams integration. Therefore, your customized code will cause the error. But we also have the plan to improve Teams integration in v10.1.0, Dec 2024 this year tentatively. Hope this can be clear. Thank you!
thanks for the answer. I found a workaround.
I’m not using the code the Test, i forma a post request
with an adaptive card http body, passing some
variables from the test.