<?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 Spying Dynamic HTML/Javascript table in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47091#M2914</link>
    <description>Good morning all.&lt;BR /&gt;&lt;BR /&gt;Very new to RPA (and Blue Prism) and have been tasked with developing an object to input data into a Dynamic HTML/Javascript table. A screengrab of this table is below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25602.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25732iB684FCF1CCCBC081/image-size/large?v=v2&amp;amp;px=999" role="button" title="25602.png" alt="25602.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Now, this actually highlights the problem quite well - that Description cell (highlighted) is initially an input field when navigating to the page, but as soon as anything is clicked off, the cell ends up like this.&lt;BR /&gt;After pulling my hair out about this, I discovered a mini workaround which can be achieved by sending a Global Mouse Click (Right), which leads to this (should say, this is through highlighting the cell in Cmd Row 1 as UIA):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25603.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25735i0A3C413F576040C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="25603.png" alt="25603.png" /&gt;&lt;/span&gt;Navigating manually to List enables me to select another item 'Form' which enables me to enter each row in a regular form, which is much easier to spy.&lt;BR /&gt;However, when trying to replicate this list in Blue Prism, I'm able to successfully bring this menu up, but navigating through this is again making the menu disappear.&amp;nbsp;&lt;BR /&gt;So far, I've tried using Global Send keys "{Down}" "{Down}" etc., but this appears to 'spook' the menu and it disappears (this does work when doing it manually).&lt;BR /&gt;FYI, if it helps, we're currently running Blue Prism 6.6. If you require any further information, I'll do my best to help, but as mentioned, this is all very new (and confusing!) to me at present.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------</description>
    <pubDate>Thu, 19 Aug 2021 08:32:00 GMT</pubDate>
    <dc:creator>john.hammond</dc:creator>
    <dc:date>2021-08-19T08:32:00Z</dc:date>
    <item>
      <title>Spying Dynamic HTML/Javascript table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47091#M2914</link>
      <description>Good morning all.&lt;BR /&gt;&lt;BR /&gt;Very new to RPA (and Blue Prism) and have been tasked with developing an object to input data into a Dynamic HTML/Javascript table. A screengrab of this table is below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25602.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25732iB684FCF1CCCBC081/image-size/large?v=v2&amp;amp;px=999" role="button" title="25602.png" alt="25602.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Now, this actually highlights the problem quite well - that Description cell (highlighted) is initially an input field when navigating to the page, but as soon as anything is clicked off, the cell ends up like this.&lt;BR /&gt;After pulling my hair out about this, I discovered a mini workaround which can be achieved by sending a Global Mouse Click (Right), which leads to this (should say, this is through highlighting the cell in Cmd Row 1 as UIA):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25603.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25735i0A3C413F576040C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="25603.png" alt="25603.png" /&gt;&lt;/span&gt;Navigating manually to List enables me to select another item 'Form' which enables me to enter each row in a regular form, which is much easier to spy.&lt;BR /&gt;However, when trying to replicate this list in Blue Prism, I'm able to successfully bring this menu up, but navigating through this is again making the menu disappear.&amp;nbsp;&lt;BR /&gt;So far, I've tried using Global Send keys "{Down}" "{Down}" etc., but this appears to 'spook' the menu and it disappears (this does work when doing it manually).&lt;BR /&gt;FYI, if it helps, we're currently running Blue Prism 6.6. If you require any further information, I'll do my best to help, but as mentioned, this is all very new (and confusing!) to me at present.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------</description>
      <pubDate>Thu, 19 Aug 2021 08:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47091#M2914</guid>
      <dc:creator>john.hammond</dc:creator>
      <dc:date>2021-08-19T08:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Spying Dynamic HTML/Javascript table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47092#M2915</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Could you please try passing that selected value to that field directly using write stage or Global send keys .&lt;BR /&gt;For Example if you want to select Go then directly try to pass to that field sometimes it works. Other than that it's very difficult to tell you without seeing the UI.&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, 19 Aug 2021 10:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47092#M2915</guid>
      <dc:creator>_Amlansahoo</dc:creator>
      <dc:date>2021-08-19T10:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Spying Dynamic HTML/Javascript table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47093#M2916</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;do you know if the classes/Ids of the table elements are static? You could Spy the HTML elements like this and just increase the match index as needed (pass it as a dynamic attribute and use a count to increase it as the rows increment).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try interacting with the table with the Browser Developer tools enabled and see how the HTML behaves.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ramón Requena López&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Aug 2021 12:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47093#M2916</guid>
      <dc:creator>RamónRequena_L1</dc:creator>
      <dc:date>2021-08-19T12:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Spying Dynamic HTML/Javascript table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47094#M2917</link>
      <description>Thank you for your response.&lt;BR /&gt;&lt;BR /&gt;I've also got very little experience with web design/html unfortunately, so to answer your question, I'm not sure!&amp;nbsp;&lt;BR /&gt;This is currently what I'm able to spy in Browser Mode (note, in the table shown previously, this is pointing at the cell below 'Description' in row 1, which is the first item that needs to be written to)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25588.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25721i9580F224F63B10FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="25588.png" alt="25588.png" /&gt;&lt;/span&gt;Here is the same element spied in UIA:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25589.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25720iF5D1F7EA402EE9EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="25589.png" alt="25589.png" /&gt;&lt;/span&gt;&lt;BR /&gt;In Developer Tools, I've managed to find that this seems to refer to the table in question:&lt;BR /&gt;When not selected:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25590.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25722iB603E42CD7B3D777/image-size/large?v=v2&amp;amp;px=999" role="button" title="25590.png" alt="25590.png" /&gt;&lt;/span&gt;&lt;BR /&gt;When selected:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25591.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25724i0C6A9270116B9116/image-size/large?v=v2&amp;amp;px=999" role="button" title="25591.png" alt="25591.png" /&gt;&lt;/span&gt;The last line there seems to be the only difference (user-select seems to disappear when note selected), but I'm not entirely sure how that will help me!&lt;BR /&gt;&lt;BR /&gt;Thank you again, any advice would be greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Aug 2021 15:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47094#M2917</guid>
      <dc:creator>john.hammond</dc:creator>
      <dc:date>2021-08-19T15:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: Spying Dynamic HTML/Javascript table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47095#M2918</link>
      <description>the two HTML elements you want to look at are class (in this case "dojoxGrid e5h5Grid") and id ("0_0"). If you only need to write into certain columns, I would try to make a dynamic element in the BP application modeller based on unique attributes of a column and then use the Match Index as the row index.&lt;BR /&gt;&lt;BR /&gt;The class name from above does not look totally dynamic (au-contraire to what happens in Salesforce, for instance), so perhaps they will be unique for every column. Using the dev tools of the browser and the inspect option (where you can hover and click with the mouse on the elements and it will point you to the corresponding code snippets) you could assess if this is a possibility or not.&lt;BR /&gt;&lt;BR /&gt;I would highly advise against UIA when it comes to editing fields as bulk, because it is incredibly slow and tedious.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ramón Requena López&lt;BR /&gt;RPA Developer&lt;BR /&gt;Magenta Telekom&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Aug 2021 05:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Spying-Dynamic-HTML-Javascript-table/m-p/47095#M2918</guid>
      <dc:creator>RamónRequena_L1</dc:creator>
      <dc:date>2021-08-20T05:14:00Z</dc:date>
    </item>
  </channel>
</rss>

