<?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: Button Click Using JAVA Script in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Button-Click-Using-JAVA-Script/m-p/87838#M38495</link>
    <description>If it is a PopUp window from a browser, it probably can't be interacted with using JavaScript.&lt;BR /&gt;&lt;BR /&gt;If it's something like a "Save As" window, it may be possible to spy is using Win32 mode.&amp;nbsp; The PopUp window may also be in a separate Windows process, meaning that you may need to create a new Business Object and Attach to it separately from the main Business Object.&amp;nbsp; Blue Prism has a Support Centre article that outlines the approach in more detail:&lt;BR /&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1161378212" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1161378212" target="test_blank"&gt;http://portal.blueprism.com/customer-support/support-center#/path/1161378212&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But to answer your question, in order to trigger JavaScript, you need to have spied an element using the Browser spy mode.&amp;nbsp; You can insert JS functions and invoke those JS functions from within a Navigate stage.&amp;nbsp; So you could wrap your "button click" into a JS function, Insert it and then Invoke it.&lt;BR /&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1140187692" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1140187692" target="test_blank"&gt;http://portal.blueprism.com/customer-support/support-center#/path/1140187692&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;James Man&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Asia/Hong_Kong&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 25 Mar 2020 02:05:00 GMT</pubDate>
    <dc:creator>james.man</dc:creator>
    <dc:date>2020-03-25T02:05:00Z</dc:date>
    <item>
      <title>Button Click Using JAVA Script</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Button-Click-Using-JAVA-Script/m-p/87837#M38494</link>
      <description>Hi All,&lt;BR /&gt;Is anyone has used JavaScript for Button click event?&lt;BR /&gt;I have tried with Global send Hotkeys "ENTER" but not working and the PopUp is unable to SPY using BluePrism.&lt;BR /&gt;&lt;BR /&gt;Anyone knows other solution for this ,Please let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mohini Shelke&lt;BR /&gt;RPA Developer&lt;BR /&gt;vElement It&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Mar 2020 05:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Button-Click-Using-JAVA-Script/m-p/87837#M38494</guid>
      <dc:creator>MohiniShelke</dc:creator>
      <dc:date>2020-03-23T05:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Button Click Using JAVA Script</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Button-Click-Using-JAVA-Script/m-p/87838#M38495</link>
      <description>If it is a PopUp window from a browser, it probably can't be interacted with using JavaScript.&lt;BR /&gt;&lt;BR /&gt;If it's something like a "Save As" window, it may be possible to spy is using Win32 mode.&amp;nbsp; The PopUp window may also be in a separate Windows process, meaning that you may need to create a new Business Object and Attach to it separately from the main Business Object.&amp;nbsp; Blue Prism has a Support Centre article that outlines the approach in more detail:&lt;BR /&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1161378212" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1161378212" target="test_blank"&gt;http://portal.blueprism.com/customer-support/support-center#/path/1161378212&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But to answer your question, in order to trigger JavaScript, you need to have spied an element using the Browser spy mode.&amp;nbsp; You can insert JS functions and invoke those JS functions from within a Navigate stage.&amp;nbsp; So you could wrap your "button click" into a JS function, Insert it and then Invoke it.&lt;BR /&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1140187692" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1140187692" target="test_blank"&gt;http://portal.blueprism.com/customer-support/support-center#/path/1140187692&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;James Man&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Asia/Hong_Kong&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Mar 2020 02:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Button-Click-Using-JAVA-Script/m-p/87838#M38495</guid>
      <dc:creator>james.man</dc:creator>
      <dc:date>2020-03-25T02:05:00Z</dc:date>
    </item>
  </channel>
</rss>

