Hi,
using Spy Live i have some Dynamic Actions clicking with dx mouse on an application's element. Is it possible to obtain the same function with API ??
I'm attempting to interact with a third party control and I need those functions.
Thanks in advance.
Get Dynamic Actions with API
Re: Get Dynamic Actions with API
If you can get it through Spy you can get it through the API...
What are these Dynamic Actions you are asking about?
Can you post a RanorexSpy snapshot and comments about which properties you are after?
What are these Dynamic Actions you are asking about?
Can you post a RanorexSpy snapshot and comments about which properties you are after?
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
Re: Get Dynamic Actions with API
Hi Ciege,
Thanks for the reply.
Here is the snapshot of spy: and here is the snapshot of third party's application: Here a part of code:
I can hook the control but i can't invoke, for example, SelectRow. When I use spy i can invoke SelectRow and the other functions too.
Thank you in advance for any suggestion.
Thanks for the reply.
Here is the snapshot of spy: and here is the snapshot of third party's application: Here a part of code:
Code: Select all
Control gridcontrol = @"/form[@title~'^GIACOMO\ RUVE\ -\ compassonl']/container[@caption='' and @controltypename='Panel']/container[@caption='' and @controltypename='SplitContainer']/container[@controlname='panel2']/container/container/container/container/container[@controlname='LayoutObjectEditor']/container/element/container[@controlname='Richieste']/container/container/container/container[@caption='' and @controltypename='UserControl']/container/container/container[@controlname='reportControl']";
Thank you in advance for any suggestion.
You do not have the required permissions to view the files attached to this post.
Re: Get Dynamic Actions with API
Hi,
here is the spy snapshot. Thanks
here is the spy snapshot. Thanks
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Get Dynamic Actions with API
Hello,
Thank you for your snapshot.
In general, InvokeAction should work in WinForms.
Could you please provide more information about your issue?
Is it possible to invoke other methods?
Do you get any error or warning message?
Regards,
Markus (T)
Thank you for your snapshot.
In general, InvokeAction should work in WinForms.
Could you please provide more information about your issue?
Is it possible to invoke other methods?
Do you get any error or warning message?
Regards,
Markus (T)
Re: Get Dynamic Actions with API
Thank you for reply Markus. It worked with InvokeAction.