Inner workings of the action "Mouse" with method "Click"

Ask general questions here.
MJesper
Posts: 38
Joined: Fri Dec 28, 2018 2:16 pm

Inner workings of the action "Mouse" with method "Click"

Post by MJesper » Wed Feb 06, 2019 4:20 pm

Hi, how does the "mouse" action work? In what class does it call the "Click" method? I need to know this in order to add my own code to the "Click" method. Thanks

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4771
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Inner workings of the action "Mouse" with method "Click"

Post by odklizec » Thu Feb 07, 2019 9:25 am

Hi,

I really doubt you can add your own code to the built-in Click method? But you might be able to use extension methods to extend an existing method?
See this doc:
https://docs.microsoft.com/en-us/dotnet ... on-methods
Regarding Ranorex API, check this page:
https://www.ranorex.com/Documentation/Ranorex/
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration