<?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 Pass value from javascript to next synthetic event in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Pass-value-from-javascript-to-next-synthetic-event/m-p/125246#M553</link>
    <description>&lt;P&gt;Iam currently having a step which generates a random text and populates the value in text field.&lt;/P&gt;&lt;P&gt;But the value is not getting populated in the further pages.&lt;/P&gt;&lt;P&gt;Basically I removed a keystroke step which had a hardcoded value and replaced it with JavaScript code.&lt;/P&gt;&lt;P&gt;I want to pass JavaScript output to "textValue" field for keystroke.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Nov 2019 12:47:11 GMT</pubDate>
    <dc:creator>sanjiv1987</dc:creator>
    <dc:date>2019-11-14T12:47:11Z</dc:date>
    <item>
      <title>Pass value from javascript to next synthetic event</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Pass-value-from-javascript-to-next-synthetic-event/m-p/125246#M553</link>
      <description>&lt;P&gt;Iam currently having a step which generates a random text and populates the value in text field.&lt;/P&gt;&lt;P&gt;But the value is not getting populated in the further pages.&lt;/P&gt;&lt;P&gt;Basically I removed a keystroke step which had a hardcoded value and replaced it with JavaScript code.&lt;/P&gt;&lt;P&gt;I want to pass JavaScript output to "textValue" field for keystroke.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Nov 2019 12:47:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Pass-value-from-javascript-to-next-synthetic-event/m-p/125246#M553</guid>
      <dc:creator>sanjiv1987</dc:creator>
      <dc:date>2019-11-14T12:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pass value from javascript to next synthetic event</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Pass-value-from-javascript-to-next-synthetic-event/m-p/125247#M554</link>
      <description>&lt;P&gt;Hi Sanjeev,&lt;/P&gt;&lt;P&gt;you can do this easily by using placeholders.&lt;/P&gt;&lt;P&gt;1. Create a javascript step and use the api to create a new placeholder variable.&lt;/P&gt;&lt;PRE&gt;api.setValue("key", "value");&lt;/PRE&gt;&lt;P&gt;2. Use the defined key as a placeholder for fields where its possible to use them like keystroke events.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/22534-screenshot-2019-11-22-at-095956.png" /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Nov 2019 09:01:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Pass-value-from-javascript-to-next-synthetic-event/m-p/125247#M554</guid>
      <dc:creator>Benjamin_Fellne</dc:creator>
      <dc:date>2019-11-22T09:01:56Z</dc:date>
    </item>
  </channel>
</rss>

