<?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 What are the situations as per development best practices when to use Parent Document Loaded, Check Exists, Document Loaded ? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98298#M46090</link>
    <description>&lt;P&gt;Hi Designers,&lt;/P&gt;
&lt;P&gt;We are currently migrating to BP v7.1.1 from v6.6 and the inclusion of Parent document loaded in Wait stages when an element is identified using Browser mode pops up the lack of clarity we always had on when to use which&amp;nbsp;&lt;STRONG&gt;wait action&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Could we get a clear explanation on when should we use each of them below -&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Check Exists&lt;/LI&gt;
&lt;LI&gt;Parent Document Loaded (is it a redundancy over Check Exists , if not when to use it)&lt;/LI&gt;
&lt;LI&gt;Check Attribute&lt;/LI&gt;
&lt;LI&gt;Check HTML&lt;/LI&gt;
&lt;LI&gt;Check Value&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35789.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35805iC3815B93428E1E08/image-size/large?v=v2&amp;amp;px=999" role="button" title="35789.png" alt="35789.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2023 10:32:10 GMT</pubDate>
    <dc:creator>swapnadeep_deb</dc:creator>
    <dc:date>2023-08-07T10:32:10Z</dc:date>
    <item>
      <title>What are the situations as per development best practices when to use Parent Document Loaded, Check Exists, Document Loaded ?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98298#M46090</link>
      <description>&lt;P&gt;Hi Designers,&lt;/P&gt;
&lt;P&gt;We are currently migrating to BP v7.1.1 from v6.6 and the inclusion of Parent document loaded in Wait stages when an element is identified using Browser mode pops up the lack of clarity we always had on when to use which&amp;nbsp;&lt;STRONG&gt;wait action&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Could we get a clear explanation on when should we use each of them below -&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Check Exists&lt;/LI&gt;
&lt;LI&gt;Parent Document Loaded (is it a redundancy over Check Exists , if not when to use it)&lt;/LI&gt;
&lt;LI&gt;Check Attribute&lt;/LI&gt;
&lt;LI&gt;Check HTML&lt;/LI&gt;
&lt;LI&gt;Check Value&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35789.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35805iC3815B93428E1E08/image-size/large?v=v2&amp;amp;px=999" role="button" title="35789.png" alt="35789.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 10:32:10 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98298#M46090</guid>
      <dc:creator>swapnadeep_deb</dc:creator>
      <dc:date>2023-08-07T10:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: What are the situations as per development best practices when to use Parent Document Loaded, Check Exists, Document Loaded ?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98299#M46091</link>
      <description>&lt;P&gt;Hi swapnadeep Deb,&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;There is a document&amp;nbsp; to describe when to use parent docuemtn loaded and check exist.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;But to my knowledge you can use parent document loaded when&amp;nbsp; you want to make sure the whole page loaded before you perform any action while navigating to the new screen.&lt;/P&gt;
&lt;P&gt;Chrck exist only verify particular element but parent docuemtn loaded making sure the whole page loaded .&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Let's say&amp;nbsp; you are working on web application&amp;nbsp; in order to select a button&amp;nbsp; need to scroll down the screen and select&amp;nbsp; button or textbox...manually. If you are trying to automate the same web action your wait stage&amp;nbsp; should be parent docuemnt loaded instead of check exist.. because&amp;nbsp; if there is slow response from web application it will take time to load whole page&amp;nbsp; it will potentially&amp;nbsp; time out the wait stage.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 12:35:41 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98299#M46091</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2023-08-07T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: What are the situations as per development best practices when to use Parent Document Loaded, Check Exists, Document Loaded ?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98300#M46092</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="a1364716-b40d-4af9-81ad-3fc4498d485b" data-tag-text="@Harish Mogulluri" href="https://community.blueprism.com/network/profile?UserKey=a1364716-b40d-4af9-81ad-3fc4498d485b" data-itemmentionkey="df145b4a-7399-4033-93d2-138f89e5c0a4"&gt;@Harish Mogulluri&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks for responding.&lt;/P&gt;
&lt;P&gt;I can relate to what you tried to explain and that's the reason I used Parent Doc loaded while automating IE. My question is then why can't we always just use parent document loaded at the start of an action ? Doesn't it nullify the usage of Check Exists ? Is it better in terms of CPU efficiency ?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 17:41:29 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98300#M46092</guid>
      <dc:creator>swapnadeep_deb</dc:creator>
      <dc:date>2023-08-07T17:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: What are the situations as per development best practices when to use Parent Document Loaded, Check Exists, Document Loaded ?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98301#M46093</link>
      <description>&lt;P&gt;HI Swapnadeep Deb,&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Each action has its own unique capabilities. We need to be cautious while using parent document load. Its not necessary to use every where.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If we are using every where&amp;nbsp; there is a trade off . Lets say if you use check exist option&amp;nbsp; for site 'A' and screen '1' the process need to navigate 20 screens.&lt;BR /&gt;&amp;nbsp;all the screen&amp;nbsp; &amp;nbsp; element which&amp;nbsp; we spied( potentially use this element for check exist action) is present on the page top level.&lt;/P&gt;
