<?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 Use a calculation to set a in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50542#M5759</link>
    <description>Use a calculation to set a data item called Path, eg ""TABLE(1)/TBODY)/TR("" &amp;amp; [Row Number] &amp;amp; "")/TD(1)/TABLE(1)/TBODY)/TR(1)/TD(1)/""Then as Ravi says, inject the path value from the diagram into the dynamic attribute. See page 14 in &lt;A href="https://portal.blueprism.com/system/files/Browser%20Automation%20Guide.pdf" target="test_blank"&gt;https://portal.blueprism.com/system/files/Browser%20Automation%20Guide.pdf&lt;/A&gt;</description>
    <pubDate>Fri, 21 Oct 2016 14:34:00 GMT</pubDate>
    <dc:creator>John__Carter</dc:creator>
    <dc:date>2016-10-21T14:34:00Z</dc:date>
    <item>
      <title>Variable path during spying</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50540#M5757</link>
      <description>Hi,


I have to spy an element of webpage, but the path is variable. 

Say path is TABLE(1)/TBODY)/TR(   x       )/TD(1)/TABLE(1)/TBODY)/TR(1)/TD(1)/

The value of x varies from 0-9.  How can i implement it?</description>
      <pubDate>Fri, 21 Oct 2016 12:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50540#M5757</guid>
      <dc:creator>SunilHarikaran_</dc:creator>
      <dc:date>2016-10-21T12:44:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50541#M5758</link>
      <description>Hi,
Try keeping the value of variable attribute  as ""Dynamic"" and pass the required value.
Regards,
Ravinder Saini</description>
      <pubDate>Fri, 21 Oct 2016 13:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50541#M5758</guid>
      <dc:creator>Ravindersaini</dc:creator>
      <dc:date>2016-10-21T13:09:00Z</dc:date>
    </item>
    <item>
      <title>Use a calculation to set a</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50542#M5759</link>
      <description>Use a calculation to set a data item called Path, eg ""TABLE(1)/TBODY)/TR("" &amp;amp; [Row Number] &amp;amp; "")/TD(1)/TABLE(1)/TBODY)/TR(1)/TD(1)/""Then as Ravi says, inject the path value from the diagram into the dynamic attribute. See page 14 in &lt;A href="https://portal.blueprism.com/system/files/Browser%20Automation%20Guide.pdf" target="test_blank"&gt;https://portal.blueprism.com/system/files/Browser%20Automation%20Guide.pdf&lt;/A&gt;</description>
      <pubDate>Fri, 21 Oct 2016 14:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50542#M5759</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2016-10-21T14:34:00Z</dc:date>
    </item>
    <item>
      <title>Thanks a lot. I missed on</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50543#M5760</link>
      <description>Thanks a lot. I missed on this logic.</description>
      <pubDate>Fri, 21 Oct 2016 14:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50543#M5760</guid>
      <dc:creator>SunilHarikaran_</dc:creator>
      <dc:date>2016-10-21T14:45:00Z</dc:date>
    </item>
    <item>
      <title>I wanted to offer an</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50544#M5761</link>
      <description>I wanted to offer an alternative solution that we use here in house:
We replace the variable with a throw away character for instance:
[txt_Path] = TABLE(1)/TBODY)/TR(@)/TD(1)/TABLE(1)/TBODY)/TR(1)/TD(1)
And just call a Replace on that character.  This lets you contain the dynamic path in one variable no matter how many dynamic parts there are to it, instead of having to split it up a bunch.
For your Dynamic Path element: Equal =
Replace([txt_Path],""@"",[num_Index])</description>
      <pubDate>Fri, 04 Nov 2016 20:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50544#M5761</guid>
      <dc:creator>BuzzaT</dc:creator>
      <dc:date>2016-11-04T20:20:00Z</dc:date>
    </item>
    <item>
      <title>Thankx for your input John.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50545#M5762</link>
      <description>Thankx for your input John. Unfortunately, it doesn't work on my side. I got this message ""Internal : Error - Highlighting results - Failed to parse the path"" when I write this in the Application Modeller /Attributes: /HTML/BODY(1)/IFRAME(2)/HTML/BODY(1)/FORM(1)/DIV(8)/DIV(1)/DIV(1)/TABLE(1)/TBODY(1)/TR("" &amp;amp; [Counter] &amp;amp; "")/TD(2)/A(1).
 Did you write the path the same way?</description>
      <pubDate>Tue, 21 Mar 2017 19:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Variable-path-during-spying/m-p/50545#M5762</guid>
      <dc:creator>AntonioGiordano</dc:creator>
      <dc:date>2017-03-21T19:21:00Z</dc:date>
    </item>
  </channel>
</rss>

