"Get Window Title" in Action Library Does Not Seem To Work

issues
rpaexpress
get-window-title

#1

I get an error from the “Get Window Title” action library function, though I am sure I have set up a string variable correctly to take in the title. What can I do?


#2

Show me the error and your script, please


#3

Error is “Failed to execute Action GetCurentWindowTitleAction”.

Script is Failed to execute Action GetCurrentWindowTitleAction
java.lang.RuntimeException: Failed to execute Action GetCurrentWindowTitleAction
at com.workfusion.studio.rpa.recorder.processor.ActionFlowPlayer.execute(ActionFlowPlayer.java:311)
at com.workfusion.studio.rpa.recorder.processor.ActionFlowPlayer.processAction(ActionFlowPlayer.java:256)
at com.workfusion.studio.rpa.recorder.processor.ActionFlowPlayer.lambda$1(ActionFlowPlayer.java:120)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at com.workfusion.studio.rpa.recorder.processor.ActionFlowPlayer.lambda$0(ActionFlowPlayer.java:120)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


#4

Get Window title can be used if you opened this application through “Open application”, and then switched to this window (Switch window action)


#5

Got it. It is working now. Thank you :slight_smile: