ElementOperationException on Click activity

Scenario: Click Close system button of package core system

Steps to reproduce: Login package systemu,then click close system button

Current Behavior: ElementOperationException occurs but could close system.

Expected Behavior: don’t trigger exception

Studio/Robot/Orchestrator Version: 2018.2.4

Last stable behavior:
Last stable version:
OS Version: Windows 7 SP1
Others if Relevant: (workflow, logs, .net version, service pack, etc):

Hi @HiromiO,

Could you please provide selector value of the “Click” activity?

hello @HiromiO,
hope you used attach window activity. create a variable on “Output” property of “attach window activity”.

use “Close window” activity to close the application instead of click on close button.

Thanks

Hi @Toby ,
Here is selector.
To display, I omitted end >.

<wnd app=‘bccz0000.exe’ ctrlname=‘frmBCCZ0001’ /
<wnd ctrlname=‘btnMenu20’ aaname=‘20.システム終了’ /

Hello @ddrdushy1

It’s not close button of window but End system menu button.

Anyway, thank you for advice.

Hi @HiromiO

May be [wnd app=‘bccz0000.exe’ ctrlname=‘frmBCCZ0001’] caused the exception.

Please validate “Close System Button” by “Validate” function of “Selector Editor”.

If the validation is failed, try to re-indicate the “close system button”.
And then identify the difference between new selector value and previous selector value.