20-08-25 09:00 AM
I am building a process that downloads an excel file full of data however, the download button on the Rigour page is recognised as an “svg” element type. Due to
this, Blue Prism can’t press the button required to download the file. I am
unsure how to make Blue Prism Application Modeler recognise this as a button to proceed
with downloading the report
3 weeks ago
Hi, here is the attributes I am getting after spying in browser mode:
and here is the attributes I get after spying with UI Automation:
neither have been fixed - this is just the default attributes I get from both options, directly after spying
3 weeks ago
3 weeks ago - last edited 3 weeks ago
hi @rebeccabowe
Do something like this :
Tick only Web Path/Xpath and the match index.
Put this expression for Web Path/Xpath : //svg[contains(@class,"MuiSvgIcon-root")]/parent::button[@type="button" and @aria-label="Export"]
for Match Index put 1
Use then navigate stage and provide this :
try it and let me know
3 weeks ago
Hi,
I made sure I put it in exactly correct but unfortunately got an error:
3 weeks ago
Go to the html code and click Ctrl+f then paste the expression that i have send and see if you can find something please
3 weeks ago
Hi,
I got it working - I copied the XPath from the inspect and pasted it in and now I have it fully working in Control Room - I was able to complete it 5 times successfully! Thank you for all your help!
3 weeks ago - last edited 3 weeks ago
Dear @rebeccabowe ,
I'm happy to hear you that it worked for you but when I look into your Xapth path I'm a bit worried if the div number get changed in future.
Normally the syntax for the Xpath looks like this //button[@id="root"]
When you work with the Xpath and CSS Selectors I would recommend to not use Match Index .
Please reach out to us if you need any help on this
Could you please try this Xpaths //svg[@data-testid="CloudDownloadIcon"] or //button[@aria-label="Export"]
2 weeks ago
Hi, @rebeccabowe ,
Use AA mode to handle this scenario. If it is a Web based application change to Windows first in App modeler & try to spy the element with AA & change back to web based. It will works fine & handle the different modes by exception handling. Please let me know if you face any issues & i can help you on this.
2 weeks ago
Hi,
I tried the //button[@aria-label="Export"] XPath and it worked! Thank you for all your help!
Rebecca
2 weeks ago