&lt;P&gt;Lets say For each screen time taken to&amp;nbsp; load&amp;nbsp; the element we used check exist option&amp;nbsp; will take 0.02 seconds&lt;/P&gt;
&lt;P&gt;if we use the same element action as parent document load it might change the time taken to load&amp;nbsp; - potentially more than the check exist element 0.1 or 0.2&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;we may not noticed much while testing on some website but if you&amp;nbsp; verify some web application&amp;nbsp; lot of difference in terms of how much time page wil load.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Although it sounds like small amount of time. but it will&amp;nbsp; impact the overall time&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming&amp;nbsp; check exist will take 0.01 seconds based on the spy mode used ( calculation is for 20 screens)&lt;BR /&gt;0.02 *20&amp;nbsp; = 0.4 seconds&lt;/P&gt;
&lt;P&gt;the sam element with parent document load will take 0.2 seconds )&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0.2 * 20 = 4 seconds&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;If we go bit deeper in terms of calculation&amp;nbsp; assume daily bot process 3000 items&lt;/P&gt;
&lt;P&gt;then the difference&amp;nbsp; &amp;nbsp;per day &lt;BR /&gt;Check exist ( 0.02 *20*3000) = 1,200 seconds (20 mins)&lt;/P&gt;
&lt;P&gt;Parent document load ( 0.2*20*3000) = 1,2000 seconds( 3hrs 30 mins)&lt;BR /&gt;&lt;BR /&gt;To my knowledge this is how I look into it when I use check exist vs parent document load&lt;BR /&gt;&lt;BR /&gt;Not necessarily there is lot of time difference for&amp;nbsp; &amp;nbsp;check exist and parent document load&amp;nbsp; time. It depends on teh application and target element&amp;nbsp; we spied.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 17:48:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98301#M46093</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2023-08-07T17:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: What are the situations as per development best practices when to use Parent Document Loaded, Check Exists, Document Loaded ?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98302#M46094</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="a1364716-b40d-4af9-81ad-3fc4498d485b" data-tag-text="@Harish Mogulluri" href="https://community.blueprism.com/network/profile?UserKey=a1364716-b40d-4af9-81ad-3fc4498d485b" data-itemmentionkey="eab782d8-967c-4fc9-8995-4d2d58cea10a"&gt;@Harish Mogulluri&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Got it now. So it depends on the situation/site I am automating. Like for the case where a scroll down is necessary before interacting with an element etc.&lt;/P&gt;
&lt;P&gt;If only the element visibility is a requirement then check exists should be the go to approach to save time.&lt;/P&gt;
&lt;P&gt;Could you also give an understanding of the other wait actions like check HTML, check Value,check Attribute OR refer the blueprism document you were mentioning that explains the same ?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 09:08:53 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98302#M46094</guid>
      <dc:creator>swapnadeep_deb</dc:creator>
      <dc:date>2023-08-08T09:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: What are the situations as per development best practices when to use Parent Document Loaded, Check Exists, Document Loaded ?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98303#M46095</link>
      <description>&lt;P&gt;Hi Swapnadeep Deb,&lt;/P&gt;
&lt;P&gt;I would recommend to refer the documentation. But my guess is it work similar to check exist but individual action&amp;nbsp; has its unique capability .&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 22:53:08 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/What-are-the-situations-as-per-development-best-practices-when/m-p/98303#M46095</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2023-08-14T22:53:08Z</dc:date>
    </item>
  </channel>
</rss>

