<?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: Parent document load in Browser automation in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Parent-document-load-in-Browser-automation/m-p/72822#M25427</link>
    <description>Hi Vignesh,&lt;BR /&gt;&lt;BR /&gt;In the spying mode, '&lt;STRONG&gt;Browser&lt;/STRONG&gt;' mode, we do have the '&lt;STRONG&gt;Parent Document Loaded&lt;/STRONG&gt;' action under wait conditions for any element that has been spied using the same. The '&lt;STRONG&gt;Document Loaded&lt;/STRONG&gt;' functionality was removed which used&amp;nbsp; to be present earlier in the '&lt;STRONG&gt;HTML&lt;/STRONG&gt;' mode. You can refer to the below sample workflow for the same:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17964.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18118i8D4D3A6D4E9D464D/image-size/large?v=v2&amp;amp;px=999" role="button" title="17964.png" alt="17964.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If you don't get this option in you Wait stage, then could you let me know which version of Blue Prism are you using and which browser you have been interacting with so that I can dig a bit further on the same.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NOTE: I am using the Blue Prism ver.6.10.4 along with Google Chrome browser in the above shown screenshot&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 14 Mar 2022 04:32:00 GMT</pubDate>
    <dc:creator>devneetmohanty07</dc:creator>
    <dc:date>2022-03-14T04:32:00Z</dc:date>
    <item>
      <title>Parent document load in Browser automation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Parent-document-load-in-Browser-automation/m-p/72821#M25426</link>
      <description>Hello Everyone,&lt;BR /&gt;&lt;BR /&gt;Is there any possible option to validate &lt;STRONG&gt;parent document or document load&lt;/STRONG&gt; within browser automation scope?&lt;BR /&gt;&lt;BR /&gt;Because in my automation, I have only one feasible to check with "element exist" that one also not worthwhile for some of the cases yet we have provided quite time on conditional wait stage. Can anyone help with that?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vignesh.s&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;vignesh Shankar&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Mar 2022 18:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Parent-document-load-in-Browser-automation/m-p/72821#M25426</guid>
      <dc:creator>vigneshShankar</dc:creator>
      <dc:date>2022-03-13T18:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Parent document load in Browser automation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Parent-document-load-in-Browser-automation/m-p/72822#M25427</link>
      <description>Hi Vignesh,&lt;BR /&gt;&lt;BR /&gt;In the spying mode, '&lt;STRONG&gt;Browser&lt;/STRONG&gt;' mode, we do have the '&lt;STRONG&gt;Parent Document Loaded&lt;/STRONG&gt;' action under wait conditions for any element that has been spied using the same. The '&lt;STRONG&gt;Document Loaded&lt;/STRONG&gt;' functionality was removed which used&amp;nbsp; to be present earlier in the '&lt;STRONG&gt;HTML&lt;/STRONG&gt;' mode. You can refer to the below sample workflow for the same:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17964.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18118i8D4D3A6D4E9D464D/image-size/large?v=v2&amp;amp;px=999" role="button" title="17964.png" alt="17964.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If you don't get this option in you Wait stage, then could you let me know which version of Blue Prism are you using and which browser you have been interacting with so that I can dig a bit further on the same.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NOTE: I am using the Blue Prism ver.6.10.4 along with Google Chrome browser in the above shown screenshot&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2022 04:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Parent-document-load-in-Browser-automation/m-p/72822#M25427</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-03-14T04:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Parent document load in Browser automation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Parent-document-load-in-Browser-automation/m-p/72823#M25428</link>
      <description>Hi Devneet,&lt;BR /&gt;&lt;BR /&gt;Thanks for your support on this issue. Unfortunaly, we can't able to see the &lt;STRONG&gt;parent document load&lt;/STRONG&gt; option in wait stage.&lt;BR /&gt;&lt;BR /&gt;We are using blue prism version 6.8.1 and with Google Chrome Browser..&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vignesh.S&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;vignesh Shankar&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2022 12:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Parent-document-load-in-Browser-automation/m-p/72823#M25428</guid>
      <dc:creator>vigneshShankar</dc:creator>
      <dc:date>2022-03-14T12:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Parent document load in Browser automation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Parent-document-load-in-Browser-automation/m-p/72824#M25429</link>
      <description>Hi Vignesh,&lt;BR /&gt;&lt;BR /&gt;Thanks for letting us know your version of Blue Prism. As per the official release notes of&lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/Release%20Notes/Release%20Notes/rn-6-9.htm" target="_blank" rel="noopener"&gt; Blue Prism ver.6.9&lt;/A&gt; which got released on September 2020, it has been stated that a new enhancement of introducing the &lt;SPAN&gt;Parent Document Loaded condition under wait stage was added as you can see from the below screenshot.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17969.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18121i89534B84A210BC74/image-size/large?v=v2&amp;amp;px=999" role="button" title="17969.png" alt="17969.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Perhaps, this is why you are not able to see that option in your version 6.8. I did some research on your issue and there is a workaround that you can perhaps follow which as follows:&lt;BR /&gt;&lt;BR /&gt;Go to you application modeller and create an element indicating the root HTML tag of your webpage as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17970.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18122i1914ECA1249FFCD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="17970.png" alt="17970.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17971.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18123iB427DE41A8C1ADEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="17971.png" alt="17971.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Now, create two data items called '&lt;STRONG&gt;JS Fragment&lt;/STRONG&gt;' and '&lt;STRONG&gt;JS Invoke Fragment&lt;/STRONG&gt;' such that the initial value of '&lt;STRONG&gt;JS Fragment&lt;/STRONG&gt;' is as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;function CreateLoadedElement(){&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;var docLoaded = document.createElement("PageLoaded");&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;document.head.appendChild(docLoaded);&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;}&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Now, set the initial value of '&lt;STRONG&gt;JS Invoke Fragment&lt;/STRONG&gt;' as:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;window.onload = CreateLoadedElement();&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Use a navigate stage where you drag the root HTML element and select the action as: '&lt;STRONG&gt;Invoke Javascript Fragment&lt;/STRONG&gt;' with the &lt;STRONG&gt;'Fragment'&lt;/STRONG&gt; parameter as the &lt;STRONG&gt;'JS Fragment'&lt;/STRONG&gt; data item value&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17972.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18125i33B2DAE1C618C912/image-size/large?v=v2&amp;amp;px=999" role="button" title="17972.png" alt="17972.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Now click on 'Add' button and add one more action for the root HTML element with same action as before: '&lt;STRONG&gt;Insert Javascript Fragment&lt;/STRONG&gt;' and the &lt;STRONG&gt;'Fragment'&lt;/STRONG&gt; parameter should now have the value of the data item '&lt;STRONG&gt;JS Invoke Fragment&lt;/STRONG&gt;' as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17973.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18126i7C6245D8A6784B98/image-size/large?v=v2&amp;amp;px=999" role="button" title="17973.png" alt="17973.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Now use a wait stage with the same HTML root element and use the '&lt;STRONG&gt;Check Exists&lt;/STRONG&gt;' action:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17974.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18127i1E46159802696AB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="17974.png" alt="17974.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The shown workflow below is almost an equivalent of the Parent Document Loaded action which you can use in several ways. You can use this page in other pages where you actually want to invoke these set of actions:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17975.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18128iD1913DAB8027A367/image-size/large?v=v2&amp;amp;px=999" role="button" title="17975.png" alt="17975.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2022 13:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Parent-document-load-in-Browser-automation/m-p/72824#M25429</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-03-14T13:51:00Z</dc:date>
    </item>
  </channel>
</rss>

