Not able to run recording

Hi ,

I’m new to Workfusion RPA.
I have just installed WorkFusion RPA. I have tried a simple recording " Double Click on the Chrome and close the Chrome browser".

When i’m trying to run the recording i’m getting the below error:-
Error executing MouseClickAction
com.workfusion.studio.rpa.recorder.playback.PlaybackException: Error executing TemplateAction[templateName=MouseClickAction.ftl,id=2,name=Optional[MouseClickAction],parent=1,arguments=ActionArguments[clickCount=[2],exactMatch=[true],fullImageName=[1546767388674.png],controlName=[Google Chrome],pollingInterval=[300],searchInFrames=[false],modifiers=[256],type=[CONTROL],when=[1546767388945],button=[1],paramString=[NativeMouseEvent{type=RELEASE, button=1, position=(26, 224), clickCount=1} NativeInputEvent{window=WindowDTO{hWnd=‘131386’, pid=‘3536’, className=‘Progman’, title=‘Program Manager’, location=(0, 0), size=(1024х768)}, component=ComponentDTO{name=‘Google Chrome’, className=‘ListItem’, metaId=’{“class”:“0xC357”,“name”:“Google Chrome”,“rect”:{“x”:“0”,“y”:“203”,“w”:“78”,“h”:“85”}}’, text=‘Google Chrome’, instance=null, location=(0, 203), size=(78х85), enabled=true, visible=true, selected=false}, modifiers=256, when=1546767388749}],offsetY=[-2],controlClassName=[ListItem],webElementLocatorType=[XPATH],selector=[[CLASS:ListItem; NAME:Google Chrome; TEXT:Google Chrome]],awaitTimeout=[5000],imageName=[C:\Users\Srikanth Gunuputi\workfusion-workspace\rpae_project\Untitled-2\1546767388674-anchor.apng],xsi:type=[recorder:MouseClickAction, recorder:MouseClickAction],active=[true],controlText=[Google Chrome],delay=[0],x=[26],y=[224],actionDetails=[(double-click left button)],clickType=[DOUBLE_CLICK]]]
at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:54)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:28)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:15)
at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:64)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:152)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:112)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.WebDriverException: Session [b0ed20d0-7977-40d8-892f-22216fb1364d] was terminated due to FORWARDING_TO_NODE_FAILED
Command duration or timeout: 0 milliseconds
Build info: version: ‘9.2.0.4’, revision: ‘1a10eeeced’, time: ‘2018-11-29T10:44:59.891Z’
System info: host: ‘DESKTOP-1RJ6199’, ip: ‘192.168.0.100’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_121’
Driver info: com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper
Capabilities [{imageSimilarityThreshold=0.8, extra.executor.id={Name=RPA Recorder}, CLOSE_ALL_WINDOWS=false, browserName=universal, javascriptEnabled=true, extra.capabilities.context={“browserType”:“universal”,“startInPrivate”:false,“blockImages”:false,“maximizeOnStartup”:false,“customCapabilities”:{“platform”:“WINDOWS”,“javascriptEnabled”:true,“SEARCH_ALL_WINDOWS”:true,“CLOSE_ALL_WINDOWS”:false,“imageSimilarityThreshold”:“0.8”},“executorId”:{“Name”:“RPA Recorder”}}, platformName=WINDOWS, SEARCH_ALL_WINDOWS=true, platform=WINDOWS}]
Session ID: b0ed20d0-7977-40d8-892f-22216fb1364d
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:41)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:82)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:45)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:741)
at org.openqa.selenium.remote.RemoteWebDriver.switchDriver(RemoteWebDriver.java:395)
at com.workfusion.rpa.helpers.RPA.inDesktop(RPA.java:669)
at com.workfusion.rpa.helpers.RPA$inDesktop$0.callStatic(Unknown Source)
at Script3.run(Script3.groovy:8)
at com.workfusion.studio.rpa.recorder.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:48)
at com.workfusion.studio.rpa.recorder.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:33)
at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:28)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:15)
at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:64)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:152)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:112)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.grid.common.exception.GridException: Session [b0ed20d0-7977-40d8-892f-22216fb1364d] was terminated due to FORWARDING_TO_NODE_FAILED
at org.openqa.grid.internal.ActiveTestSessions.getExistingSession(ActiveTestSessions.java:105)
at org.openqa.grid.internal.Registry.getExistingSession(Registry.java:398)
at org.openqa.grid.web.servlet.handler.RequestHandler.getSession(RequestHandler.java:230)
at org.openqa.grid.web.servlet.handler.RequestHandler.process(RequestHandler.java:115)
at org.openqa.grid.web.servlet.DriverServlet.process(DriverServlet.java:84)
at org.openqa.grid.web.servlet.DriverServlet.doPost(DriverServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.seleniumhq.jetty9.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.seleniumhq.jetty9.servlet.ServletHandler.doHandle(ServletHandler.java:535)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.seleniumhq.jetty9.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.seleniumhq.jetty9.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.seleniumhq.jetty9.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.seleniumhq.jetty9.server.Server.handle(Server.java:564)
at org.seleniumhq.jetty9.server.HttpChannel.handle(HttpChannel.java:317)
at org.seleniumhq.jetty9.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.seleniumhq.jetty9.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.seleniumhq.jetty9.io.FillInterest.fillable(FillInterest.java:110)
at org.seleniumhq.jetty9.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.seleniumhq.jetty9.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.seleniumhq.jetty9.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
at java.lang.Thread.run(Thread.java:745)

Please help me in this.

Thanks,
Srikanth.

Hi Srikanth, is the Bot Manager started in the tray menu?

Yes, its running.
After the failure, to re-run the recording, I have to restart the Bot manager.

Thanks,
Srikanth.

Thank you @haisrig

Do you run the recording from Control Tower of WorkFusion Studio?
Please also share rpa logs from C:\RPAExpress\RPA\logs

rpa-node0-2019-01-06.0.log (39.6 KB)
rpa-hub-2019-01-06.0.log (22.7 KB)

I have attached the logs.
I’m recording the script by clicking the “Start New Recording button” in the workfusion studio. And i could see that in the tray, “Components, Control Tower and WorkSpace” are not enabled.

Thanks,
Srikanth.

Hi @haisrig,

Could you please clarify if your Bot Manager is started?
If it’s not started please click the starting button and wait till it starts:

After it is started it should look like this, and it should be running during your work in WorkFusion Studio in order to play recordings:

If the issue still occurs, could you please share your recording, so we can check it from our side? Also please clarify your RPA Express version.

Thank you!

@haisrig do you still have this issue?

I am having same error. Bot is running. WorkFusion RPA Express Version 2.2
Please find attached log file.
Thank you
RPA_error.txt (8.5 KB)

Hi @vjafarov,

Could you give some more details about your issue?
Do you have an issue with mouse click action? Can you provide a screenshot of your script or send your project as an attachment?

Please find attached screenshot, log and recording

rpa-hub-2019-03-16.0.log (40.5 KB)
Untitled-5.zip (368.0 KB)

Hi,

Could you help in this issue please?

Hi @vjafarov

Could you please clarify what are you trying to click in the Window introduction to RPA Express?
Also, did you record this script using Recorder or Actions library? As while using recorder some actions can be captured not properly. You need to workflow actions in a natural way, so that the bot can capture them. And I recommend you to use Actions library to make it more stable.

Hi @vjafarov

Could you please clarify if the issue is still actual?

Hi,

I had problem with RPA recorder-possibly it is a bug.
I tackled problem by using workflow actions in natural way, so you can consider it as solved.
Thank you