<?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: Dynatrace Synthetic Scripting capabilities in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Dynatrace-Synthetic-Scripting-capabilities/m-p/116187#M288</link>
    <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;do you still need help with this? If yes, is the web application you are scripting against public? You should be able to achieve this with a JavaScript event. See &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/browser-clickpath-events/#javascript-" target="_blank"&gt;https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/browser-clickpath-events/#javascript-&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Philipp&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Sep 2020 12:20:32 GMT</pubDate>
    <dc:creator>Philipp_Kastner</dc:creator>
    <dc:date>2020-09-03T12:20:32Z</dc:date>
    <item>
      <title>Dynatrace Synthetic Scripting capabilities</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Dynatrace-Synthetic-Scripting-capabilities/m-p/116185#M286</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;Need to automatically apply current date to a date field each time my web transaction is re-played. Shown below is the code from dynatrace synthetic script.  &lt;/P&gt;&lt;P&gt;I added the following "var date = (today.getMonth()+1)+'-'+today.getDate()+'-'+today.getFullYear() to the TextValue field. &lt;/P&gt;&lt;P&gt;Each time web transaction is replayed,  the date field is not displaying the current date. I only see the text from the code.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I am new to json coding but I am eager to learn!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;}, {&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;        "type": "keystrokes",&lt;/P&gt;&lt;P&gt;        "target": {&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;            "locators": [{&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;                "type": "css",&lt;/P&gt;&lt;P&gt;                "value": "input[name=\"dos\"]"&lt;/P&gt;&lt;P&gt;            }, {&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;                "type": "dom",&lt;/P&gt;&lt;P&gt;                "value": "document.forms[\"Form1\"][9]"&lt;/P&gt;&lt;P&gt;            }, {&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;                "type": "css",&lt;/P&gt;&lt;P&gt;                "value": ".form-control:eq(2)"&lt;/P&gt;&lt;P&gt;            }, {&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;                "type": "css",&lt;/P&gt;&lt;P&gt;                "value": "#Form1 div:nth-child(5) div:nth-child(2) div:nth-child(2) div:nth-child(3) div:nth-child(2) input"&lt;/P&gt;&lt;P&gt;            }, {&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;                "type": "css",&lt;/P&gt;&lt;P&gt;                "value": "#Form1 div.panel div.panel-body div.form-horizontal div.form-group div.col-sm-8 input.form-control:eq(0)"&lt;/P&gt;&lt;P&gt;            }]&lt;/P&gt;&lt;P&gt;        },&lt;/P&gt;&lt;P&gt;        "masked": false,&lt;/P&gt;&lt;P&gt;        "simulateBlurEvent": true,&lt;/P&gt;&lt;P&gt;        "description": "keystrokes on \"dos\"",&lt;/P&gt;&lt;P&gt;        "textValue": "var date = (today.getMonth()+1)+'-'+today.getDate()+'-'+today.getFullYear()"&lt;/P&gt;&lt;P&gt;    }, {&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 21:38:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Dynatrace-Synthetic-Scripting-capabilities/m-p/116185#M286</guid>
      <dc:creator>RTOWNSEND</dc:creator>
      <dc:date>2020-08-25T21:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Synthetic Scripting capabilities</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Dynatrace-Synthetic-Scripting-capabilities/m-p/116186#M287</link>
      <description>&lt;P&gt;{&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;        "type": "javascript",&lt;/P&gt;&lt;P&gt;        "wait": {&lt;!-- --&gt;&lt;/P&gt;&lt;P&gt;            "waitFor": "time",&lt;/P&gt;&lt;P&gt;            "milliseconds": 2000&lt;/P&gt;&lt;P&gt;        },&lt;/P&gt;&lt;P&gt;        "description": "Current_date",&lt;/P&gt;&lt;P&gt;        "javaScript": "var rightnow = new Date();\nvar date = \"\" + (rightnow.getMonth()+1) + \"/\" + rightnow.getDate() + \"/\" + rightnow.getFullYear();\napi.setValue('date', date);"&lt;/P&gt;&lt;P&gt;    },&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 14:26:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Dynatrace-Synthetic-Scripting-capabilities/m-p/116186#M287</guid>
      <dc:creator>RTOWNSEND</dc:creator>
      <dc:date>2020-08-28T14:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Synthetic Scripting capabilities</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Dynatrace-Synthetic-Scripting-capabilities/m-p/116187#M288</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;do you still need help with this? If yes, is the web application you are scripting against public? You should be able to achieve this with a JavaScript event. See &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/browser-clickpath-events/#javascript-" target="_blank"&gt;https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/browser-clickpath-events/#javascript-&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Philipp&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 12:20:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Dynatrace-Synthetic-Scripting-capabilities/m-p/116187#M288</guid>
      <dc:creator>Philipp_Kastner</dc:creator>
      <dc:date>2020-09-03T12:20:32Z</dc:date>
    </item>
  </channel>
</rss>

