<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Right click failure while playback locally in Synthetic click path in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228359#M2138</link>
    <description>&lt;P&gt;Hi RN,&lt;BR /&gt;&lt;BR /&gt;error&lt;BR /&gt;&lt;SPAN&gt;Playback error: Exception was thrown by the JavaScript code: Cannot read properties of null (reading 'addEventListener').&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Best regards&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 06:17:52 GMT</pubDate>
    <dc:creator>chaitanya</dc:creator>
    <dc:date>2023-11-10T06:17:52Z</dc:date>
    <item>
      <title>Right click failure while playback locally in Synthetic click path</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228351#M2134</link>
      <description>&lt;P&gt;Hi Folks,&lt;BR /&gt;&lt;BR /&gt;Here I'm trying to record a click path workflow, able to record but not successfully playback the recorded events, facing an issue at right click event. I guess JavaScript event help us to resolve this, but I'm not supposed to be done this before.&lt;BR /&gt;Can anyone help me with example please?&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 05:13:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228351#M2134</guid>
      <dc:creator>chaitanya</dc:creator>
      <dc:date>2023-11-10T05:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Right click failure while playback locally in Synthetic click path</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228355#M2135</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64258"&gt;@chaitanya&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;If you have already created the clickpath. Then select the particular browser monitoring --&amp;gt; from top edit --&amp;gt; click on recorded clickpath --&amp;gt; give appropriate name --&amp;gt; from dropdown event type select javascript --&amp;gt; select the number after the event page where right-click event need to be added --&amp;gt; then use below script for right click (from internet)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;const div = document.getElementById("myDiv");&lt;BR /&gt;div.addEventListener("contextmenu", (e) =&amp;gt; {e.preventDefault()});&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RazTN7X_0-1699594226370.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15439i1636A787D1B96B75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RazTN7X_0-1699594226370.png" alt="RazTN7X_0-1699594226370.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;RN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 05:35:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228355#M2135</guid>
      <dc:creator>RazTN7</dc:creator>
      <dc:date>2023-11-10T05:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Right click failure while playback locally in Synthetic click path</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228356#M2136</link>
      <description>&lt;P&gt;Hi RN,&lt;BR /&gt;Thanks for your response!&lt;BR /&gt;Could you please take a look on below screenshot, is there anything we need to tweak?&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 06:01:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228356#M2136</guid>
      <dc:creator>chaitanya</dc:creator>
      <dc:date>2023-11-10T06:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Right click failure while playback locally in Synthetic click path</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228359#M2138</link>
      <description>&lt;P&gt;Hi RN,&lt;BR /&gt;&lt;BR /&gt;error&lt;BR /&gt;&lt;SPAN&gt;Playback error: Exception was thrown by the JavaScript code: Cannot read properties of null (reading 'addEventListener').&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Best regards&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 06:17:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228359#M2138</guid>
      <dc:creator>chaitanya</dc:creator>
      <dc:date>2023-11-10T06:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Right click failure while playback locally in Synthetic click path</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228361#M2140</link>
      <description>&lt;P&gt;I'm not JS expert. You may give a try&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/433919/javascript-simulate-right-click-through-code" target="_blank"&gt;https://stackoverflow.com/questions/433919/javascript-simulate-right-click-through-code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://intellipaat.com/community/11740/javascript-simulate-right-click-through-code" target="_blank"&gt;https://intellipaat.com/community/11740/javascript-simulate-right-click-through-code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;function rightClick(element) {&lt;BR /&gt;var evt = element.ownerDocument.createEvent('MouseEvents');&lt;BR /&gt;var RIGHT_CLICK_BUTTON_CODE = 2; // the same for FF and IE&lt;BR /&gt;evt.initMouseEvent('click', true, true,&lt;BR /&gt;element.ownerDocument.defaultView, 1, 0, 0, 0, 0, false,&lt;BR /&gt;false, false, false, RIGHT_CLICK_BUTTON_CODE, null);&lt;BR /&gt;return !element.dispatchEvent(evt);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ref -&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/id-brower-clickpath-events#javascript" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/id-brower-clickpath-events#javascript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/id-brower-clickpath-events#javascript-event-api" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/id-brower-clickpath-events#javascript-event-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 07:15:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228361#M2140</guid>
      <dc:creator>RazTN7</dc:creator>
      <dc:date>2023-11-10T07:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Right click failure while playback locally in Synthetic click path</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228505#M2142</link>
      <description>&lt;P&gt;Hi RN,&lt;BR /&gt;&lt;BR /&gt;Thanks for your help and response.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 09:00:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Right-click-failure-while-playback-locally-in-Synthetic-click/m-p/228505#M2142</guid>
      <dc:creator>chaitanya</dc:creator>
      <dc:date>2023-11-13T09:00:58Z</dc:date>
    </item>
  </channel>
</rss>

