Get events using SubscribeEvent
Posted: Mon Feb 01, 2016 5:43 am
Hi
I develop app using Ranorex API. I try to subscribe on an event using SubscribeEvent.
Example:
howewer I get Exception
Does it not work?
Has Ranorex other options for check Click-events for a button?
I develop app using Ranorex API. I try to subscribe on an event using SubscribeEvent.
Example:
Code: Select all
buttons[0].Element.SubscribeEvent("Click", new Action(() => MessageBox.Show("Hi!")));
Code: Select all
Ranorex.EventSubscriptionFailedException: Subscribing to event 'Click' failed on element '{Button:button17}'. ---> System.NotSupportedException: The operation is not supported.
Has Ranorex other options for check Click-events for a button?