aTag ondblclick

Ask general questions here.
Posts: 3
Joined: Tue Aug 22, 2017 8:55 am

aTag ondblclick

Post by JaSachs » Thu Aug 31, 2017 8:59 am

Hey Ranorex Forum,

I got a question regarding the aTag web element.
The <Ranorex.WebDocument>.Find<ATag>(<Dom>) method gave me valid aTag objects, but the 'ondbclick' attribute can't be extracted from the object is that intentional or is there something I am missing?

With best regards
Janik Sachs

PS: Sorry if my English is not that good.

The 'a' elemnt in HTML(I am not a WebDeveloper, not my Code):

Code: Select all

<a class="rtsLink  TabWithRequiredField rtsSelected" ondblclick="VOpenRelative(self, 'Modules/Administration/Forms/ManageWebForm.aspx?WebForm=Modules%2fCRM%2fForms%2fAddress.aspx&Field=tabStammdaten&TypeID=address&OMField=tabStammdaten&SolutionPrefix=36');" href="#"><span class="rtsOut"><span class="rtsIn"><span class="rtsTxt">Stammdaten</span></span></span></a>

User avatar
Posts: 324
Joined: Fri Jan 09, 2015 3:24 pm

Re: aTag ondblclick

Post by RobinHood42 » Fri Sep 01, 2017 11:08 am

Hello Janik,

In general it should be possible to retrieve the information for "ondblclick" attribute:
Source_ondblclick.png (2.69 KiB) Viewed 656 times
RxSpy_ondblclick.png (10.2 KiB) Viewed 656 times
Please ensure that your browser is instrumented correctly and that your using the latest version of Ranorex.

Robin 8)