<?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: Error: &amp;quot;file chooser dialog can only be shown with a user&amp;quot; in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Error-quot-file-chooser-dialog-can-only-be-shown-with-a-user/m-p/50492#M261</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;So this isn't really the same issue. In my problem the window doesn't open when I click the choose file button. Instead nothing happens when the bot clicks the button but when you inspect the element and look at the console you see the error: &lt;SPAN&gt;"file chooser dialog can only be shown with a user activation".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Like I said in my previous post, I have found that I can region spy the area around the button and do a click center and it works fine. I have also found that a global click using the bounds of the button will work to. Either way you just have to make sure the window is maximized first before attempting the action.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was just trying see if anyone else had encountered this kind of issue but I think I have found a stable solution for the work I'm doing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Terry James&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 04 May 2022 18:28:00 GMT</pubDate>
    <dc:creator>TerryJames</dc:creator>
    <dc:date>2022-05-04T18:28:00Z</dc:date>
    <item>
      <title>Error: "file chooser dialog can only be shown with a user"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Error-quot-file-chooser-dialog-can-only-be-shown-with-a-user/m-p/50490#M259</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am working on an automation using Chrome that needs to be able to upload a file by clicking a "Choose File" button and selecting the file in the Upload window. I have spied the button using an XPath query and it highlights when I click highlight but when I run my click Button page for it I get an error in Chrome console that says, "file chooser dialog can only be shown with a user activation".&lt;BR /&gt;&lt;BR /&gt;Has anyone else encountered this issue in Chrome? The only way I have been able to get around this is to region spy the button and click that way, but I would like to avoid that if there is a more reliable way.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Terry James&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Apr 2022 15:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Error-quot-file-chooser-dialog-can-only-be-shown-with-a-user/m-p/50490#M259</guid>
      <dc:creator>TerryJames</dc:creator>
      <dc:date>2022-04-15T15:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error: "file chooser dialog can only be shown with a user"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Error-quot-file-chooser-dialog-can-only-be-shown-with-a-user/m-p/50491#M260</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="d2b9aff5-c2fc-424e-8e72-bf7ab5cd36bb" data-tag-text="@Terry James" href="https://community.blueprism.com/network/profile?UserKey=d2b9aff5-c2fc-424e-8e72-bf7ab5cd36bb" data-itemmentionkey="aadd9979-4c86-491e-b26f-91260df683d7"&gt;@Terry James&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;Use the UI Identification tool&amp;nbsp; for spying . You can use another Object to attach to the dialog box, In attach specify the Window Title, Process Name and try with child index 0 or 1 and also revert back to default mode for App Manager in modeler.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;You can refer the below past conversation on the same issue. Link attached below..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&amp;amp;MessageKey=159562b5-4961-4ed4-9048-ab5926ce06f8&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&amp;amp;tab=digestviewer" target="test_blank"&gt;https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&amp;amp;MessageKey=159562b5-4961-4ed4-9048-ab5926ce06f8&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&amp;amp;tab=digestviewer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks , &lt;BR /&gt;Srihari​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Srihari &lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Apr 2022 06:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Error-quot-file-chooser-dialog-can-only-be-shown-with-a-user/m-p/50491#M260</guid>
      <dc:creator>KodiSrihari</dc:creator>
      <dc:date>2022-04-16T06:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error: "file chooser dialog can only be shown with a user"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Error-quot-file-chooser-dialog-can-only-be-shown-with-a-user/m-p/50492#M261</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;So this isn't really the same issue. In my problem the window doesn't open when I click the choose file button. Instead nothing happens when the bot clicks the button but when you inspect the element and look at the console you see the error: &lt;SPAN&gt;"file chooser dialog can only be shown with a user activation".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Like I said in my previous post, I have found that I can region spy the area around the button and do a click center and it works fine. I have also found that a global click using the bounds of the button will work to. Either way you just have to make sure the window is maximized first before attempting the action.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was just trying see if anyone else had encountered this kind of issue but I think I have found a stable solution for the work I'm doing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Terry James&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 04 May 2022 18:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Error-quot-file-chooser-dialog-can-only-be-shown-with-a-user/m-p/50492#M261</guid>
      <dc:creator>TerryJames</dc:creator>
      <dc:date>2022-05-04T18:28:00Z</dc:date>
    </item>
  </channel>
</rss>

