<?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 Capturing web element by using xpath in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Capturing-web-element-by-using-xpath/m-p/60142#M13659</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I created an application modeller for web application and also captured the element, but the attribute id in our web application changes continuously, so how can we manually update xpath in application modeller?&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Urmila Patil&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 11 May 2023 08:56:00 GMT</pubDate>
    <dc:creator>UrmilaPatil</dc:creator>
    <dc:date>2023-05-11T08:56:00Z</dc:date>
    <item>
      <title>Capturing web element by using xpath</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Capturing-web-element-by-using-xpath/m-p/60142#M13659</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I created an application modeller for web application and also captured the element, but the attribute id in our web application changes continuously, so how can we manually update xpath in application modeller?&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Urmila Patil&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 11 May 2023 08:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Capturing-web-element-by-using-xpath/m-p/60142#M13659</guid>
      <dc:creator>UrmilaPatil</dc:creator>
      <dc:date>2023-05-11T08:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: Capturing web element by using xpath</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Capturing-web-element-by-using-xpath/m-p/60143#M13660</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/7209"&gt;@UrmilaPatil&lt;/a&gt; - I am sure stability could be achieved picking other attributes as well or using UIA or AA modes with match Index and couple other parameters but if you are looking to play around with Xpath - Try finding a Label or related element which can be highlighted without the use of WebPath/Xpath and read its Xpath - Try comparing the Xpath of your original element with this Xpath -&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13469.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/13630iE1243F5BE4F8E672/image-size/large?v=v2&amp;amp;px=999" role="button" title="13469.png" alt="13469.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Just in above example : Button/Label Items has enough attributes (For ex Web Value, Web Text, Element Type &amp;amp; Match Index) to match without Xpath attribute - I would read its Xpath using read stage and basis of my observation (which I have compared on NotePad) on how these values changes my original required element - and &lt;STRONG&gt;would amend/add/replace to create a patterned Xpath&lt;/STRONG&gt; for my element.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;but firstly it should be compared enough to know the patterns/behaviour when changing and then keeping the required element &lt;STRONG&gt;Xpath as Dynamic&lt;/STRONG&gt; to pass this newly created Xpath through params.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13470.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/13632i5F7990CBBD4273A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="13470.png" alt="13470.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kindly up vote this as "Best Answer" if it adds value or resolves your query in anyway possible, happy to help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Mukesh Kumar - Senior Automation Developer&lt;BR /&gt;&lt;BR /&gt;NHS, England, United Kingdom, GB&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 09:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Capturing-web-element-by-using-xpath/m-p/60143#M13660</guid>
      <dc:creator>Mukeshh_k</dc:creator>
      <dc:date>2023-05-11T09:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Capturing web element by using xpath</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Capturing-web-element-by-using-xpath/m-p/60144#M13661</link>
      <description>&lt;P&gt;Glad to chat on this if you wish. I'd suggest staying away from XPath and Attr IDs if you can. Pehaps consider Class and CSS Selector.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kevin Wilson&lt;BR /&gt;`Solution Engineer&lt;BR /&gt;Blueprism&lt;BR /&gt;America/Denver&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 11 May 2023 12:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Capturing-web-element-by-using-xpath/m-p/60144#M13661</guid>
      <dc:creator>kevin.wilson</dc:creator>
      <dc:date>2023-05-11T12:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: Capturing web element by using xpath</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Capturing-web-element-by-using-xpath/m-p/60145#M13662</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/7209"&gt;@UrmilaPatil&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you are experiencing changing suffixes on on the "id" attribute of the element and you have BP v6.4 and above, you might want to look into XPath expressions in your "Web Path" or "Web Path/XPath" attributes where something that spies like so:&lt;/P&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1; padding-left: 40px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13478.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/13640i55805270FE8D0CD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="13478.png" alt="13478.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;Would have an XPath expression of:&lt;/DIV&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1; padding-left: 40px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13479.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/13641i17F881B5295D0FA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="13479.png" alt="13479.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;The XPath expressions give you the speed of the absolute XPaths with the flexibility of dealing with dynamic web pages.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Micheal Charron&lt;BR /&gt;Senior Manager&lt;BR /&gt;RBC&lt;BR /&gt;America/Toronto&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 11 May 2023 13:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Capturing-web-element-by-using-xpath/m-p/60145#M13662</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2023-05-11T13:48:00Z</dc:date>
    </item>
  </channel>
</rss>

