<?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: How to get dialog in Edge in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71836#M24441</link>
    <description>You are right &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt; you can not spy as you spy in IE. So you can just spy the window and use close window in Navigate button sometimes it work​s other wise just activate send Enter. I handled it on the same way in Chrome browser.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Amlan Sahoo&lt;BR /&gt;RPA Consultant&lt;BR /&gt;Equinix&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 09 Sep 2021 06:28:00 GMT</pubDate>
    <dc:creator>_Amlansahoo</dc:creator>
    <dc:date>2021-09-09T06:28:00Z</dc:date>
    <item>
      <title>How to get dialog in Edge</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71832#M24437</link>
      <description>Here is sample HTML;&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;&amp;lt;head&amp;gt;
&amp;lt;meta charset="utf-8"/&amp;gt;
&amp;lt;title&amp;gt;sample01&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
&amp;lt;button onclick="getNow()"&amp;gt;show dialog&amp;lt;/button&amp;gt;

&amp;lt;script type="text/javascript"&amp;gt;
function getNow() {
	var now = new Date();
	var year = now.getFullYear();
	var mon = now.getMonth()+1;
	var day = now.getDate();
	var hour = now.getHours();
	var min = now.getMinutes();
	var sec = now.getSeconds();

	var s = year + "/" + mon + "/" + day + " - " + hour + ":" + min + ":" + sec; 
	alert(s);
}
&amp;lt;/script&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If I view this in IE;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="22099.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/22245iA90412B0AEF31736/image-size/large?v=v2&amp;amp;px=999" role="button" title="22099.png" alt="22099.png" /&gt;&lt;/span&gt;This dialog can be detected by the window handle "#32770", so I can&amp;nbsp;retrieve the dialog message and press the OK button.&lt;/P&gt;
&lt;P&gt;If I view this in Edge;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="22100.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/22244iD8ECD05C2C092961/image-size/large?v=v2&amp;amp;px=999" role="button" title="22100.png" alt="22100.png" /&gt;&lt;/span&gt;How can I detect and manipulate this dialog other than surface automation?&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mitsuko &lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 23:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71832#M24437</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2021-09-06T23:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to get dialog in Edge</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71833#M24438</link>
      <description>&lt;SPAN&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;It might be best to create a second object to handle the pop-up. In App Modeller choose the 'windows application' and 'attach' options, Just give window title &amp;amp; child index to attach to the popup OR Put it to foreground Send a specific key combination to click it away.&lt;/SPAN&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;Vipul Tiwari&lt;BR /&gt;Senior Process Simplification and Optimization Designer(Solutions Architect)&lt;BR /&gt;Fidelity International&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Sep 2021 04:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71833#M24438</guid>
      <dc:creator>EVIPUTI</dc:creator>
      <dc:date>2021-09-07T04:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to get dialog in Edge</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71834#M24439</link>
      <description>I believe alerts are passed through to the browser to render and that when Chrome / Edge / Firefox render alerts they do so in a way that is typically only accessible from Win32 or UIA as the alert modals themselves are not html based. If you don't have the launch argument specified to allow UIA rendering on the browser's part you may not be able to spy using UIA mode. (something like &lt;SPAN&gt;--force-renderer-accessibility)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Erin Connerley&lt;BR /&gt;Automation Consultant&lt;BR /&gt;Agilify Automation&lt;BR /&gt;America/Indiana/Indianapolis&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Sep 2021 13:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71834#M24439</guid>
      <dc:creator>ErinConnerley</dc:creator>
      <dc:date>2021-09-07T13:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to get dialog in Edge</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71835#M24440</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="d8f53c60-3adf-4b8d-8d2d-955954a3551d" data-tag-text="@Vipul Tiwari" href="https://community.blueprism.com/people/vipul-tiwari1" data-itemmentionkey="03bc8016-20ba-46d2-8f98-8d1459723f6f"&gt;@Vipul Tiwari&lt;/A&gt;&lt;BR /&gt;I can spy alert using UIA, but cannot spy the message in the alert or press the OK button.&lt;BR /&gt;When manipulating alert in IE, I create a separate object to operate, but in case of Edge, that don't seems to be a solution.​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mitsuko &lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2021 00:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71835#M24440</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2021-09-09T00:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to get dialog in Edge</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71836#M24441</link>
      <description>You are right &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt; you can not spy as you spy in IE. So you can just spy the window and use close window in Navigate button sometimes it work​s other wise just activate send Enter. I handled it on the same way in Chrome browser.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Amlan Sahoo&lt;BR /&gt;RPA Consultant&lt;BR /&gt;Equinix&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2021 06:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71836#M24441</guid>
      <dc:creator>_Amlansahoo</dc:creator>
      <dc:date>2021-09-09T06:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to get dialog in Edge</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71837#M24442</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt; Can you try getting the text in clipboard from alert using send keys ?​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;Vipul Tiwari&lt;BR /&gt;Senior Process Simplification and Optimization Designer(Solutions Architect)&lt;BR /&gt;Fidelity International&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2021 06:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71837#M24442</guid>
      <dc:creator>EVIPUTI</dc:creator>
      <dc:date>2021-09-09T06:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to get dialog in Edge</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71838#M24443</link>
      <description>Have you tried to use the UI Automation Navigator to find it and spy it, sometimes that will see way more of the UIA tree than simply spying can access. &lt;IMG src="https://bpdocs.blueprism.com/bp-6-9/en-us/Graphics/uia-navigator-menuoption-cropped.png" alt="Opening the navigator" class="img-responsive" data-mce-hlimagekey="30d9e7c8-ff8f-1b7a-8cc9-44245f00f1fb" data-mce-hlselector="#ReplyInline_02c69f5485e740b4be8e4dd4dfce0121-tinyMce" /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Erin Connerley&lt;BR /&gt;Automation Consultant&lt;BR /&gt;Agilify Automation&lt;BR /&gt;America/Indiana/Indianapolis&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2021 14:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71838#M24443</guid>
      <dc:creator>ErinConnerley</dc:creator>
      <dc:date>2021-09-09T14:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to get dialog in Edge</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71839#M24444</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/193"&gt;@_Amlansahoo&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I was able to close dialog. Thanks for the good advice.&lt;BR /&gt;How do you handle dialog that have 2 buttons to select?​ (OK/Cancel or Yes/No)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="22092.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/22234iEA9EBE002A59AC67/image-size/large?v=v2&amp;amp;px=999" role="button" title="22092.png" alt="22092.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mitsuko &lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Sep 2021 23:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71839#M24444</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2021-09-12T23:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to get dialog in Edge</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71840#M24445</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt; I am happy it helps you.&lt;BR /&gt;Coming to your 2nd question it will be always tricky as it's difficult to spy okay and cancel button. So I guess by default always if you activate that window then the focus may be in okay Button so may be you can pass enter and for cancel TAB + ENTER. I am just thinking the same there may be better way.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Amlan Sahoo&lt;BR /&gt;RPA Consultant&lt;BR /&gt;Equinix&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2021 06:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-dialog-in-Edge/m-p/71840#M24445</guid>
      <dc:creator>_Amlansahoo</dc:creator>
      <dc:date>2021-09-13T06:04:00Z</dc:date>
    </item>
  </channel>
</rss>

