Not able to perform click operation on dynamic sub menu items

studio

#1

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


#2

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.


#3

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


#4

does it throw any exception or error ?


#5

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


#6

are you on Cirtix environment ?

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


#7

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


#8

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


#9

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.


#10

Hi Ram,

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

Regards,
Srinibash


#11

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

Thanks,
Rammohan B.