ATS - Getting error while clicking on a Widget

1
Hey there, I tried recording the test steps but was getting the below error while running it.   Execution started at 13 Dec 2021, 10:43:25 (local Amsterdam time) Execution stopped at 13 Dec 2021, 10:43:50 (local Amsterdam time) End to End flow: at 18: Click Create New Project button: with Widget Name: actionButton5 Click Widget Caused by: com.mansystems.ATS.Runner.exceptions.RunnerException: javascript error: mtf is not defined JavaScript stack: ReferenceError: mtf is not defined at eval (eval at executeAsyncScript (:448:5), <anonymous>:3:20) at eval (eval at executeAsyncScript (:448:5), <anonymous>:3:115) at executeAsyncScript (<anonymous>:448:26) at <anonymous>:464:29 at callFunction (<anonymous>:352:33) at <anonymous>:362:23 at <anonymous>:363:3 (Session info: chrome=75.0.3770.80) Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: '10-144-226-234', ip: '10.144.226.234', os.name: 'windows', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_181' Driver info: driver.version: unknown Command duration or timeout: 0 milliseconds at com.mansystems.ATS.Runner.definitions.functions.FunctionImpl.run(FunctionImpl.java:75) at com.mansystems.ATS.Runner.definitions.functions.FunctionImpl$1.run(FunctionImpl.java:39) at com.mansystems.ATS.Runner.execution.ExecutionContextRoutineFromTestCaseOrAction.execute(ExecutionContextRoutineFromTestCaseOrAction.java:174) at com.mansystems.ATS.Runner.execution.ExecutionContextTestStep.executeRegularRoutineAndSetReturnValue(ExecutionContextTestStep.java:150) at com.mansystems.ATS.Runner.execution.ExecutionContextTestStep.execute(ExecutionContextTestStep.java:125) at com.mansystems.ATS.Runner.execution.ExecutionContextTestCase.executeTestSteps(ExecutionContextTestCase.java:205) at com.mansystems.ATS.Runner.execution.ExecutionContextTestCase.run(ExecutionContextTestCase.java:160) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at com.mansystems.ATS.Runner.execution.ExtendedFuture.run(ExtendedFuture.java:100) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: com.mansystems.ATSRunner.org.openqa.selenium.JavascriptException: javascript error: mtf is not defined JavaScript stack: ReferenceError: mtf is not defined at eval (eval at executeAsyncScript (:448:5), <anonymous>:3:20) at eval (eval at executeAsyncScript (:448:5), <anonymous>:3:115) at executeAsyncScript (<anonymous>:448:26) at <anonymous>:464:29 at callFunction (<anonymous>:352:33) at <anonymous>:362:23 at <anonymous>:363:3 (Session info: chrome=75.0.3770.80) Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: '10-144-226-234', ip: '10.144.226.234', os.name: 'windows', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_181' Driver info: driver.version: unknown Command duration or timeout: 0 milliseconds at jdk.internal.reflect.GeneratedConstructorAccessor238.newInstance(Unknown Source) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mansystems.ATSRunner.org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214) at com.mansystems.ATSRunner.org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166) at com.mansystems.ATSRunner.org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40) at com.mansystems.ATSRunner.org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80) at com.mansystems.ATSRunner.org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44) at com.mansystems.ATSRunner.org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at com.mansystems.ATSRunner.org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at com.mansystems.ATSRunner.org.openqa.selenium.remote.RemoteWebDriver.executeAsyncScript(RemoteWebDriver.java:506) at com.mansystems.ATS.Runner.definitions.functions.web.WebFunctionsCollection.executeJavascript(WebFunctionsCollection.java:176) at com.mansystems.ATS.Runner.definitions.functions.web.ExecuteJavascriptWebElement.runInternal(ExecuteJavascriptWebElement.java:24) at com.mansystems.ATS.Runner.definitions.functions.widget.find.FindAssertWidgetNegatableFunction.runInternal(FindAssertWidgetNegatableFunction.java:32) at com.mansystems.ATS.Runner.definitions.functions.widget.other.ClickWidgetFunction.runInternal(ClickWidgetFunction.java:24) at jdk.internal.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at com.mansystems.ATS.Runner.definitions.functions.FunctionReflectionHelper.invokeRunInternalMethod(FunctionReflectionHelper.java:31) at com.mansystems.ATS.Runner.definitions.functions.FunctionImpl.run(FunctionImpl.java:69) ... 12 more Caused by: com.mansystems.ATSRunner.org.openqa.selenium.JavascriptException: javascript error: mtf is not defined JavaScript stack: ReferenceError: mtf is not defined at eval (eval at executeAsyncScript (:448:5), <anonymous>:3:20) at eval (eval at executeAsyncScript (:448:5), <anonymous>:3:115) at executeAsyncScript (<anonymous>:448:26) at <anonymous>:464:29 at callFunction (<anonymous>:352:33) at <anonymous>:362:23 at <anonymous>:363:3 (Session info: chrome=75.0.3770.80) Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: '10-144-226-234', ip: '10.144.226.234', os.name: 'windows', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_181' Driver info: driver.version: unknown Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'd5155987-58d9-4160-42a6-d14f', ip: '10.255.150.191', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-81-generic', java.version: '11.0.10' Driver info: driver.version: unknown Thanks & Regards Abhishek
asked
1 answers
0

Use Mendix Wait before you perform – Click Create New Project button: with Widget Name: actionButton5

answered