Not able to perform click operation on dynamic sub menu items

Is there any way to click on Ok button available on winform window.
This winform window is inside a wpfcontainer and again that is inside wpfform.

Regards,
Srinibash

1 Like

Is that ‘Ok’ button not identified by UiExplorer? Or its just an issue where the identified selector is not clicking on the button.?

As a worksround, You can also try using ‘Send Hotkey’ with Tabs & Enter.

Thanks,
Rammohan B.

1 Like

Thanks Ram for reply. Actually it’s not identifying the form itself.
I have tried hotkeys but no result.

1 Like

does it throw any exception or error ?

1 Like

yes, please find the details

[Content]
Source: Click OCR text

Message: Activity timeout exceeded

Exception Type: ActivityTimeoutException

[Expanded Information]
UiPath.Core.Activities.ActivityTimeoutException: Activity timeout exceeded
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Regards,
Srinibash

1 Like

are you on Cirtix environment ?

If not try to use regular click instead of OCR click and check the error messaage ?

Hi Kiran,

above error I am getting while doing OCR activity on Menu item and that’s why not able to select image I have provided.
I have tried to do normal click on menu and tried hot keys as well but things are not working with these options.

Regards,
Srinibash

1 Like

Hi

Can anyone help me out from this ? Menu items in above screen shot is dynamic. I have tried normal click event but it’s not possible because we can not Indicate sub menu items as it does not appear when we move away mouse. I am able to click sub menu Items by reading image through google OCR text but while executing getting exception , saying

[Content]
Source: Click OCR text
Message: Activity timeout exceeded
Exception Type: ActivityTimeoutException

Do we have any other activity or event that we can use ?

Regards,
Srinibash

1 Like

To Indicate these kind of menu item that disappears as soon as you select ‘Indicate on screen’ option you can follow as this:

After clicking on ‘Indicate on screen’ when the cursor is active and ready to select an element. Press F3. The selection will hold for 3 seconds giving you enough time to click on ‘Templete’ icon so that the Menu popup appears. Keep the popup in Open and Let the wait time complete. As soon as the 3 seconds of wait is completed. You should be able to select the elements from that Menu popup. Repeat the same for the next level of popups.

Let me know if that doesn’t work.

Thanks,
Rammohan B.

1 Like

Hi Ram,

Thanks a lot for the input. It’s F2 that works as per your steps provided.
Thanks again

Regards,
Srinibash

1 Like

Ohh Ya. My bad. Its F2. :slight_smile:

Thanks,
Rammohan B.